@font-face {
  font-family: Inter;
  src: url("assets/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #faf8f4;
  --white: #fffdf9;
  --ink: #242338;
  --muted: #5c5866;
  --accent: #5d557d;
  --accent-deep: #4e446d;
  --lavender: #eee9f5;
  --line: #e4ded7;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #dbd0ed; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }
:where(h1, h2, h3, p, figure) { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
section[id], article[id] { scroll-margin-top: 28px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: 12px;
  padding: 8px 16px;
  background: var(--white);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .26em;
  width: max-content;
  color: var(--ink);
  font-size: 33px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand svg { width: .96em; height: .96em; color: #726a9b; flex: none; }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 38px); }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--accent-deep); text-decoration: underline; }
.header-cta { justify-self: end; }
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}
.button { padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; transition: background .18s ease, border-color .18s ease; }
.button .icon, .text-link .icon { width: 19px; height: 19px; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-deep); }
.button-outline { color: var(--accent-deep); border-color: #aaa0b6; }
.button-outline:hover { background: #eee9f1; border-color: var(--accent); }
.text-link { color: var(--accent-deep); }
.text-link:hover { text-decoration: underline; }
.header-cta { min-height: 43px; padding-inline: 16px; font-size: 13px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 548px;
  isolation: isolate;
}
.hero-copy { z-index: 1; padding-block: 64px; }
.hero h1 {
  font-size: clamp(36px, 4.53vw, 70px);
  line-height: 1.06;
  font-weight: 730;
  letter-spacing: -.04em;
}
.hero h1 span { color: var(--accent); }
.hero-copy > p { margin-block: 24px 30px; max-width: 45ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-actions .button { min-height: 52px; padding-inline: 23px; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; container-type: inline-size; }
.hero-art {
  position: absolute;
  z-index: -1;
  width: 127%;
  max-width: none;
  height: 98%;
  inset: 0 max(-8%, -37px) 0 auto;
  object-fit: contain;
  object-position: center 78%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 94%, transparent);
}
.hero-visual figcaption {
  position: absolute;
  right: 1%;
  bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}
.devices { position: absolute; inset: 0; }
.phone {
  position: absolute;
  width: 36%;
  aspect-ratio: 1 / 1.98;
  padding: .8cqw;
  background: #26232a;
  border: 1px solid #716a69;
  border-radius: 5.4cqw;
  box-shadow: 0 20px 35px #34292f28, inset 0 0 0 2px #777074, inset 0 0 0 3px #393439;
  font-size: 1.73cqw;
  line-height: 1.36;
}
.phone-list { left: 11%; top: 9%; transform: rotate(-12deg); }
.phone-conversation { left: 45%; top: 14%; transform: rotate(12deg); }
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0 1.2em;
  border-radius: 4.65cqw;
  background: #fcfaf8;
  color: #201c32;
}
.status {
  min-height: 3.2em;
  display: grid;
  grid-template-columns: 1fr 2.3fr 1fr;
  align-items: center;
  gap: .7em;
  padding-inline: .4em;
  font-size: .83em;
  font-weight: 700;
}
.status i { justify-self: center; width: 83%; height: 1.22em; border-radius: 999px; background: #222128; }
.status .battery { width: 1.4em; height: .7em; justify-self: end; border: 1px solid #47434b; border-radius: 2px; background: linear-gradient(90deg, #47434b 80%, transparent 80%); }
.app-head, .phone-contact { display: flex; align-items: center; justify-content: space-between; margin-block: .45em 1.15em; }
.mini-brand { font-size: 1.95em; }
.mini-plus { display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: 50%; background: #eae5f3; color: #554c79; }
.phone .icon { width: 1.45em; height: 1.45em; }
.phone-heading { font-weight: 760; font-size: 1.6em; margin-bottom: .5em; }
.phone-segments { display: grid; grid-template-columns: 1fr 1fr; text-align: center; background: #f0ecf4; border-radius: 2em; margin-bottom: .5em; font-size: .86em; }
.phone-segments > * { padding: .48em .2em; }
.phone-segments b { background: #6a6089; color: white; border-radius: inherit; }
.phone-person { display: flex; align-items: center; gap: .55em; border-bottom: 1px solid #e8e3e7; padding-block: .88em; }
.phone-person img, .phone-contact img { width: 3.5em; height: 3.5em; border-radius: 50%; background: #f0e8f3; }
.phone-person > span { flex: 1; }
.phone-person small, .phone-contact small, .phone-file small { display: block; color: #625c6d; font-size: .76em; }
.phone-person .icon { width: 1em; }
.phone-tabs { display: flex; justify-content: space-between; border-top: 1px solid #e8e3e7; margin-top: auto; padding: .88em 0 1.25em; font-size: .76em; }
.phone-tabs span { display: grid; justify-items: center; gap: .45em; }
.phone-tabs span:first-child { color: var(--accent-deep); font-weight: 700; }
.phone-contact { justify-content: flex-start; gap: .65em; padding-block: .45em .85em; border-bottom: 1px solid #e8e3e7; }
.phone-contact small i { display: inline-block; width: .56em; height: .56em; border-radius: 50%; background: #487a5a; }
.phone-thread { display: grid; gap: .75em; }
.phone-thread p { padding: .8em; border-radius: .85em; }
.phone-outgoing { margin-left: 1.1em; background: #eee5f7; }
.phone-incoming { margin-right: 1em; background: #f1eee9; }
.phone-file { display: flex; align-items: center; gap: .7em; padding: .8em .7em; border: 1px solid #e8e2ea; border-radius: .75em; }
.phone-file .icon { color: var(--accent); }
.phone-approval { display: flex; align-items: center; gap: .4em; font-size: .82em; color: #4d6654; }
.phone-input { display: flex; justify-content: space-between; align-items: center; margin-block: auto 1.4em; padding: .65em .78em; border: 1px solid #e7e1e8; border-radius: 2em; font-size: .85em; color: #625c6d; }
.phone-input .icon { color: var(--accent); }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 28px 31px;
  border-top: 1px solid var(--line);
  gap: 27px;
}
.benefits > div { display: flex; align-items: flex-start; gap: 13px; }
.benefits > div + div { border-left: 1px solid var(--line); padding-left: 26px; }
.benefits .icon { color: var(--accent); width: 25px; height: 25px; margin-top: 2px; }
.benefits h2 { font-size: 16px; font-weight: 680; line-height: 1.4; margin-bottom: 6px; }
.benefits p { font-size: 14px; color: var(--muted); max-width: 34ch; }

.showcase { background: #f0ecf4; border-block: 1px solid #e7e0ed; margin-top: 40px; padding-block: clamp(62px, 8vw, 112px); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(34px, 7.5vw, 110px); }
.showcase h2, .section-heading h2, .faq h2 {
  font-size: clamp(32px, 3.65vw, 51px);
  font-weight: 710;
  line-height: 1.12;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.showcase-copy > p, .section-heading p, .faq > div > p { color: var(--muted); margin-top: 14px; }
.scenario-list { margin-top: 24px; display: grid; gap: 5px; max-width: 450px; }
.scenario-list button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  transition: background .18s ease;
}
.scenario-list button:hover { background: #f6f2f8; }
.scenario-list button[aria-selected="true"] { background: #fbf8fc; border-color: #ddd4e9; }
.scenario-list img, .scenario-head img { width: 44px; height: 44px; border-radius: 50%; background: #ebe4f2; }
.bot { position: relative; display: inline-block; flex: none; overflow: hidden; border-radius: 50%; width: 44px; height: 44px; background: #ebe4f2; }
.bot[data-bot="nova"] { background: #dcf1e4; } .bot[data-bot="emma"] { background: #fbe1e6; } .bot[data-bot="atlas"] { background: #dce9f8; }
.bot img, .scenario-list .bot img, .scenario-head .bot img, .phone-person .bot img, .phone-contact .bot img { display: block; width: 100%; height: 100%; border-radius: 0; background: none; object-fit: contain; }
.bot .bot-face { position: absolute; inset: 0; width: 100%; height: 100%; }
.scenario-list button .bot, .scenario-head .bot { flex: none; width: 44px; height: 44px; }
.phone-person > .bot, .phone-contact > .bot { flex: none; width: 3.5em; height: 3.5em; }
.scenario-list button span { flex: 1; }
.scenario-list small, .scenario-head div span, .scenario-result small { display: block; color: var(--muted); font-size: 13px; }
.scenario-list .icon { width: 18px; height: 18px; color: var(--accent); }
.scenario-stage { min-width: 0; position: relative; }
.scenario-stage .scenario { position: relative; z-index: 1; }
.scenario { border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 45px #3b294d16; min-height: 350px; overflow: hidden; }
.scenario-head { display: flex; align-items: center; gap: 11px; padding: 15px clamp(14px, 2.4vw, 26px); border-bottom: 1px solid var(--line); }
.scenario-head div { flex: 1; }
.plan-tag { border-radius: 999px; background: var(--lavender); color: var(--accent-deep); padding: 4px 10px; white-space: nowrap; font-size: 12px; font-weight: 650; }
.messages { display: flex; flex-direction: column; gap: 15px; padding: 23px clamp(14px, 2.4vw, 26px) 26px; }
.message { font-size: 15px; padding: 12px 15px; border-radius: 15px; max-width: 84%; }
.outgoing { align-self: flex-end; background: #eee7f7; border-bottom-right-radius: 4px; }
.incoming { align-self: flex-start; background: #f1ede8; border-bottom-left-radius: 4px; }
.scenario-result { display: flex; align-items: center; gap: 11px; padding: 9px 12px; width: fit-content; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.scenario-result .icon { color: var(--accent); }
.scenario.is-switching .messages { animation: message-in .27s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes message-in { from { opacity: .54; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.pricing { padding-block: clamp(72px, 9vw, 128px) 0; }
.section-heading { text-align: center; margin: 0 auto 37px; }
.billing-toggle { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.billing-toggle button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .18s ease, color .18s ease; }
.billing-toggle button:hover { color: var(--accent-deep); }
.billing-toggle button[aria-pressed="true"] { background: var(--accent-deep); color: #fff; }
.billing-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.billing-toggle button span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--lavender); color: var(--accent-deep); font-size: 11px; font-weight: 650; }
.billing-toggle button[aria-pressed="true"] span { background: #ffffff26; color: #fff; }
.billing-hint { margin: -12px auto 20px; max-width: 520px; text-align: center; color: var(--muted); font-size: 13px; }
.billing-toggle button { white-space: nowrap; }
@media (max-width: 400px) {
  .billing-toggle button { padding: 9px 12px; font-size: 13px; }
  .billing-toggle button span { margin-left: 4px; padding: 2px 6px; font-size: 10px; }
}
.plan-price-note { min-height: 1.5em; margin-top: 2px; color: var(--muted); font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.plan { display: flex; flex-direction: column; padding: clamp(20px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.plan-featured { border-color: #998baa; background: #f2edf6; }
.plan h3 { font-size: 25px; letter-spacing: -.028em; line-height: 1.2; }
.plan-for { color: var(--muted); margin-top: 5px; min-height: 3.2em; font-size: 14px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; margin-top: 10px; }
.plan-price strong { font-size: clamp(32px, 4vw, 50px); font-weight: 710; line-height: 1.17; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-price span, .plan-limit span { color: var(--muted); font-size: 13px; }
.plan-limit { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 9px; border-bottom: 1px solid #e0d9e3; padding-block: 16px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: 14px; }
.plan li { padding-left: 26px; background: url("assets/check.svg") no-repeat 1px .26em / 15px 15px; }
.plan-link { justify-content: space-between; margin-top: auto; padding-inline: 16px; }
.plan h3 .plan-tag { margin-left: 8px; vertical-align: middle; font-size: 11px; letter-spacing: 0; }
.plan-soon { cursor: default; opacity: .65; justify-content: center; }
.plan-soon:hover { background: transparent; border-color: #aaa0b6; }
.download { padding-block: clamp(72px, 9vw, 128px) 0; }
.device-showcase { margin: 0 auto; max-width: 1120px; }
.device-showcase img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent);
  mask-composite: intersect; }
.device-cta { display: flex; justify-content: center; margin: 4px 0 40px; }
.device-cta .button { min-height: 52px; padding-inline: 28px; }
.device-cta { margin-bottom: 26px; }
.platforms { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 14px; }
.platforms li { display: flex; align-items: center; gap: 10px; padding-inline: clamp(14px, 2.6vw, 30px); color: var(--muted); font-size: clamp(15px, 1.6vw, 19px); font-weight: 560; }
.platforms li + li { border-left: 1px solid var(--line); }
.platforms img { width: 24px; height: 24px; opacity: .85; }
.downloads { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 720px; }
.downloads li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); }
.downloads img { width: 28px; height: 28px; }
.downloads div { flex: 1; display: grid; }
.downloads b { font-size: 16px; }
.download-hint { max-width: 720px; margin: -10px auto 26px; color: var(--muted); font-size: 13px; text-align: center; }
.downloads span { color: var(--muted); font-size: 13px; }
.platforms-note { width: fit-content; max-width: 100%; margin: 22px auto 0; padding: 9px 18px; border-radius: 999px; background: var(--lavender); color: var(--accent-deep); font-size: 13.5px; text-align: center; }
@media (max-width: 520px) { .platforms { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; } .platforms li { padding-inline: 22px; } .platforms li:nth-child(odd) { border-left: 0; } }
.pricing-note { max-width: 68ch; margin: 21px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 7vw, 90px); padding-block: clamp(68px, 9vw, 124px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding-block: 12px;
  line-height: 1.4;
  font-weight: 620;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--accent); }
.faq details[open] .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 26px 18px 0; }
.site-footer { background: #f1ede7; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 22px; padding-block: 25px; }
.footer-inner .brand { font-size: 26px; }
.footer-inner > span { flex: 1; color: var(--muted); font-size: 14px; }

@media (min-width: 1500px) {
  .hero { min-height: 575px; }
}

@media (max-width: 1140px) {
  .wrap { width: calc(100% - 80px); }
  .hero { min-height: 480px; }
  .phone-list { top: 13%; }
  .phone-conversation { top: 19%; }
  .hero-visual figcaption { bottom: 35px; }
  .benefits { gap: 16px; }
  .benefits > div + div { padding-left: 16px; }
}

@media (max-width: 880px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { gap: 16px; min-height: 74px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 13px; }
  .header-cta { font-size: 12px; padding-inline: 11px; }
  .header-cta .icon { display: none; }
  .hero { min-height: 410px; grid-template-columns: 1.12fr 1fr; }
  .hero-copy { padding-block: 50px; }
  .hero h1 { font-size: clamp(32px, 4.7vw, 43px); }
  .hero-art { width: 127%; }
  .phone { width: 41%; font-size: 1.94cqw; }
  .phone-list { left: 9%; top: 19%; }
  .phone-conversation { left: 49%; top: 25%; }
  .benefits > div { gap: 8px; }
  .benefits h2 { font-size: 14px; }
  .benefits p { font-size: 13px; }
  .benefits .icon { width: 20px; height: 20px; }
  .plan-link { font-size: 13px; padding-inline: 11px; }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { grid-template-columns: auto 1fr; gap: 0 20px; min-height: 66px; }
  .site-header nav { justify-content: flex-end; gap: clamp(12px, 3.3vw, 25px); }
  .site-header .brand { font-size: 29px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 41px 0 6px; }
  .hero h1 { font-size: clamp(34px, 7.8vw, 52px); }
  .hero-copy > p { margin-block: 18px 20px; }
  .hero-visual { width: min(100%, 438px); height: auto; aspect-ratio: 1.1; margin: 7px auto 10px; }
  .hero-art { width: 118%; inset: 0 -4% 0 auto; object-position: center; }
  .phone { width: 34.5%; font-size: 1.68cqw; }
  .phone-list { left: 15%; top: 10%; }
  .phone-conversation { left: 47%; top: 16%; }
  .hero-visual figcaption { bottom: 3px; right: 0; }
  .benefits { display: block; padding-block: 3px; }
  .benefits > div, .benefits > div + div { padding: 14px 0; border: 0; gap: 12px; }
  .benefits > div + div { border-top: 1px solid var(--line); }
  .benefits h2 { font-size: 16px; margin-bottom: 2px; }
  .benefits p { font-size: 14px; max-width: none; }
  .showcase { margin-top: 28px; }
  .showcase-grid, .plans, .faq { grid-template-columns: 1fr; }
  .showcase-grid { gap: 20px; }
  .scenario-list { max-width: none; }
  .scenario { min-height: 315px; }
  .message { max-width: 92%; }
  .section-heading { margin-bottom: 24px; text-align: left; }
  .plan { padding: 24px; }
  .plan-for { min-height: 0; }
  .plan-link { font-size: 14px; padding-inline: 15px; }
  .pricing-note { text-align: left; }
  .faq { gap: 19px; }
  .footer-inner { flex-wrap: wrap; gap: 8px 16px; }
  .footer-inner > span { flex-basis: 64%; }
}

@media (max-width: 370px) {
  .site-header { padding-top: 12px; }
  .site-header nav { grid-column: 1 / -1; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Portal: login and dashboard */
.header-actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.portal-header { grid-template-columns: auto 1fr auto; }
.portal-header .who { justify-self: end; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.auth-card { width: min(440px, calc(100% - 32px)); margin: clamp(32px, 8vw, 96px) auto; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.auth-card h1 { font-size: 28px; letter-spacing: -.03em; line-height: 1.2; }
.auth-sub { color: var(--muted); margin: 8px 0 22px; font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.field input { font: inherit; font-weight: 400; min-height: 46px; padding: 8px 12px; border: 1px solid #aaa0b6; border-radius: 10px; background: white; color: var(--ink); }
.field small { color: var(--muted); font-weight: 400; }
.form-error { color: #9b2c2c; font-size: 14px; margin-bottom: 14px; }
.auth-card .button { width: 100%; }
.auth-switch { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.link-button { background: none; border: 0; padding: 0; color: var(--accent-deep); font-weight: 650; text-decoration: underline; cursor: pointer; }
.dash { padding-block: clamp(28px, 5vw, 56px); display: grid; gap: 24px; }
.dash h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.03em; line-height: 1.2; }
.panel { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 14px; }
.panel h2 { font-size: 20px; letter-spacing: -.02em; }
.muted { color: var(--muted); font-size: 14px; }
.notice { padding: 12px 16px; border-radius: 12px; background: var(--lavender); color: var(--accent-deep); font-size: 14px; }
.usage-line strong { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.meter { height: 12px; border-radius: 999px; background: #ece6f0; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: #3f8f5f; transition: width .3s ease; }
.meter span.mid { background: #c28a1b; }
.meter span.high { background: #b3402f; }
.meter { position: relative; }
.meter span { position: relative; z-index: 1; }
.meter .pace, .plan-box .bar .pace { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; background: rgba(140,127,184,.3); border-right: 2px solid #2b2540; border-radius: 99px 0 0 99px; }
.meter .pace[hidden], .plan-box .bar .pace[hidden] { display: none; }
.meter-wrap { position: relative; padding-bottom: 24px; }
.meter-wrap .today { position: absolute; top: -4px; bottom: 16px; left: var(--x, 0); width: 3px; margin-left: -1.5px; background: #2b2540; border: 1px solid #fff; border-radius: 2px; z-index: 2; }
.meter-wrap .today[hidden], .meter-wrap .today-label[hidden] { display: none; }
.meter-wrap .today-label { position: absolute; bottom: 0; left: min(max(var(--x, 0), 48px), calc(100% - 48px)); transform: translateX(-50%); font-size: 12px; font-weight: 600; color: #2b2540; white-space: nowrap; }
.legend2 { display: flex; justify-content: space-between; gap: 16px; }
.legend2 small { display: block; font-size: 13px; color: var(--muted); }
.legend2 b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.legend2 > div:last-child { text-align: right; }
.pace-status { font-weight: 600; margin: 0; }
.main .plans, .dash .plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.main .plan-link, .dash .plan-link { width: 100%; justify-content: center; text-align: center; }
.main .plan-link:disabled, .dash .plan-link:disabled { opacity: .6; cursor: default; }
@media (max-width: 720px) {
  .header-actions .text-link { display: none; }
  .portal-header .who { display: none; }
}
.meter { height: 16px; }
.meter.unlimited { background: repeating-linear-gradient(135deg, #ece6f0 0 8px, #f4f0f7 8px 16px); }
.interval { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; justify-self: start; }
.interval button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.interval button small { color: var(--accent-deep); font-weight: 500; margin-left: 6px; }
.interval button[aria-pressed="true"] { background: var(--lavender); color: var(--accent-deep); }

.legal { padding-block: 40px 72px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent-deep); text-decoration: underline; }
.footer-legal { display: flex; gap: 16px; font-size: 14px; }
.footer-legal a { color: var(--muted); }
.cookie-bar {
  position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px;
  max-width: 640px; margin-inline: auto; padding: 14px 18px;
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgb(36 35 56 / 14%);
}
.cookie-bar p { margin: 0; flex: 1; font-size: 14px; color: var(--ink); }
.cookie-bar a { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 520px) { .cookie-bar { flex-direction: column; align-items: stretch; } }

.social-login { display: grid; gap: 10px; margin-top: 18px; }
.social-divider { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted, #6b6475); font-size: 14px; }
.social-divider::before, .social-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.social-button { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; }
.social-logo { width: 20px; height: 20px; flex: none; }
.hero-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted, #6b6776); max-width: 46ch; }
.pw-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.pw-form input { flex: 1 1 200px; padding: 10px 12px; border: 1px solid var(--line, #e4ded7); border-radius: 8px; font: inherit; }
.from-awa { margin: 0; padding: 14px 16px 22px; text-align: center; font-size: 13px; color: var(--muted, #6b6776); }
.from-awa a { color: inherit; text-decoration: underline; }
.site-footer .from-awa { padding: 0 0 22px; text-align: left; }

.build { margin: 6px 0 0; color: var(--muted, #6b6475); font-size: 11.5px; letter-spacing: .01em; overflow-wrap: anywhere; }
.check-field { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.check-field input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.check-field a, .social-terms a { color: inherit; text-decoration: underline; }
.social-terms { margin: 4px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.contract-card { width: min(520px, calc(100% - 32px)); }
.choice { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 15px; }
.choice legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.choice input { margin-top: 3px; }
.field textarea { font: inherit; font-weight: 400; padding: 8px 12px; border: 1px solid #aaa0b6; border-radius: 10px; background: white; color: var(--ink); resize: vertical; }
.small-note { font-size: 13px; line-height: 1.45; margin-bottom: 16px; }
.notice-ok { padding: 12px 14px; border-radius: 10px; background: #eef6ee; color: #23502a; line-height: 1.5; margin-bottom: 12px; }
