:root {
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", system-ui, sans-serif;
  color: #fafaf9;
  background: #0c0a09;
  --muted: #b0a9a3;
  --edge: #302a26;
  --rose: #fb91b3;
  --accent-a: #34d399;
  --accent-b: #2dd4bf;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.14; letter-spacing: -.045em; }
.wide { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.nav { position: sticky; z-index: 2; top: 0; background: #0c0a09e8; border-bottom: 1px solid #1d1917; backdrop-filter: blur(16px); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.25rem; font-weight: 300; }
.pill { min-height: 44px; padding: .6rem 1.3rem; border: 1px solid transparent; border-radius: 50px; display: inline-flex; justify-content: center; align-items: center; gap: .65rem; text-align: center; font-weight: 530; background: transparent; transition: background .16s, border-color .16s; }
.primary { background: #fff; color: #211a18; }
.primary:hover { background: #ffe1eb; }
.quiet { background: #ffffff12; border-color: #ffffff13; }
.quiet:hover, .quiet[aria-pressed="true"] { background: #ffffff24; border-color: #ffffff40; }
.plain { color: var(--muted); }
.plain:hover, .back:hover { color: #fff; }
.hero { display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 4.6rem); padding: 3rem 1.5rem; text-align: center; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .24; background: radial-gradient(ellipse 36% 44% at 43% 44%, color-mix(in srgb, var(--accent-a) 60%, transparent), transparent 80%), radial-gradient(ellipse 38% 45% at 65% 60%, #883549, transparent 80%); }
.hero-content { width: min(100%, 55rem); }
.portrait { display: block; width: clamp(80px, 11vw, 112px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px #fa648830, 0 14px 42px #fb718522; margin: 0 auto 1.4rem; }
.rotator { margin-bottom: 1.35rem; }
.wordmark { font-size: clamp(2.85rem, 9vw, 6rem); font-weight: 300; letter-spacing: -.065em; line-height: 1.05; }
#type-prefix, #closing-kind, .type-prefix { color: var(--accent-a); background: linear-gradient(110deg, var(--accent-a), var(--accent-b)); background-clip: text; -webkit-text-fill-color: transparent; }
.type-description { margin-top: .5rem; color: var(--muted); }
.hero h1 { font-size: clamp(2rem, 5.3vw, 3rem); color: #d7d2ce; }
.hero h1 span, #closing-kind { display: block; }
.hero h1 span { color: #fff; }
.translation { margin-top: 1rem; color: var(--muted); font-size: .9rem; font-style: italic; }
.lead { margin: .65rem auto 1.5rem; max-width: 34rem; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1rem; }
.preview-note, .demo-limit { margin-top: .9rem; color: var(--muted); font-size: .83rem; }
.notify { width: min(100%, 30rem); margin: 1.5rem auto 0; padding: 1.1rem 1.2rem; border: 1px solid var(--edge); border-radius: 1rem; text-align: left; background: #151110; }
.notify h2 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.02em; }
.notify p { color: var(--muted); font-size: .88rem; }
.notify #notify-description { margin: .35rem 0 .75rem; }
.notify label { display: block; margin-bottom: .25rem; font-size: .85rem; }
.notify-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: .55rem; }
.notify input { min-width: min(100%, 12rem); flex: 1 1 12rem; min-height: 44px; border: 1px solid #74655e; border-radius: .55rem; padding: .55rem .75rem; color: inherit; background: #0c0a09; font: inherit; }
.notify button { flex: 0 1 auto; }
.notify button:disabled { opacity: .65; cursor: wait; }
.notify #notify-status:not(:empty) { margin-top: .65rem; color: #fff; }
.dots { display: flex; flex-wrap: wrap; justify-content: center; margin-top: .65rem; }
.dot { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; }
.dot::after { content: ""; width: 7px; height: 7px; border-radius: 7px; background: #817872; }
.dot[aria-pressed="true"]::after { width: 20px; background: #fff; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.section h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--rose); font-size: .76rem; font-weight: 600; margin-bottom: .65rem; }
.type-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin-top: 2.5rem; }
.type-card, .steps article { border: 1px solid var(--edge); border-radius: 1rem; background: #1a1614; text-align: left; padding: 1.1rem; }
.type-card:hover { border-color: #82716b; }
.type-card span { display: block; }
.type-card .type-prefix { font-size: 1.4rem; }
.type-card .type-suffix { color: #a99f97; font-weight: 300; }
.type-card .type-summary { color: var(--muted); font-size: .8rem; margin-top: .4rem; }
.shaded { background: #151110; border-block: 1px solid #241d19; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.steps article { padding: 1.6rem; }
.steps h3 { font-size: 1.35rem; margin-bottom: .65rem; }
.steps p, .story p:last-child, .philosophy p { color: var(--muted); }
.story p:last-child, .philosophy p { width: min(100% - 3rem, 42rem); margin: 1.1rem auto 0; }
.philosophy h2 span { color: var(--rose); }
.closing { background: linear-gradient(180deg, transparent, #18120f); }
.glow { margin-top: 1.75rem; background: linear-gradient(115deg, #ed487f, #fca45c); color: #210c15; font-weight: 650; }
#how-it-works { scroll-margin-top: 4.6rem; }
.site-footer { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; padding-block: 1.8rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) {
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .wide { width: calc(100% - 2rem); }
  .nav-inner { min-height: 4rem; }
  .hero { min-height: calc(100svh - 4rem); padding-inline: 1rem; }
  .hero .actions .pill { width: 100%; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  #how-it-works { scroll-margin-top: 4rem; }
}
