:root {
  --mint: #c7efd1;
  --ink: #202522;
  --muted: #59645c;
  --paper: #f5f6f2;
  --line: #ccd3cb;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.information-main {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 72px 24px 88px;
}
.information-main h1 {
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 16px 0 20px;
}
.information-main .information-intro {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 40px;
}
.information-main section {
  margin-top: 36px;
}
.information-main h2 {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.information-main section p {
  font-size: 16px;
  line-height: 1.75;
  margin: 12px 0;
}
.information-main a, .auth-information a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer nav {
  flex-wrap: wrap;
  gap: 16px 24px;
}
@media (max-width: 700px) {
.information-main { padding-top: 44px; }
footer nav { display: flex; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #33704a;
  outline-offset: 6px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.wrap {
  padding-left: clamp(24px, 4.5vw, 80px);
  padding-right: clamp(24px, 4.5vw, 80px);
}
header {
  display: flex;
  align-items: center;
  gap: 56px;
  min-height: 90px;
  background: var(--mint);
  padding: 16px clamp(24px, 4.5vw, 80px);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #20252217;
}
.brand {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -2px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand span {
  font-size: 20px;
  letter-spacing: 0;
}
nav {
  display: flex;
  gap: 32px;
}
nav a,
.nav-cta {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.account-link,
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 11px 18px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--mint);
}
.nav-cta:hover {
  background: #344139;
  text-decoration: none;
}
.hero {
  background: var(--mint);
  padding-top: 0;
  padding-bottom: 64px;
  border-radius: 0 0 18px 18px;
}
.wordmark {
  font-size: clamp(130px, 18vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 730;
  transform: translateX(-0.035em);
  padding-bottom: 12px;
}
.wordmark span {
  color: #5f8f6f;
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 96px);
  padding-top: 12px;
}
.eyebrow {
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  margin: 0;
}
.hero-title {
  font-size: clamp(40px, 4.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 620;
}
.pitch {
  max-width: 560px;
  padding-top: 10px;
}
.pitch > p {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 23px 29px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.3;
}
.button:hover {
  background: #344139;
  text-decoration: none;
  transform: translateY(-1px);
}
.dark {
  background: var(--ink);
  color: var(--mint);
}
.text-link {
  font-size: 13px;
}
.text-link span {
  margin-left: 18px;
}
.pitch > .fine,
.fine {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
}
.workspace {
  padding-top: 74px;
  padding-bottom: 70px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 45px;
  padding: 45px 0;
}
h2 {
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.07;
  font-weight: 570;
  letter-spacing: -0.05em;
  margin: 0;
}
.section-intro > p {
  max-width: 300px;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 64px;
  gap: 36px;
}
.features article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.feature-icon {
  font-family: var(--mono);
  font-size: 25px;
}
.features h3 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 24px 0 12px;
}
.features p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 310px;
  margin: 0;
}
.how {
  background: #e8ede5;
  padding-top: 50px;
  padding-bottom: 75px;
}
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding-top: 54px;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 0 35px;
  letter-spacing: -0.02em;
}
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  display: flex;
  gap: 25px;
  padding: 24px 0;
  border-top: 1px solid #ccd4c8;
}
li > span {
  font-family: var(--mono);
  font-size: 11px;
  color: #778770;
  padding-top: 5px;
}
li h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 570;
}
li p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}
.pricing {
  padding-top: 60px;
  padding-bottom: 30px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.plan-pro {
  background: var(--mint);
}
.plan-card h3 {
  margin: 0 0 24px;
  font-size: 23px;
  font-weight: 570;
}
.plan-card > p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.plan-card .plan-price {
  font-size: 46px;
  font-weight: 570;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.plan-price span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan-card li {
  display: block;
  padding: 13px 0;
  font-size: 14px;
  line-height: 1.5;
}
.plan-card li:last-child {
  padding-bottom: 0;
}
.pricing-note {
  max-width: 700px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 24px 0 0;
}
.questions {
  padding-top: 60px;
  padding-bottom: 80px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 45px;
  margin-top: 50px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 16px;
  padding: 23px 28px 23px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  color: #7f8b76;
  font-size: 21px;
  top: 19px;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 30px 24px 0;
  max-width: 500px;
}
.download {
  background: var(--mint);
  padding-top: 60px;
  padding-bottom: 62px;
  border-radius: 18px 18px 0 0;
}
.download h2 {
  margin: 25px 0 34px;
}
.download-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.download-actions p {
  max-width: 230px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: #4b6553;
}
footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid #bed4bd;
  background: var(--mint);
  font-family: var(--mono);
  font-size: 10px;
}
footer p {
  margin-right: auto;
}
footer > span {
  color: #5d7360;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 15px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1500px) {
body {
    max-width: 1800px;
    margin: auto;
  }
}
@media (min-width: 801px) and (max-height: 800px) {
.wordmark {
    font-size: clamp(130px, 22vh, 176px);
  }
}
@media (max-width: 800px) {
header {
    gap: 25px;
    min-height: 74px;
  }
nav {
    gap: 20px;
  }
nav a {
    font-size: 10px;
  }
.header-actions {
    gap: 18px;
  }
.hero-bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 22px;
  }
.pitch > p {
    font-size: 16px;
  }
.features {
    gap: 24px;
  }
.features h3 {
    font-size: 18px;
  }
.features p {
    font-size: 13px;
  }
.how-layout,
  .faq-layout {
    gap: 28px;
  }
}
@media (max-width: 560px) {
.pricing {
    padding-top: 38px;
    padding-bottom: 20px;
  }
.plan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
.plan-card {
    padding: 24px;
  }
header {
    gap: 15px;
  }
header nav {
    display: none;
  }
.header-actions {
    gap: 16px;
  }
.account-link,
  .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 12px;
  }
.nav-cta {
    padding: 0 16px;
  }
.wordmark {
    font-size: 43vw;
    padding-bottom: 20px;
  }
.hero-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 8px;
  }
.hero {
    padding-bottom: 42px;
  }
.hero-title {
    font-size: 43px;
  }
.hero-title br {
    display: none;
  }
.pitch > p {
    font-size: 16px;
    margin-bottom: 25px;
  }
.button {
    padding: 20px 24px;
  }
.section-intro {
    display: block;
    padding: 30px 0;
  }
.section-intro > p {
    margin-top: 20px;
  }
.workspace {
    padding-top: 45px;
    padding-bottom: 45px;
  }
.features {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 28px;
  }
.features article {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 15px;
  }
.feature-icon {
    grid-row: 1/3;
  }
.features h3 {
    margin: 0 0 8px;
  }
.features p {
    max-width: none;
    grid-column: 2;
  }
.how-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 32px;
  }
.how {
    padding-top: 36px;
    padding-bottom: 42px;
  }
.how-layout h2 br {
    display: none;
  }
.lead {
    font-size: 17px;
  }
.questions {
    padding-top: 38px;
    padding-bottom: 45px;
  }
.faq-layout {
    margin-top: 0;
  }
.download {
    padding-top: 42px;
    padding-bottom: 40px;
  }
.download h2 {
    font-size: 35px;
  }
.download-actions {
    gap: 8px;
  }
.download-actions p {
    max-width: none;
  }
footer {
    flex-wrap: wrap;
    gap: 20px;
  }
footer p {
    display: none;
  }
footer > a:nth-last-child(2) {
    margin-left: auto;
  }
footer > span {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }
.button:hover {
    transform: none;
  }
}
[hidden] {
  display: none !important;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible {
  outline: 3px solid #33704a;
  outline-offset: 6px;
}
button.button {
  border: 0;
}
.account-text-button {
  color: var(--ink);
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Information links stay reachable in the narrow footer. */
footer nav a:not(.account-link) { display: inline; }
footer nav { margin-left: 0; }
@media (max-width: 560px) {
footer nav { width: 100%; }
}

/* ---------------------------------------------------------------------- */
/* Workspace walkthrough. The window reproduces the native header metrics  */
/* (36px title row, 28px tab hit height, 22px selection, 5px radius, the   */
/* #F8F8F8 chrome and the Light terminal palette). Every length is in em   */
/* with 1em = 10 design px, capped at 10px so the window renders at its    */
/* native 920px size and only shrinks with a narrower stage. The           */
/* walkthrough loops in CSS; the landing script holds it until it scrolls  */
/* into view. It freezes on the first frame under reduced motion, and      */
/* without container-query support it keeps 10px.                         */
/* ---------------------------------------------------------------------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.app-stage {
  container-type: inline-size;
  padding: clamp(18px, 4vw, 54px) clamp(10px, 4vw, 48px);
  background-color: #e4e8df;
  background-image: radial-gradient(#8a978547 0.65px, transparent 0.65px);
  background-size: 8px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.app-demo {
  --u: 24s;
  --chrome: #f8f8f8;
  --canvas: #fbfbfb;
  --ink-demo: #292929;
  --sel: rgba(0, 0, 0, 0.09);
  --hair: rgba(0, 0, 0, 0.12);
  --blue: #245ec7;
  --blue-tint: rgba(36, 94, 199, 0.055);
  --blue-line: rgba(36, 94, 199, 0.36);
  font-size: 10px;
  font-size: min(10px, calc(100cqw / 92));
  font-family: -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif;
  color: var(--ink-demo);
  width: 92em;
  height: 58em;
  margin: 0 auto;
  position: relative;
  background: var(--chrome);
  border-radius: 1em;
  border: 0.05em solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 2.4em 5em rgba(38, 54, 39, 0.16), 0 0.2em 0.5em rgba(38, 54, 39, 0.08);
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
.app-demo svg { width: 1.3em; height: 1.3em; flex: none; }
.win-title {
  height: 3.6em;
  display: flex;
  align-items: center;
  position: relative;
}
.traffic { display: flex; gap: 0.8em; padding-left: 1.2em; }
.traffic i { width: 1.2em; height: 1.2em; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.05em rgba(0, 0, 0, 0.12); }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.home-button {
  margin-left: 2.4em;
  width: 3em; height: 2.2em;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.5em;
  color: #3a3a3a;
  animation: demo-home var(--u) infinite;
}
.home-button svg { width: 1.4em; height: 1.4em; }
.win-name {
  position: absolute; left: 0; right: 0; top: 0; height: 3.6em;
  display: grid; place-items: center;
  font-size: 1.3em; font-weight: 500;
  pointer-events: none;
}
.win-name > span { grid-area: 1 / 1; opacity: 0; }
.win-name .name-claude { opacity: 1; animation: name-claude var(--u) infinite; }
.win-name .name-preview { animation: name-preview var(--u) infinite; }
.win-name .name-tests { animation: name-tests var(--u) infinite; }
.win-name .name-codex { animation: name-codex var(--u) infinite; }
.win-name .name-home { animation: name-home var(--u) infinite; }
.win-controls { margin-left: auto; display: flex; align-items: center; gap: 0.2em; padding-right: 1em; color: #3a3a3a; }
.station-slot { display: grid; justify-items: end; }
.station-slot > .station-group { grid-area: 1 / 1; display: flex; align-items: center; gap: 0.2em; }
.control { width: 3em; height: 2.8em; display: flex; align-items: center; justify-content: center; }
.station {
  display: flex; align-items: center; gap: 0.5em; padding: 0 0.5em 0 0.9em; height: 2.8em;
  color: #6f6f6f; font-size: 1.1em; margin-right: 0.4em;
}
.station svg { width: 1.2em; height: 1.2em; }
.station .chev { width: 0.8em; height: 0.8em; }
.station-mac { animation: station-mac var(--u) infinite; }
.station-remote { opacity: 0; visibility: hidden; animation: station-remote var(--u) infinite; }
.win-tabs {
  height: 3.2em;
  display: flex; align-items: center; gap: 0.4em;
  padding: 0 1em 0 1.2em;
  white-space: nowrap;
}
.tab {
  display: inline-flex; align-items: center; gap: 0.7em;
  height: 2.2em; padding: 0 2.7em 0 0.9em;
  border-radius: 0.5em;
  font-size: 1.3em; line-height: 1;
  color: var(--ink-demo);
}
.tab svg { width: 1.2em; height: 1.2em; color: #4b4b4b; }
.tab-claude svg { color: #c96442; }
.tab-claude { background: var(--sel); font-weight: 500; animation: tab-claude var(--u) infinite; }
.tab-preview { animation: tab-preview var(--u) infinite; }
.tab-tests { animation: tab-tests var(--u) infinite; }
.tab-codex { animation: tab-codex var(--u) infinite; }
.tab-new { width: 3em; height: 2.2em; display: flex; align-items: center; justify-content: center; color: #3a3a3a; }
.win-content { position: absolute; inset: 6.8em 0 0 0; padding: 0 0.8em 0.8em; }
.pane {
  position: absolute; inset: 0 0.8em 0.8em;
  border-radius: 1em;
  background: var(--canvas);
  box-shadow: 0 0 0 0.05em var(--hair), 0 0.1em 0.1em rgba(0, 0, 0, 0.04), 0 0.2em 0.2em rgba(0, 0, 0, 0.03);
  overflow: hidden;
  opacity: 0; visibility: hidden;
}
.pane-claude { opacity: 1; visibility: visible; animation: pane-claude var(--u) infinite; }
.pane-preview { animation: pane-preview var(--u) infinite; }
.pane-tests { animation: pane-tests var(--u) infinite; }
.pane-codex { animation: pane-codex var(--u) infinite; }
.pane-home { animation: pane-home var(--u) infinite; }
.term {
  padding: 1.6em 2em;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 1.25em; line-height: 1.65;
  color: var(--ink-demo);
}
.term p { margin: 0 0 0.85em; white-space: pre-wrap; }
.term .dim { color: #8a8a8a; }
.term .user { background: rgba(0, 0, 0, 0.045); border-radius: 0.3em; padding: 0.45em 0.7em; color: #3a3a3a; }
.term .link { color: #245ec7; text-decoration: underline; text-underline-offset: 0.2em; }
.term .claude-mark { color: #c96442; }
.term .codex-mark { color: #237a32; }
.term .dot-green { color: #237a32; }
.term .pass, .term .add { color: #237a32; }
.term .del { color: #b32828; }
.term .host { color: #237a32; }
.term .path { color: #245ec7; }
.term .input { margin-top: 1.4em; }
.caret { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.15em; background: #6d6d6d; animation: caret 1.1s steps(2, start) infinite; }
.reveal { animation-duration: var(--u); animation-iteration-count: infinite; animation-timing-function: linear; }
.r1 { animation-name: r1; } .r2 { animation-name: r2; } .r3 { animation-name: r3; } .r4 { animation-name: r4; } .r5 { animation-name: r5; }
.t1 { animation-name: t1; } .t2 { animation-name: t2; } .t3 { animation-name: t3; } .t4 { animation-name: t4; }
.c1 { animation-name: c1; } .c2 { animation-name: c2; } .c3 { animation-name: c3; } .c4 { animation-name: c4; }
.browser { display: flex; flex-direction: column; height: 100%; background: #fff; }
.address {
  height: 3.6em; display: flex; align-items: center; gap: 0.9em; padding: 0 1.2em;
  background: #f3f3f1; border-bottom: 0.05em solid var(--hair); color: #8a8a8a; font-size: 1.3em;
}
.address .url { flex: 1; text-align: center; font-size: 0.85em; color: #4b4b4b; background: #fff; border: 0.05em solid rgba(0, 0, 0, 0.1); border-radius: 0.5em; padding: 0.35em; }
.site { flex: 1; padding: 2.4em 3.2em; background: #fbf7f1; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2em; color: #8c7868; }
.site-header b { font-size: 1.5em; color: #2a231d; letter-spacing: -0.05em; }
.site-eyebrow { margin: 3.2em 0 0.6em; font-size: 0.9em; letter-spacing: 0.12em; color: #8c7868; }
.site h3 { margin: 0 0 2em; font-size: 2.8em; line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; color: #2a231d; }
.site-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.site-plans > div { background: #fff; border: 0.05em solid rgba(0, 0, 0, 0.08); border-radius: 0.8em; padding: 1.4em; display: grid; gap: 0.7em; }
.site-plans span { font-size: 1.1em; color: #8c7868; }
.site-plans b { font-size: 2.2em; letter-spacing: -0.04em; color: #2a231d; font-weight: 500; }
.site-plans i { display: block; height: 0.6em; border-radius: 0.3em; background: #ede4d8; width: 80%; }
.site-plans i + i { width: 55%; }
.site-plan-hi { background: #2a231d !important; }
.site-plan-hi span, .site-plan-hi b { color: #fbf7f1 !important; }
.site-plan-hi i { background: #4a4039 !important; }
.home { display: flex; gap: 3.2em; padding: 4.8em 2.4em 0; height: 100%; }
.home-nav { width: 28em; flex: none; }
.home-nav-head { display: flex; justify-content: space-between; align-items: center; height: 3.6em; padding: 0 1.2em 0 0.6em; margin-bottom: 1.2em; font-size: 1.3em; font-weight: 500; color: #6f6f6f; }
.home-nav-head svg { width: 1.3em; height: 1.3em; }
.nav-item { display: flex; align-items: center; gap: 0.9em; height: 2.8em; padding: 0 0.6em; margin: 0 1.2em 0.4em 0; font-size: 1.3em; color: #6f6f6f; border-radius: 0.6em; }
.nav-item svg { width: 1.2em; height: 1.2em; }
.nav-tabs { color: #333; animation: nav-tabs var(--u) infinite; }
.nav-presets { animation: nav-presets var(--u) infinite; }
.nav-dim:first-of-type { margin-top: 2.4em; }
.nav-item.nav-dim { color: #8a8a8a; }
.nav-item.nav-dim:nth-last-child(2) { margin-top: 2.4em; }
.home-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.2em; }
.home-search {
  display: flex; align-items: center; gap: 0.9em; height: 3.6em; padding: 0 0.8em 0 1.2em;
  border-radius: 0.6em; background: rgba(0, 0, 0, 0.028); color: #8a8a8a; font-size: 1.3em;
  position: relative;
}
.home-search svg { width: 1.2em; height: 1.2em; color: #9a9a9a; }
.home-search .search-slot { display: grid; }
.home-search .search-slot > span { grid-area: 1 / 1; }
.search-presets { opacity: 0; visibility: hidden; animation: search-presets var(--u) infinite; }
.search-tabs { animation: search-tabs var(--u) infinite; }
.home-pages { position: relative; flex: 1; }
.home-page { position: absolute; inset: 0; }
.page-tabs { animation: page-tabs var(--u) infinite; }
.page-presets { opacity: 0; visibility: hidden; animation: page-presets var(--u) infinite; }
.home-count { margin: 0.4em 0 0.8em; font-size: 1.1em; color: #6f6f6f; }
.row { display: flex; align-items: center; gap: 1.2em; padding: 1.3em 0.6em; border-bottom: 0.05em solid rgba(0, 0, 0, 0.07); }
.row > svg { width: 1.4em; height: 1.4em; color: #6f6f6f; }
.row > div { flex: 1; display: grid; gap: 0.4em; }
.row b { font-size: 1.3em; font-weight: 500; }
.row span { font-size: 1.05em; color: #6f6f6f; }
.row em { font-style: normal; font-size: 1.05em; color: #237a32; }
.row .more { width: 1.4em; height: 1.4em; color: #6f6f6f; }
.button-like {
  display: inline-flex; align-items: center; gap: 0.6em; height: 2.8em; padding: 0 1.2em;
  border-radius: 0.6em; font-size: 1.3em; font-weight: 500; color: #222;
  background: #fff; box-shadow: 0 0 0 0.05em rgba(0, 0, 0, 0.12), 0 0.1em 0.1em rgba(0, 0, 0, 0.04);
}
.button-like.small { height: 2.2em; font-size: 1.15em; }
.button-like.primary { background: linear-gradient(#3c86ff, #2a6cf0); color: #fff; box-shadow: 0 0 0 0.05em rgba(0, 40, 120, 0.35), 0 0.1em 0.1em rgba(0, 0, 0, 0.08); }
.empty-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 5.2em; gap: 1.6em; animation: empty-state var(--u) infinite; }
.empty-state b { font-size: 1.3em; font-weight: 500; }
.empty-state > span { font-size: 1.3em; color: #6f6f6f; }
.saved-list { position: absolute; inset: 0; opacity: 0; visibility: hidden; animation: saved-list var(--u) infinite; }
.home-note { margin: 1.2em 0 0; font-size: 1em; color: #6f6f6f; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.12); opacity: 0; animation: sheet var(--u) infinite; }
.sheet {
  position: absolute; left: 50%; top: 46%; width: 26em; transform: translate(-50%, -50%);
  padding: 2em 1.6em 1.6em; border-radius: 1.2em; background: rgba(238, 238, 238, 0.98);
  box-shadow: 0 0 0 0.05em rgba(0, 0, 0, 0.18), 0 1.6em 4em rgba(0, 0, 0, 0.22);
  display: grid; justify-items: center; text-align: center; gap: 0.7em; opacity: 0; visibility: hidden;
  animation: sheet var(--u) infinite;
}
.sheet-icon {
  width: 4.8em; height: 4.8em; margin-bottom: 0.2em; border-radius: 1.1em;
  display: grid; place-items: center;
  background: linear-gradient(#2e3531, #1f2421); color: #c7efd1;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.18);
}
.app-demo .sheet-icon svg { width: 2.4em; height: 2.4em; }
.sheet b { font-size: 1.3em; }
.sheet .button-like { justify-content: center; height: 2.2em; padding: 0 0.8em; font-size: 1.2em; }
.sheet > span:not(.sheet-icon) { font-size: 1.1em; line-height: 1.4; color: #4b4b4b; }
.field { width: 100%; box-sizing: border-box; height: 2.2em; margin-top: 0.3em; padding: 0 0.6em; display: flex; align-items: center; border-radius: 0.4em; background: #fff; box-shadow: 0 0 0 0.05em rgba(0, 0, 0, 0.22), 0 0 0 0.3em rgba(42, 108, 240, 0.28); font-size: 1.2em; text-align: left; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 8.2ch; animation: typed var(--u) infinite; }
.field-caret { width: 0.1em; height: 1.2em; background: #222; animation: caret 1.1s steps(2, start) infinite; }
.sheet-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; margin-top: 0.6em; }
.pointer {
  position: absolute; left: 0; top: -6.8em; width: 2em; height: 2.4em;
  transform: translate(64em, 42em);
  animation: pointer var(--u) infinite ease-in-out;
  filter: drop-shadow(0 0.1em 0.2em rgba(0, 0, 0, 0.35));
  z-index: 3;
}
.pointer svg { width: 2em; height: 2.4em; transform-origin: 10% 6%; animation: click var(--u) infinite; }

@keyframes pointer {
  0%, 11% { transform: translate(64em, 42em); }
  14%, 27% { transform: translate(22.5em, 5.2em); }
  30%, 41% { transform: translate(34.1em, 5.2em); }
  44%, 54% { transform: translate(45.1em, 5.2em); }
  57%, 62% { transform: translate(10.2em, 1.8em); }
  65%, 69% { transform: translate(9em, 27.9em); }
  72%, 79% { transform: translate(61.4em, 30.9em); }
  82%, 84% { transform: translate(51.7em, 38.1em); }
  87%, 100% { transform: translate(64em, 42em); }
}
@keyframes click {
  0%, 14.2% { transform: scale(1); } 14.4% { transform: scale(0.8); }
  14.6%, 30.2% { transform: scale(1); } 30.4% { transform: scale(0.8); }
  30.6%, 44.2% { transform: scale(1); } 44.4% { transform: scale(0.8); }
  44.6%, 57.2% { transform: scale(1); } 57.4% { transform: scale(0.8); }
  57.6%, 65.2% { transform: scale(1); } 65.4% { transform: scale(0.8); }
  65.6%, 72.2% { transform: scale(1); } 72.4% { transform: scale(0.8); }
  72.6%, 82.2% { transform: scale(1); } 82.4% { transform: scale(0.8); }
  82.6%, 100% { transform: scale(1); }
}
@keyframes pane-claude { 0%, 14.5% { opacity: 1; visibility: visible; } 14.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes pane-preview { 0%, 14.5% { opacity: 0; visibility: hidden; } 14.6%, 30.5% { opacity: 1; visibility: visible; } 30.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes pane-tests { 0%, 30.5% { opacity: 0; visibility: hidden; } 30.6%, 44.5% { opacity: 1; visibility: visible; } 44.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes pane-codex { 0%, 44.5% { opacity: 0; visibility: hidden; } 44.6%, 57.5% { opacity: 1; visibility: visible; } 57.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes pane-home { 0%, 57.5% { opacity: 0; visibility: hidden; } 57.6%, 100% { opacity: 1; visibility: visible; } }
@keyframes tab-claude { 0%, 14.5% { background: var(--sel); font-weight: 500; } 14.6%, 100% { background: transparent; font-weight: 400; } }
@keyframes tab-preview { 0%, 14.5% { background: transparent; font-weight: 400; } 14.6%, 30.5% { background: var(--sel); font-weight: 500; } 30.6%, 100% { background: transparent; font-weight: 400; } }
@keyframes tab-tests { 0%, 30.5% { background: transparent; font-weight: 400; } 30.6%, 44.5% { background: var(--sel); font-weight: 500; } 44.6%, 100% { background: transparent; font-weight: 400; } }
@keyframes tab-codex { 0%, 44.5% { background: transparent; font-weight: 400; } 44.6%, 57.5% { background: var(--sel); font-weight: 500; } 57.6%, 100% { background: transparent; font-weight: 400; } }
@keyframes demo-home { 0%, 57.5% { background: transparent; } 57.6%, 100% { background: rgba(0, 0, 0, 0.065); } }
@keyframes name-claude { 0%, 14.5% { opacity: 1; } 14.6%, 100% { opacity: 0; } }
@keyframes name-preview { 0%, 14.5% { opacity: 0; } 14.6%, 30.5% { opacity: 1; } 30.6%, 100% { opacity: 0; } }
@keyframes name-tests { 0%, 30.5% { opacity: 0; } 30.6%, 44.5% { opacity: 1; } 44.6%, 100% { opacity: 0; } }
@keyframes name-codex { 0%, 44.5% { opacity: 0; } 44.6%, 57.5% { opacity: 1; } 57.6%, 100% { opacity: 0; } }
@keyframes name-home { 0%, 57.5% { opacity: 0; } 57.6%, 100% { opacity: 1; } }
@keyframes station-mac { 0%, 44.5% { opacity: 1; visibility: visible; } 44.6%, 57.5% { opacity: 0; visibility: hidden; } 57.6%, 100% { opacity: 1; visibility: visible; } }
@keyframes station-remote { 0%, 44.5% { opacity: 0; visibility: hidden; } 44.6%, 57.5% { opacity: 1; visibility: visible; } 57.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes nav-tabs { 0%, 65.5% { color: #333; } 65.6%, 100% { color: #6f6f6f; } }
@keyframes nav-presets { 0%, 65.5% { color: #6f6f6f; } 65.6%, 100% { color: #333; } }
@keyframes search-tabs { 0%, 65.5% { opacity: 1; visibility: visible; } 65.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes search-presets { 0%, 65.5% { opacity: 0; visibility: hidden; } 65.6%, 100% { opacity: 1; visibility: visible; } }
@keyframes page-tabs { 0%, 65.5% { opacity: 1; visibility: visible; } 65.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes page-presets { 0%, 65.5% { opacity: 0; visibility: hidden; } 65.6%, 100% { opacity: 1; visibility: visible; } }
@keyframes empty-state { 0%, 82.5% { opacity: 1; visibility: visible; } 82.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes saved-list { 0%, 82.5% { opacity: 0; visibility: hidden; } 82.6%, 100% { opacity: 1; visibility: visible; } }
@keyframes sheet { 0%, 72.5% { opacity: 0; visibility: hidden; } 72.6%, 82.5% { opacity: 1; visibility: visible; } 82.6%, 100% { opacity: 0; visibility: hidden; } }
@keyframes typed { 0%, 74% { width: 0; } 79%, 100% { width: 8.2ch; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes r1 { 0%, 0.4% { opacity: 0; } 0.5%, 100% { opacity: 1; } }
@keyframes r2 { 0%, 1.9% { opacity: 0; } 2%, 100% { opacity: 1; } }
@keyframes r3 { 0%, 3.4% { opacity: 0; } 3.5%, 100% { opacity: 1; } }
@keyframes r4 { 0%, 4.9% { opacity: 0; } 5%, 100% { opacity: 1; } }
@keyframes r5 { 0%, 6.9% { opacity: 0; } 7%, 100% { opacity: 1; } }
@keyframes t1 { 0%, 31.9% { opacity: 0; } 32%, 100% { opacity: 1; } }
@keyframes t2 { 0%, 33.4% { opacity: 0; } 33.5%, 100% { opacity: 1; } }
@keyframes t3 { 0%, 34.9% { opacity: 0; } 35%, 100% { opacity: 1; } }
@keyframes t4 { 0%, 36.4% { opacity: 0; } 36.5%, 100% { opacity: 1; } }
@keyframes c1 { 0%, 45.9% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes c2 { 0%, 47.4% { opacity: 0; } 47.5%, 100% { opacity: 1; } }
@keyframes c3 { 0%, 48.9% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes c4 { 0%, 50.4% { opacity: 0; } 50.5%, 100% { opacity: 1; } }
.typed { animation-timing-function: steps(11, end); }
.caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 14px;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .caption { font-size: 9px; }
}
@media (max-width: 560px) {
  .app-stage { margin: 0 -10px; padding: 14px 8px; border-radius: 8px; }
  .caption > span { display: none; }
}
/* src/walkthrough.ts adds .demo-wait while the walkthrough is off screen, */
/* so visitors who scroll down watch it from the start. Without the script */
/* the class is never set and the loop plays from page load.               */
.app-demo.demo-wait,
.app-demo.demo-wait *,
.app-demo.demo-wait *::before,
.app-demo.demo-wait *::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .app-demo *, .app-demo { animation: none !important; }
  .pointer { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Sign-in pages use the website's own palette: paper canvas with a mint   */
/* wash, the site wordmark, and the ink-and-mint primary action.           */
/* ---------------------------------------------------------------------- */
.auth-page { background: var(--paper); }
.auth-page > header, .auth-page > footer { display: none; }
.auth-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 32px;
  background: radial-gradient(1100px 420px at 50% -140px, var(--mint), transparent 72%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 36px 30px;
  background: #fcfdfb;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 44px #2636270f, 0 1px 2px #2636270a;
}
.auth-brand { display: inline-flex; margin-bottom: 28px; font-size: 28px; }
.auth-card h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.045em; font-weight: 620; margin: 0 0 8px; }
.auth-intro { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0 0 26px; }
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 46px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.auth-google:hover { background: #f1f5ef; }
.google-mark { font: 600 18px Arial, sans-serif; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: #7a857c; margin: 22px 0; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 500; }
.auth-form input {
  width: 100%; min-width: 0; min-height: 46px;
  padding: 11px 13px; border: 1px solid #cdd5cb; border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.auth-form input:focus { outline: none; border-color: #33704a; box-shadow: 0 0 0 3px #33704a33; }
.auth-form .button {
  min-height: 48px; padding: 12px 16px; justify-content: center; gap: 12px;
  border-radius: 12px; margin-top: 6px; cursor: pointer;
  font-size: 12px; letter-spacing: 0.05em;
}
.auth-form .button:hover { transform: none; }
.auth-card :is(input, button, a):focus-visible { outline: 3px solid #33704a; outline-offset: 3px; }
.auth-card button:disabled { cursor: wait; opacity: .55; }
#forgot-password { align-self: flex-end; margin-top: -4px; font-size: 12.5px; color: #2f6a45; text-underline-offset: 3px; }
#login-status { font-size: 13px; line-height: 1.55; margin: 16px 0 0; overflow-wrap: anywhere; }
#login-status:empty { display: none; }
#auth-switch { display: block; text-align: center; font-size: 13px; margin-top: 22px; color: #2f6a45; text-underline-offset: 3px; }
#resend-verification { margin-top: 8px; }
.auth-page .auth-information { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.auth-page .account-text-button { font-size: 13px; }
.auth-footnote { color: var(--muted); font-size: 12.5px; margin: 22px 0 0; text-align: center; }
@media (max-width: 480px) {
  .auth-shell { justify-content: flex-start; padding: 36px 16px 24px; }
  .auth-card { padding: 28px 22px 24px; }
}

/* ---------------------------------------------------------------------- */
/* Signed-in account, in the manner of a system Settings page: a frosted  */
/* bar with the wordmark, a segmented section control and the account    */
/* menu; content in grouped inset lists with hairline separators over a   */
/* calm canvas. Mint is only an accent. Glass turns opaque when           */
/* transparency is reduced or unsupported; motion stops when reduced.     */
/* ---------------------------------------------------------------------- */
body > main:not([hidden]) { flex: 1 0 auto; }
.account-page {
  --account-canvas: #f5f6f4;
  --account-surface: #ffffff;
  --account-ink: #1d211e;
  --account-secondary: #565e59;
  --account-accent: #2b6743;
  --account-focus: #2f7a4d;
  --account-red: #c1281c;
  --account-red-strong: #a8221a;
  --account-fill: rgb(29 33 30 / 0.06);
  --account-fill-strong: rgb(29 33 30 / 0.1);
  --account-separator: rgb(29 33 30 / 0.12);
  --account-hairline: 1px;
  --account-glass: rgb(245 246 244 / 0.74);
  --account-menu-glass: rgb(251 252 250 / 0.88);
  --account-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  color: var(--account-ink);
  background: var(--account-canvas);
  font-family: var(--account-font);
}
@media (min-resolution: 2dppx) {
  .account-page { --account-hairline: 0.5px; }
}
.account-page > header, .account-page > footer { display: none; }
.account-shell {
  display: flex; flex-direction: column; min-height: 100vh;
  /* A faint mint glow at the top gives the glass bar something to frost. */
  background: radial-gradient(1200px 420px at 50% -200px, rgb(199 239 209 / 0.7), transparent 70%) no-repeat;
}

/* Frosted bar. */
.account-bar {
  position: sticky; top: 0; z-index: 4;
  background: var(--account-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--account-hairline) solid var(--account-separator);
}
.account-bar-inner {
  max-width: 880px; margin: 0 auto; min-height: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 8px clamp(16px, 4vw, 24px);
}
/* The wordmark keeps the site's own face and size. */
.account-brand {
  justify-self: start; font-size: 25px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.account-brand:focus-visible { outline: 3px solid var(--account-focus); outline-offset: 3px; border-radius: 6px; }

/* Section navigation as a segmented control. */
.account-nav {
  display: flex; gap: 2px; padding: 3px;
  border-radius: 999px; background: rgb(118 118 128 / 0.12);
}
.account-nav a {
  padding: 6px 16px; border-radius: 999px;
  color: var(--account-ink); font: 500 14px/1.3 var(--account-font);
  text-transform: none; letter-spacing: -0.01em; text-align: center; white-space: nowrap;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.account-nav a:hover { background: rgb(255 255 255 / 0.55); text-decoration: none; }
.account-nav a[aria-current="true"] {
  background: var(--account-surface);
  box-shadow: 0 1px 3px rgb(20 28 22 / 0.12), 0 0 0 0.5px rgb(20 28 22 / 0.06);
}
.account-nav a:focus-visible { outline: 3px solid var(--account-focus); outline-offset: 1px; }
.account-shell.signed-out .account-nav { display: none; }

/* One account button in the bar; its panel holds the identity and Sign out. */
.account-user { grid-column: 3; justify-self: end; position: relative; min-width: 0; max-width: 100%; }
.account-user:empty { display: none; }
.account-menu-button {
  display: flex; align-items: center; gap: 8px; min-width: 0; max-width: min(240px, 100%);
  padding: 3px 12px 3px 3px; border: 0; border-radius: 999px;
  background: transparent; color: var(--account-ink); font: 500 14px/1.3 var(--account-font); letter-spacing: -0.01em;
  transition: background-color 0.2s ease;
}
.account-menu-button:hover, .account-menu-button[aria-expanded="true"] { background: var(--account-fill); }
.account-menu-button:focus-visible { outline: 3px solid var(--account-focus); outline-offset: 2px; }
.account-menu-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #d9f4e0, #b5e4c1); color: #1f3a2a; font-size: 13px; font-weight: 600;
  box-shadow: inset 0 0 0 0.5px rgb(31 58 42 / 0.2);
}
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5;
  /* max-content: an absolute box otherwise shrinks to the small button. */
  width: max-content; min-width: 248px; max-width: min(320px, calc(100vw - 32px));
  padding: 6px;
  background: var(--account-menu-glass);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: var(--account-hairline) solid rgb(29 33 30 / 0.1); border-radius: 14px;
  box-shadow: 0 12px 40px rgb(20 28 22 / 0.14), 0 2px 8px rgb(20 28 22 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.7);
}
.account-identity {
  display: grid; gap: 2px; min-width: 0; padding: 10px 12px 12px; margin-bottom: 6px;
  border-bottom: var(--account-hairline) solid var(--account-separator);
}
.account-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-email { font-size: 13px; color: var(--account-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-sign-out {
  display: block; width: 100%; min-height: 36px; padding: 0 12px;
  border: 0; border-radius: 8px; text-align: left;
  background: transparent; color: var(--account-ink); font: 400 15px/1.3 var(--account-font); letter-spacing: -0.01em;
}
.account-sign-out:hover:not(:disabled) { background: var(--account-fill-strong); }
.account-sign-out:focus-visible { outline: 2px solid var(--account-focus); outline-offset: -2px; }

/* Page header and status. */
.account-main { width: 100%; max-width: 880px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 24px) 56px; }
.account-topbar h1 { margin: 0 0 8px; font: 700 34px/1.12 var(--account-font); letter-spacing: -0.024em; }
.account-subtitle { margin: 0; max-width: 600px; color: var(--account-secondary); font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; }
/* Empty status stays rendered, without size, so the live region is announced. */
#account-status {
  margin: 24px 0 0; padding: 12px 16px; border-radius: 12px;
  background: rgb(255 255 255 / 0.72); box-shadow: 0 0 0 var(--account-hairline) var(--account-separator);
  color: var(--account-ink); font-size: 15px; line-height: 1.47; letter-spacing: -0.01em; overflow-wrap: anywhere;
}
#account-status:empty { margin: 0; padding: 0; background: none; box-shadow: none; }
#account-content { display: grid; gap: 40px; margin-top: 36px; }

/* Sections: a title, secondary text and grouped inset lists. */
.account-panel { min-width: 0; scroll-margin-top: 8px; }
.account-panel-title { margin: 0 0 4px; font: 600 22px/1.27 var(--account-font); letter-spacing: -0.018em; }
.account-panel-description { margin: 0 0 14px; max-width: 640px; color: var(--account-secondary); font-size: 15px; line-height: 1.47; letter-spacing: -0.01em; }
.account-panel-title + .account-group { margin-top: 12px; }
.account-panel .account-group + .account-group { margin-top: 12px; }
.account-group {
  background: var(--account-surface); border-radius: 14px;
  box-shadow: 0 0 0 var(--account-hairline) rgb(29 33 30 / 0.08), 0 1px 2px rgb(20 28 22 / 0.04);
}
.account-row {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 14px 20px;
}
/* Separators start at the text, as in grouped lists. */
.account-row + .account-row::before {
  content: ""; position: absolute; top: 0; right: 0; left: var(--account-inset, 20px);
  border-top: var(--account-hairline) solid var(--account-separator);
}
.account-row-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.account-row-text strong { font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.account-row-text span { color: var(--account-secondary); font-size: 14px; line-height: 1.4; letter-spacing: -0.006em; }
.account-footnote { margin: 10px 20px 0; max-width: 640px; color: var(--account-secondary); font-size: 13px; line-height: 1.45; }

/* Overview. */
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-stat { position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; padding: 18px 20px 20px; }
.account-stat + .account-stat::before {
  content: ""; position: absolute; top: 16px; bottom: 16px; left: 0;
  border-left: var(--account-hairline) solid var(--account-separator);
}
.account-stat span { color: var(--account-secondary); font-size: 13px; line-height: 1.35; }
.account-stat strong { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.022em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.account-app-icon, .device-icon { flex: none; display: grid; place-items: center; }
.account-app-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(160deg, #dcf5e3, #b8e6c5); color: #1f3a2a;
  box-shadow: inset 0 0 0 0.5px rgb(31 58 42 / 0.16), 0 1px 2px rgb(20 28 22 / 0.08);
}
.account-app-icon svg { width: 26px; height: 26px; }
.account-app-intro { margin: 0; color: var(--account-secondary); font-size: 14px; line-height: 1.4; }

/* Billing. */
.account-row-text .account-billing-caption { font-size: 13px; }
.account-billing-summary { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.014em; overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Devices. */
.device-list:empty { display: none; }
.device-row { --account-inset: 70px; }
.device-icon { width: 36px; height: 36px; border-radius: 9px; background: #eef0ee; color: #3a4a40; }
.device-row.is-current .device-icon { background: #dcf4e3; color: #1f3a2a; }
.device-icon svg { width: 21px; height: 21px; }
/* Plain trailing buttons align their text, not their hover shape, with the edge. */
.device-row > .account-button { margin-inline-end: -12px; }

/* Signed out. */
.account-signed-out { display: grid; justify-items: center; padding: 36px 24px 32px; text-align: center; }
.account-signed-out .account-app-icon { margin-bottom: 16px; }
.account-signed-out .account-panel-description { margin: 0 auto 20px; max-width: 420px; }

/* Buttons: capsules in sentence case with the system font. */
.account-button {
  display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 18px;
  /* Transparent borders show as outlines in forced-colors mode. */
  border: 1px solid transparent; border-radius: 999px;
  font: 500 15px/1.2 var(--account-font); letter-spacing: -0.01em; text-transform: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.account-button:hover { text-decoration: none; }
.account-button:active:not(:disabled) { transform: scale(0.97); }
.account-button:focus-visible { outline: 3px solid var(--account-focus); outline-offset: 2px; }
.account-button:disabled { opacity: 0.4; cursor: default; }
.account-button[aria-busy="true"] { cursor: progress; }
.account-button-primary { background: var(--account-ink); color: #fff; }
.account-button-primary:hover:not(:disabled) { background: #343a36; }
.account-button-tinted { background: var(--account-fill); color: var(--account-ink); }
.account-button-tinted:hover:not(:disabled) { background: var(--account-fill-strong); }
.account-button-plain, .account-button-destructive { padding: 0 12px; background: transparent; }
.account-button-plain { color: var(--account-accent); }
.account-button-plain:hover:not(:disabled) { background: rgb(43 103 67 / 0.08); }
.account-button-destructive { color: var(--account-red); }
.account-button-destructive:hover:not(:disabled) { background: rgb(193 40 28 / 0.08); }
.account-button-destructive-filled { background: var(--account-red); color: #fff; }
.account-button-destructive-filled:hover:not(:disabled) { background: var(--account-red-strong); }
.account-delete-row .account-button { margin-inline-start: -12px; }

/* Account deletion: a frosted alert sheet. */
.account-delete-dialog {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 28px 28px 24px; border: 0; border-radius: 20px;
  color: var(--account-ink); background: rgb(251 252 250 / 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: 0 24px 80px rgb(20 28 22 / 0.24), 0 0 0 0.5px rgb(20 28 22 / 0.1);
  font-family: var(--account-font);
}
.account-delete-dialog::backdrop {
  background: rgb(20 24 21 / 0.32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.account-delete-dialog h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.016em; }
.account-delete-dialog p { margin: 0; color: var(--account-secondary); font-size: 14px; line-height: 1.47; }
.account-delete-dialog label { display: block; margin-top: 20px; font-size: 13px; font-weight: 500; }
.account-delete-dialog .delete-account-email { margin: 4px 0 10px; color: var(--account-ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.account-delete-dialog input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid rgb(29 33 30 / 0.2); border-radius: 10px;
  color: var(--account-ink); background: #fff; font: 400 16px/1.3 var(--account-font);
}
.account-delete-dialog input:focus { outline: 2px solid transparent; border-color: var(--account-focus); box-shadow: 0 0 0 3px rgb(47 122 77 / 0.35); }
.account-delete-dialog .account-actions { justify-content: flex-end; margin-top: 24px; }

/* Glass is opaque when transparency is reduced or backdrop blur is missing. */
@media (prefers-reduced-transparency: reduce) {
  .account-bar { background: var(--account-canvas); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .account-menu, .account-delete-dialog { background: #fbfcfa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .account-delete-dialog::backdrop { background: rgb(20 24 21 / 0.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
  #account-status:not(:empty) { background: var(--account-surface); }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .account-bar { background: var(--account-canvas); }
  .account-menu, .account-delete-dialog { background: #fbfcfa; }
}
@media (prefers-reduced-motion: reduce) {
  .account-nav a, .account-menu-button, .account-button { transition: none; }
  .account-button:active:not(:disabled) { transform: none; }
}
@media (forced-colors: active) {
  .account-group, .account-nav { border: 1px solid CanvasText; }
  .account-nav a[aria-current="true"] { outline: 2px solid Highlight; }
}

.account-links { display: flex; justify-content: center; gap: 20px; margin: 48px 0 0; color: var(--account-secondary); font-size: 13px; }
.account-links a { border-radius: 4px; }
.account-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-links a:focus-visible { outline: 3px solid var(--account-focus); outline-offset: 3px; }

@media (max-width: 720px) {
  .account-bar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 0; padding: 8px 16px 10px; }
  .account-brand { font-size: 23px; }
  .account-nav { grid-column: 1 / -1; grid-row: 2; }
  .account-nav a { flex: 1 1 0; min-width: 0; padding: 6px 8px; }
  .account-user { grid-column: 2; grid-row: 1; }
  .account-menu-button { padding: 3px; }
  .account-menu-name { display: none; }
  .account-main { padding: 28px 16px 40px; }
  .account-topbar h1 { font-size: 30px; }
  .account-subtitle { font-size: 16px; }
  #account-content { gap: 32px; margin-top: 28px; }
  .account-panel { scroll-margin-top: 24px; }
}
@media (max-width: 560px) {
  .account-row { padding: 12px 16px; }
  .account-row + .account-row::before { left: var(--account-inset, 16px); }
  .device-row { --account-inset: 66px; }
  .account-footnote { margin: 8px 16px 0; }
  .account-stats { grid-template-columns: minmax(0, 1fr); }
  .account-stat { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; }
  .account-stat + .account-stat::before { top: 0; bottom: auto; left: 16px; right: 0; border-left: 0; border-top: var(--account-hairline) solid var(--account-separator); }
  .account-stat span { color: var(--account-ink); font-size: 16px; }
  .account-stat strong { color: var(--account-secondary); font-size: 16px; font-weight: 400; letter-spacing: -0.01em; }
  .account-row-stack { flex-wrap: wrap; }
  .account-row.account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-row.account-actions > .account-button-plain { grid-column: 1 / -1; }
  .account-row-stack > .account-button { flex: 1 0 100%; }
  .account-button { min-height: 44px; padding: 0 20px; }
  .account-button-plain, .account-button-destructive { padding: 0 12px; }
  .account-delete-dialog { padding: 24px 20px 20px; }
  .account-delete-dialog .account-actions > .account-button { flex: 1 1 0; }
}

/* Footer legal line. */
footer .legal { color: #5d7360; }
footer .legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  footer .legal { width: 100%; line-height: 1.7; }
}

/* ---------------------------------------------------------------------- */
/* Attribution footers inside the sign-in and account shells. They reuse  */
/* the footer element without the landing page's mint bar.                */
/* ---------------------------------------------------------------------- */
footer.shell-footer {
  display: block; margin: 18px 0 0; padding: 0; border: 0; background: none;
  font-family: inherit; font-size: 12px; line-height: 1.6; text-align: center; color: var(--muted);
}
footer.shell-footer .legal { display: block; color: inherit; }
footer.shell-footer .legal a { text-decoration: underline; text-underline-offset: 3px; border-radius: 3px; }
footer.shell-footer .legal a:focus-visible { outline: 3px solid #33704a; outline-offset: 3px; }
.account-page footer.account-footer { margin: 48px 0 0; color: var(--account-secondary); font-family: var(--account-font); font-size: 13px; }
.account-page footer.account-footer .account-links { margin: 0 0 10px; }
.account-page footer.account-footer .legal a:focus-visible { outline-color: var(--account-focus); }
