:root {
  color-scheme: dark;
  --canvas: #0e0e0f;
  --surface: #171719;
  --surface-strong: #1d1d20;
  --surface-soft: rgba(255, 255, 255, 0.055);
  --text: #f5f5f7;
  --muted: #aaa8b5;
  --dim: #777580;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #58f2b2;
  --cyan: #4fcaff;
  --violet: #8c7dff;
  --warning: #ffad43;
  --danger: #ff5872;
  --max: 1040px;
  --radius: 24px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(88, 242, 178, 0.08), transparent 31rem),
    var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--text);
  color: var(--canvas);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(14, 14, 15, 0.82);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--text);
}

main {
  min-height: 64vh;
}

.hero,
.section,
.legal-wrap,
.support-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.76fr);
  align-items: center;
  gap: clamp(36px, 6vw, 64px);
  min-height: 570px;
  padding: 44px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy-wrap h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4.1vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-heading-line {
    background: linear-gradient(105deg, #ffffff 0%, #b9ffe2 30%, var(--accent) 56%, var(--cyan) 78%, var(--violet) 100%);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(79, 202, 255, 0.1));
  }

  .hero-heading-line:last-child {
    background: linear-gradient(105deg, #ffb07b 0%, #ff765d 38%, #ff465f 72%, #d92f62 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(255, 70, 95, 0.13));
  }
}

.hero-heading-line {
  display: block;
  white-space: nowrap;
}

.legal-hero h1,
.support-hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: 1;
}

.legal-hero--plain h1 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.15rem;
  line-height: 1.32;
  letter-spacing: -0.018em;
}

.hero-copy,
.section-intro,
.legal-hero p,
.support-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.app-store-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 26px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: #050505;
  color: #fff;
  line-height: 1;
  cursor: default;
  user-select: none;
}

.app-store-placeholder-icon {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.app-store-placeholder span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.app-store-placeholder small {
  font-size: 0.62rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.app-store-placeholder strong {
  font-size: 1.22rem;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--text);
  color: var(--canvas);
  font-weight: 820;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  color: #07130e;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(88, 242, 178, 0.48);
  color: var(--accent);
}

.phone-showcase {
  position: relative;
  isolation: isolate;
  width: min(100%, 420px);
  height: 510px;
  margin-inline: auto;
}

.phone-showcase::before {
  position: absolute;
  inset: 12% 5% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 242, 178, 0.14), transparent 68%);
  filter: blur(24px);
  content: "";
}

.phone-preview {
  position: absolute;
  width: min(54%, 212px);
  aspect-ratio: 390 / 844;
  margin: 0;
  overflow: hidden;
  border: 3px solid #29292c;
  border-radius: 38px;
  background: #080809;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.phone-preview--home {
  top: 36px;
  left: 0;
  z-index: 1;
  opacity: 0.9;
  transform: rotate(-4deg);
}

.phone-preview--penalty {
  top: 0;
  right: 0;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-failure-ui {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 19px 12px 12px;
  background:
    linear-gradient(145deg, rgba(103, 20, 126, 0.52), transparent 55%),
    #0d0711;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.phone-failure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 6px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.phone-failure-header > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 18px;
  padding-inline: 6px;
  border: 1px solid rgba(255, 79, 40, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 5px;
}

.phone-failure-header i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff4f28;
  box-shadow: 0 0 7px rgba(255, 79, 40, 0.7);
}

.phone-failure-title {
  display: grid;
  justify-items: center;
  margin-top: 28px;
  color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 25px;
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.015em;
  text-shadow: 1px 2px 0 rgba(10, 2, 14, 0.88);
}

.phone-failure-title b {
  margin-top: 5px;
  color: #eb5138;
}

.phone-danger-cards {
  position: relative;
  width: 132px;
  height: 99px;
  margin: 15px auto 0;
}

.phone-danger-cards > i,
.phone-danger-cards > span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 67px;
  height: 83px;
  border: 1px solid rgba(255, 91, 50, 0.55);
  border-radius: 14px;
  background: linear-gradient(145deg, #531866, #1b0922);
  box-shadow: 0 11px 22px rgba(0, 0, 0, 0.4);
}

.phone-danger-cards > i:first-child {
  opacity: 0.45;
  transform: translateX(-82%) rotate(-14deg);
}

.phone-danger-cards > i:nth-child(2) {
  opacity: 0.56;
  transform: translateX(-18%) rotate(14deg);
}

.phone-danger-cards > span {
  display: grid;
  place-items: center;
  border-width: 2px;
  transform: translateX(-50%);
}

.phone-danger-cards img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(255, 79, 40, 0.3);
}

.phone-random-window {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 11px;
  padding-top: 7px;
}

.phone-penalty-date {
  color: rgba(255, 255, 255, 0.58);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.phone-rings-at {
  color: #ff6b3b;
  font-size: 5px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.phone-random-window > b {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.phone-understand-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: linear-gradient(100deg, #ff7435, #f8324c);
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.1em;
  box-shadow: 0 9px 20px rgba(255, 54, 52, 0.2);
}

.phone-preview-ui {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 19px 12px 11px;
  background:
    radial-gradient(circle at 50% 36%, rgba(88, 242, 178, 0.055), transparent 36%),
    #101011;
  color: #f8f8fa;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 35%;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.phone-status,
.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  padding-inline: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 7px;
  line-height: 1;
}

.phone-status span {
  font-size: 6px;
  letter-spacing: 0.06em;
}

.phone-app-bar {
  margin-top: 17px;
  padding-inline: 3px;
}

.phone-pro,
.phone-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding-inline: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.phone-pro {
  color: #ffb253;
}

.phone-streak {
  color: #fff;
}

.phone-streak::first-letter {
  color: #fff;
}

.phone-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-top: 19px;
}

.phone-week span {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.phone-week b {
  color: #8c8997;
  font-size: 7px;
  line-height: 1;
}

.phone-week i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--accent);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.phone-week .is-complete b {
  color: var(--accent);
}

.phone-week .is-complete i {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(88, 242, 178, 0.1);
}

.phone-alarm-ring {
  position: relative;
  width: 77%;
  aspect-ratio: 1;
  margin: 20px auto 0;
  padding: 11px;
  border-radius: 50%;
  background: conic-gradient(from -28deg, var(--accent), var(--cyan) 62%, rgba(255, 255, 255, 0.08) 62% 100%);
  box-shadow: 0 0 25px rgba(88, 242, 178, 0.12);
}

.phone-ring-core {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #101011;
  text-align: center;
}

.phone-ring-core small {
  margin-bottom: 4px;
  color: #9b98a9;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.phone-ring-core strong {
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.phone-ring-core span {
  justify-self: center;
  margin-top: 9px;
  padding: 5px 7px;
  border: 1px solid rgba(88, 242, 178, 0.15);
  border-radius: 999px;
  background: rgba(88, 242, 178, 0.09);
  color: var(--accent);
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.phone-ring-marker {
  position: absolute;
  z-index: 2;
  top: -3px;
  right: 15%;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 4px solid #101011;
  border-radius: 50%;
  background: var(--accent);
  color: #08120e;
  font-size: 9px;
  box-shadow: 0 0 14px rgba(88, 242, 178, 0.3);
}

.phone-color-dot {
  display: block;
  width: 17px;
  height: 17px;
  margin: 14px auto 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-penalty {
  color: #aaa8b5;
}

.phone-penalty--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  margin-top: 9px;
  font-size: 7.5px;
}

.phone-penalty--empty span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: #a8a5b8;
  color: #101011;
  font-size: 9px;
  font-weight: 950;
}

.phone-penalty--set {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 88, 114, 0.2);
  border-radius: 15px;
  background: #1a1a1c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.phone-penalty--set img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.phone-penalty--set > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.phone-penalty--set strong {
  color: #f7f7f8;
  font-size: 7.5px;
  line-height: 1.1;
}

.phone-penalty--set small {
  color: #8f8c99;
  font-size: 5.5px;
  line-height: 1.1;
}

.phone-penalty--set b {
  color: #ff6f83;
  font-size: 7px;
  line-height: 1.1;
  white-space: nowrap;
}

.phone-penalty--set em {
  color: #777580;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
}

.phone-tabs {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: #171719;
}

.phone-tabs > span {
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 14px;
  color: #f5f5f7;
  font-size: 11px;
  line-height: 1;
}

.phone-tabs .is-active {
  background: rgba(255, 255, 255, 0.18);
}

.phone-tabs small {
  margin-top: 3px;
  font-size: 5.5px;
  font-weight: 650;
}

.section {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading > * {
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-card {
  min-height: 200px;
  padding: 24px;
}

.support-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.how-section {
  padding-top: 90px;
}

.how-heading {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.how-heading .eyebrow {
  margin-bottom: 14px;
}

.how-heading h2 {
  margin-bottom: 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
  align-items: start;
}

.how-step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border: 1px solid rgba(88, 242, 178, 0.32);
  border-radius: 50%;
  background: rgba(88, 242, 178, 0.08);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(88, 242, 178, 0.08);
}

.how-step h3 {
  margin: 0 0 10px;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
}

.how-step p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.walkthrough-device {
  position: relative;
  width: min(100%, 252px);
  aspect-ratio: 390 / 844;
  margin-bottom: 26px;
  overflow: hidden;
  border: 3px solid #29292c;
  border-radius: 41px;
  background: #080809;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.48);
}

.walkthrough-device::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.walkthrough-device--home .phone-preview-ui {
  padding: 22px 14px 12px;
}

.walkthrough-device--home .phone-status {
  font-size: 8px;
}

.walkthrough-device--home .phone-app-bar {
  margin-top: 22px;
}

.walkthrough-device--home .phone-week {
  margin-top: 26px;
}

.walkthrough-device--home .phone-alarm-ring {
  margin-top: 27px;
}

.walkthrough-device--home .phone-ring-core strong {
  font-size: 25px;
}

.walkthrough-device--home .phone-penalty--empty {
  margin-top: 15px;
  font-size: 8.5px;
}

.walkthrough-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 23px 17px 22px;
  background:
    radial-gradient(circle at 50% 34%, rgba(88, 242, 178, 0.06), transparent 38%),
    #101011;
  color: #f8f8fa;
}

.walkthrough-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 35%;
  height: 17px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

.walkthrough-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 8px;
  line-height: 1;
}

.walkthrough-status span {
  font-size: 7px;
  letter-spacing: 0.06em;
}

.mission-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 29px;
  color: #fff;
  font-size: 11px;
}

.mission-topline > strong {
  font-size: 14px;
}

.mission-topline span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #c0bdc9;
  font-size: 8px;
  font-weight: 800;
}

.mission-heading {
  display: grid;
  justify-items: center;
  margin-top: 52px;
  text-align: center;
}

.mission-heading small {
  color: #8f8c99;
  font-size: 9px;
}

.mission-heading > strong {
  margin-top: 4px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.mission-progress {
  width: 100%;
  height: 5px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mission-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  box-shadow: 0 0 12px rgba(88, 242, 178, 0.3);
}

.memory-card-demo {
  margin-top: 30px;
  padding: 24px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 29px;
  background: #1a1a1c;
  text-align: center;
}

.memory-card-demo > small {
  color: #9c99a6;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.memory-card-demo p {
  margin: 6px 0 20px;
  color: #f4f3f7;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.4;
}

.memory-grid-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.memory-grid-demo i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: #28282b;
  color: var(--accent);
  font-size: 16px;
  font-style: normal;
  font-weight: 950;
}

.memory-grid-demo .is-selected {
  border-color: var(--accent);
  background: rgba(88, 242, 178, 0.1);
}

.memory-grid-demo .is-glowing {
  border-color: var(--accent);
  background: var(--accent);
  color: #08130e;
  box-shadow: 0 0 19px rgba(88, 242, 178, 0.48);
}

.memory-card-demo > span {
  display: block;
  margin-top: 18px;
  color: #96939f;
  font-size: 8px;
  font-weight: 700;
}

.result-screen {
  background:
    radial-gradient(circle at 50% 27%, rgba(255, 219, 87, 0.26), rgba(235, 156, 20, 0.11) 25%, transparent 55%),
    linear-gradient(180deg, rgba(219, 143, 10, 0.1), transparent 57%),
    #090909;
}

.result-brand {
  display: block;
  margin-top: 29px;
  font-size: 14px;
}

.result-trophy-wrap {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 55px auto 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 62, 0.15), transparent 67%);
}

.result-trophy {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: #ffd65b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
  filter: drop-shadow(0 0 11px rgba(255, 196, 42, 0.42));
}

.result-trophy .result-trophy-star {
  fill: #ffcf42;
  stroke-width: 2;
}

.result-title,
.result-subtitle {
  display: block;
  text-align: center;
}

.result-title {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.result-subtitle {
  margin-top: 2px;
  color: #aaa6b1;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.result-time-card {
  display: grid;
  justify-items: center;
  width: 126px;
  margin: 24px auto 0;
  padding: 15px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: #1a1a1c;
}

.result-time-card small {
  color: #9e9aa6;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.result-time-card strong {
  margin-top: 1px;
  font-size: 25px;
  line-height: 1.1;
}

.result-ticket-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 207, 66, 0.24);
  border-radius: 19px;
  background: rgba(255, 197, 35, 0.08);
}

.result-ticket-card svg {
  width: 36px;
  fill: rgba(255, 207, 66, 0.11);
  stroke: #ffd65b;
  stroke-dasharray: none;
  stroke-width: 2;
}

.result-ticket-card span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.result-ticket-card small {
  color: #c5b783;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.result-ticket-card strong {
  color: #ffe17b;
  font-size: 18px;
}

.result-home-button {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 22px;
  border-radius: 16px;
  background: #f4f4f5;
  color: #111;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.failure-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 54px);
  margin-top: 20px;
  padding: clamp(34px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(255, 88, 114, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 35%, rgba(255, 88, 114, 0.15), transparent 31rem),
    linear-gradient(135deg, rgba(255, 88, 114, 0.07), transparent 44%),
    #151416;
  box-shadow: var(--shadow);
}

.failure-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #ff6078;
  font-size: clamp(2.45rem, 5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-shadow: 0 0 34px rgba(255, 88, 114, 0.14);
}

.failure-copy p {
  max-width: 620px;
  margin-bottom: 12px;
  color: #ddd9df;
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
}

.failure-copy .failure-detail {
  margin-bottom: 0;
  color: #9995a1;
  font-size: 0.95rem;
}

.failure-card {
  padding: clamp(22px, 3vw, 27px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: #1b1b1d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.failure-card-head {
  display: grid;
  grid-template-columns: 46px 1fr 32px;
  align-items: center;
  gap: 14px;
}

.failure-card-head img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.failure-card-head > span {
  display: grid;
}

.failure-card-head small {
  color: #9b97a2;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.failure-card-head strong {
  font-size: 1.2rem;
  line-height: 1.15;
}

.failure-card-head > i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 88, 114, 0.13);
  color: #ff6078;
  font-style: normal;
  font-weight: 950;
}

.failure-window {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.failure-window > span {
  color: #f7f6f8;
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
}

.failure-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
}

.failure-track::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7d90, #ffb05f);
  content: "";
}

.failure-track i {
  position: relative;
  width: 8px;
  height: 8px;
  border: 2px solid #1b1b1d;
  border-radius: 50%;
  background: #ff768a;
  box-shadow: 0 0 0 1px rgba(255, 118, 138, 0.4);
}

.failure-card > p {
  margin: 17px 0 0;
  color: #9c98a3;
  font-size: 0.86rem;
  font-weight: 680;
  text-align: center;
}

.legal-hero,
.support-hero {
  padding: 60px 0 44px;
}

.legal-wrap,
.support-wrap {
  max-width: 920px;
  padding-bottom: 82px;
}

.draft-banner,
.notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 173, 67, 0.32);
  border-radius: 18px;
  background: rgba(255, 173, 67, 0.08);
  color: #ffd29b;
  overflow-wrap: anywhere;
}

.notice.info {
  border-color: rgba(79, 202, 255, 0.28);
  background: rgba(79, 202, 255, 0.07);
  color: #bcecff;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 0 0 42px;
  color: var(--dim);
  font-size: 0.9rem;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.legal-section {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  overflow-wrap: anywhere;
}

.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin-top: 26px;
}

.legal-section p:last-child,
.legal-section ul:last-child,
.legal-section ol:last-child {
  margin-bottom: 0;
}

.legal-section p,
.legal-section li,
.data-table td,
.data-table th {
  color: #c2c0c9;
}

.legal-section strong,
.data-table th {
  color: var(--text);
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.35rem;
}

.legal-section li + li {
  margin-top: 9px;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 42px;
}

.support-card {
  min-height: 0;
}

.support-card a {
  color: var(--accent);
  font-weight: 760;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 48px);
}

.faq {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  color: var(--text);
  font-weight: 760;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--muted);
  font-size: 1.3rem;
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  padding: 0 42px 22px 0;
  color: var(--muted);
}

.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 22px;
  padding: 38px 6px 18px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-copy {
  max-width: 430px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
}

.footer-meta {
  margin-top: 28px;
  color: var(--dim);
  font-size: 0.78rem;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 40px 20px;
  text-align: center;
}

.error-page h1 {
  margin-bottom: 14px;
}

.error-page p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 46px;
  }

  .hero-copy-wrap {
    text-align: center;
  }

  .hero-copy-wrap h1 {
    font-size: clamp(2.15rem, 7.6vw, 3.25rem);
  }

  .hero-copy,
  .hero-actions {
    justify-content: center;
    margin-inline: auto;
  }

  .app-store-placeholder {
    margin-inline: auto;
  }

  .phone-showcase {
    width: min(100%, 430px);
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-grid {
    gap: 64px;
  }

  .how-step p {
    max-width: 420px;
  }

  .failure-section {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .legal-wrap,
  .support-wrap,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .site-header {
    padding-top: 12px;
  }

  .nav-links a {
    padding-inline: 10px;
  }

  .hero {
    padding: 34px 0 58px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .section {
    padding: 56px 0;
  }

  .how-section {
    padding-top: 70px;
  }

  .how-heading {
    margin-bottom: 36px;
  }

  .walkthrough-device {
    width: min(72vw, 238px);
    border-width: 3px;
    border-radius: 38px;
  }

  .failure-section {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .failure-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .section-heading,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero,
  .support-hero {
    padding-top: 44px;
  }

  .phone-showcase {
    width: 100%;
    height: min(122vw, 450px);
  }

  .phone-preview {
    width: min(53vw, 190px);
    border-width: 3px;
    border-radius: 33px;
  }

  .phone-preview--home {
    top: 28px;
    transform: rotate(-3deg);
  }

  .phone-preview--penalty {
    transform: rotate(2deg);
  }
}

@media (max-width: 360px) {
  .phone-week,
  .phone-alarm-ring {
    margin-top: 14px;
  }

  .phone-color-dot {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .draft-banner {
    display: none;
  }

  .legal-section {
    break-inside: avoid;
    border-color: #ddd;
    background: #fff;
  }

  .legal-section p,
  .legal-section li,
  .data-table td,
  .data-table th {
    color: #222;
  }
}
