html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 5rem; }

/* gentle fade-in on scroll; items are only hidden when JavaScript is running (html.js) */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .05s; } .js .reveal.d2 { transition-delay: .1s; } .js .reveal.d3 { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.sec { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--surface); }
.sec.alt { background: var(--bg); border-block: 1px solid var(--border); }
.sec-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.sec-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: .8rem; text-wrap: balance; }
.sec-head p { color: var(--text-2); font-size: 1.125rem; margin: 0; }
.sec-head p.eyebrow { margin-bottom: .6rem; color: var(--accent); font-size: .875rem; font-weight: 600; }

/* ---------- hero ---------- */
.h-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow-x: clip; }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.h-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 1rem; text-wrap: balance; }
.h-hero .lead { max-width: 28rem; margin: 0 0 1.6rem; font-size: 1.2rem; }
.h-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.h-cta .button { padding: .7rem 1.4rem; font-size: 1rem; min-height: 48px; }
.h-call { display: flex; gap: .75rem; align-items: center; max-width: 30rem; margin: 1.1rem 0 1.5rem; padding: .7rem .95rem; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); font-size: 1rem; line-height: 1.4; }
.h-call svg { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 10px; background: var(--btn); color: var(--on-accent); flex: none; }
.h-call strong { color: var(--text); }
.h-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; padding: 0; margin: 1.3rem 0 0; color: var(--muted); font-size: .9rem; }
.h-trust li { display: inline-flex; gap: .4rem; align-items: center; }
.h-trust svg { width: 1.05rem; height: 1.05rem; color: var(--ok); flex: none; }
.h-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.8rem 0 0; }
.h-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .45rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); font-size: .85rem; font-weight: 500; color: var(--text-2); }
.h-chips svg { width: 1.35rem; height: 1.35rem; flex: none; }

/* real screenshots, light and dark versions (the page's theme picks one) */
.shot-l, .shot-d { display: block; width: 100%; height: auto; }
.shot-d { display: none; }
:root[data-theme="dark"] .shot-l { display: none; }
:root[data-theme="dark"] .shot-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-l { display: none; }
  :root:not([data-theme="light"]) .shot-d { display: block; }
}

.frame { background: var(--surface); border: 1px solid var(--border-strong, var(--border)); border-radius: 14px; box-shadow: var(--shadow-lg, var(--shadow)); overflow: hidden; position: relative; }
.frame-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; border-bottom: 1px solid var(--border); background: var(--bg); font-size: .8rem; font-weight: 600; color: var(--text-2); }
.frame-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--border-strong, var(--border)); flex: none; }
.frame-bar span { margin-left: .6rem; }
.frame-bar em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--muted); }

.h-visual { position: relative; padding: 0 0 2.5rem; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--border-strong, var(--border)); box-shadow: var(--shadow-lg, var(--shadow)); overflow: hidden; }
.float img { width: 100%; height: auto; }
.float-mail { left: -2.2rem; bottom: 0; width: 38%; border-radius: 12px; }
.float-phone { right: -1rem; bottom: -.5rem; width: 20%; border-radius: 18px; border-width: 3px; }
@media (max-width: 62rem) { .h-hero-grid { grid-template-columns: minmax(0, 1fr); } .h-visual { padding-bottom: 3rem; } .float-mail { left: -.5rem; } .float-phone { right: -.25rem; } }
@media (max-width: 34rem) { .h-chips { display: none; } .float-mail { width: 46%; } .float-phone { width: 26%; } .h-cta .button { width: 100%; } .h-visual { padding-bottom: 2rem; } }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.step { display: flex; flex-direction: column; }
.step-img { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; margin-bottom: 1.1rem; display: flex; align-items: flex-start; }
.step-img img { width: 100%; height: auto; }
.step-mail img { width: 100%; }
.step h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 650; margin: 0 0 .3rem; }
.step h3 span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .9rem; font-weight: 700; flex: none; }
.step p { margin: 0; color: var(--text-2); }
@media (max-width: 52rem) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; } .step-img { aspect-ratio: auto; } }

/* ---------- video ---------- */
.demo .frame-video { max-width: 64rem; margin-inline: auto; }
.demo-video { width: 100%; height: auto; background: var(--bg); aspect-ratio: 16 / 10; }
.demo-play { position: absolute; inset: 2.4rem 0 0 0; display: grid; place-items: center; width: 100%; border: 0; background: color-mix(in srgb, var(--bg) 35%, transparent); cursor: pointer; }
.demo-play[hidden] { display: none; }
.demo-play svg { width: 4.2rem; height: 4.2rem; padding: 1.1rem 1rem 1.1rem 1.3rem; border-radius: 50%; background: var(--btn); fill: var(--on-accent); box-shadow: var(--shadow); }

/* ---------- features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.tile-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tile-card h3 { font-size: 1.1rem; font-weight: 650; margin: .9rem 0 .25rem; }
.tile-card p { margin: 0; color: var(--text-2); }
.tc-img { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.tc-phone { justify-content: center; }
.tc-tasks { grid-column: span 4; } .tc-phone { grid-column: span 2; grid-row: span 2; } .tc-cal { grid-column: span 4; }
.tc-icon { grid-column: span 2; justify-content: flex-start; }
.tc-icon svg { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.tc-fade { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); border-bottom: 0; }
.tc-img-phone { max-width: 15rem; margin-inline: auto; border-radius: 18px; border-width: 3px; }
@media (max-width: 62rem) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc-tasks, .tc-cal { grid-column: 1 / -1; } .tc-phone, .tc-icon { grid-column: span 1; grid-row: auto; } .tc-icon:last-child { grid-column: 1 / -1; } }
@media (max-width: 36rem) { .bento { grid-template-columns: minmax(0, 1fr); } .tc-phone, .tc-icon { grid-column: 1 / -1; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; max-width: 72rem; margin-inline: auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .tag { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; margin-bottom: 1rem;
  background: var(--accent-soft); color: var(--accent); }
.plan.soon .tag { background: var(--panel); color: var(--muted); }
.plan h3 { font-size: 1.15rem; font-weight: 650; margin: 0; }
.price { font-size: 2.75rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: .4rem 0 .3rem; }
.price small { font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan > p { color: var(--muted); margin: 0 0 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .65rem; }
.plan li { display: flex; gap: .65rem; align-items: flex-start; }
.plan li svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .25rem; color: var(--ok); }
.plan .button { margin-top: auto; }
.plan .button[aria-disabled=true] { background: var(--panel); color: var(--muted); border-color: var(--border); cursor: default; box-shadow: none; }
@media (max-width: 44rem) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.faq details { margin: 0; border-top: 1px solid var(--border); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3.2rem 1.05rem 1.3rem; font-weight: 600; font-size: 1rem; position: relative; min-height: 0; display: block; }
.faq summary::before { content: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.faq .ans p { margin: 0 0 .7rem; } .faq .ans p:last-child { margin: 0; }

/* ---------- final call to action ---------- */
.final { text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--surface); }
.final h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; max-width: 22ch; margin: 0 auto 1rem; text-wrap: balance; }
.final p { color: var(--text-2); font-size: 1.125rem; max-width: 34rem; margin: 0 auto 1.8rem; }
.final .h-cta { justify-content: center; }
.final .mark { margin: 0 auto 1.4rem; display: block; }

/* ---------- compare table (collapsed) ---------- */
.plans-note { text-align: center; color: var(--muted); max-width: 40rem; margin: 1.5rem auto 0; }
@media (max-width: 52rem) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 28rem; } }

.plan-compare { max-width: 72rem; margin: 1.5rem auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.plan-compare summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; }
.plan-compare-body { overflow-x: auto; }
.plan-compare table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.plan-compare caption { text-align: left; padding: 1rem 1.25rem .25rem; font-weight: 650; }
.plan-compare th, .plan-compare td { padding: .7rem 1.25rem; text-align: left; border-top: 1px solid var(--border); }
.plan-compare thead th { color: var(--muted); font-size: .85rem; font-weight: 600; }
.plan-compare tbody th { font-weight: 500; }
.plan-compare td { color: var(--muted); }
.plan-compare td:nth-child(2) { color: var(--text); font-weight: 600; }

/* With the reminder cards behind the page, the section backgrounds let them show through */
.has-float .sec, .has-float .h-hero, .has-float .final { background: color-mix(in srgb, var(--surface) 52%, transparent); }
.has-float .sec.alt { background: color-mix(in srgb, var(--bg) 52%, transparent); }

/* ---- everyday uses ---- */
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.use { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.2rem 1.3rem; min-width: 0; transition: border-color .15s, transform .15s, box-shadow .15s; }
.use:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-2px); box-shadow: var(--shadow); }
.use-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.use-ic svg { width: 1.4rem; height: 1.4rem; }
.use h3 { font-size: 1.1rem; font-weight: 650; margin: .85rem 0 .15rem; }
.use p { margin: 0 0 .7rem; color: var(--text-2); font-size: .94rem; }
.use ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.use li { position: relative; padding-left: 1.05rem; font-size: .92rem; color: var(--text); }
.use li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .38rem; height: .38rem; border-radius: 50%; background: var(--accent); opacity: .55; }
.uses-more { margin: 1.8rem 0 0; text-align: center; color: var(--text-2); }
@media (max-width: 62rem) { .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .uses-grid { grid-template-columns: minmax(0, 1fr); } }
#uses { border-top: 1px solid var(--border); }
