/* SimplyPIM marketing site — light-only editorial design.
   One stylesheet, no framework, no build step. Shared by every page under /public
   except the dashboard app (which has its own theme; the brand tokens here mirror it:
   indigo primary ≈ oklch(0.5 0.21 275), mark gradient primary → purple).

   Design language, deliberately NOT the stock SaaS template:
   - warm paper background with hairline keylines and a ruled "ledger" container
   - Fraunces (serif) display headings over a system sans body
   - numbered feature chapters with real product screenshots in browser frames
   - one accent hue; colour marks actions and emphasis, never decoration walls.

   Mobile-first: every layout rule is single-column by default and widens at
   min-width breakpoints (720px, 1000px). */

:root {
  color-scheme: light;

  /* paper + ink, with a whisper of the brand hue so white feels warm not grey */
  --paper: #fdfdfc;
  --paper-2: #f7f6f9;
  --ink: #17151f;
  --ink-2: #55516b;
  --ink-3: #8b87a0;
  --line: #e6e4ee;
  --line-strong: #cfccdd;

  /* brand — matches the dashboard: indigo primary, indigo→purple mark gradient */
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --brand-ink: #3730a3;
  --brand-wash: #eef2ff;
  --grad: linear-gradient(135deg, #4f46e5, #9333ea);

  --ok: #067647;
  --warn-bg: #fffaeb;
  --warn-border: #fedf89;
  --warn-ink: #93370d;
  --err: #b42318;

  --radius: 10px;
  --radius-lg: 16px;

  --shadow-lg: 0 24px 60px -18px rgb(23 21 31 / .22), 0 6px 18px -8px rgb(23 21 31 / .12);
  --shadow-md: 0 10px 30px -12px rgb(23 21 31 / .16);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --topbar: 60px;
  --container: 1140px;
  --ease: 160ms cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------------- base */

* { box-sizing: border-box; }

/* Author display rules (e.g. .notice { display:flex }) would otherwise override the
   `hidden` attribute — this keeps hidden meaning hidden, for everything but the nav
   (whose mobile disclosure handles its own visibility). */
[hidden]:not(.site-nav) { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 20px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 550;
  letter-spacing: -.015em;
  line-height: 1.12;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; color: var(--brand); }

p { margin: 0 0 1em; }
a { color: var(--brand-strong); text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

:where(button, input, select, textarea, a, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::placeholder { color: var(--ink-3); opacity: 1; }
::selection { background: #ded9ff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; transition: top var(--ease);
}
.skip-link:focus { top: 12px; }

.muted { color: var(--ink-2); font-weight: 400; }

/* ------------------------------------------------------------------ chrome */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--topbar); gap: 16px; flex-wrap: wrap;
}

.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 1.05rem; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
}
.logo .mark {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-size: .85rem; font-weight: 700;
  box-shadow: 0 1px 3px rgb(79 70 229 / .35);
}
.logo .dim { color: var(--brand); }

.nav-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px;
  background: none; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav {
  display: flex; flex-direction: column; gap: 4px;
  flex-basis: 100%; padding: 6px 0 14px;
}
.site-nav[hidden] { display: none; }
.nav-link {
  color: var(--ink-2); text-decoration: none; font-size: .95rem;
  padding: 8px 10px; border-radius: 8px;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.site-nav .sep { display: none; }

@media (min-width: 720px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; flex-direction: row; align-items: center; gap: 2px;
    flex-basis: auto; padding: 0;
  }
  .site-nav .sep { display: block; width: 1px; height: 18px; background: var(--line-strong); margin: 0 10px; }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius); border: 1px solid transparent;
  padding: 10px 18px; font-size: .95rem; font-weight: 550;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn.primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 1px 2px rgb(79 70 229 / .4), inset 0 1px 0 rgb(255 255 255 / .12);
}
.btn.primary:hover { background: var(--brand-strong); }
.btn.primary::after { content: "→"; font-family: var(--font-sans); transition: transform var(--ease); }
.btn.primary:hover::after { transform: translateX(3px); }
.btn.primary.no-arrow::after { content: none; }
.btn.outline { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn.outline:hover { border-color: var(--ink-3); background: var(--paper-2); }
.btn.sm { padding: 7px 14px; font-size: .9rem; }
.btn.lg { padding: 13px 24px; font-size: 1rem; border-radius: 12px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------- hero */

.hero { position: relative; padding: 56px 0 32px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 380px at 88% -10%, rgb(79 70 229 / .10), transparent 65%),
    radial-gradient(520px 340px at -10% 30%, rgb(147 51 234 / .07), transparent 60%);
}
.hero .grid { position: relative; display: grid; gap: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}

.hero h1 { margin-top: 14px; max-width: 15ch; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }

.assurances {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  color: var(--ink-2); font-size: .9rem;
}
.assurances li { display: flex; align-items: center; gap: 7px; }
.assurances li::before {
  content: ""; width: 5px; height: 5px; border-radius: 1px;
  background: var(--brand); transform: rotate(45deg); flex: none;
}

@media (min-width: 1000px) {
  .hero { padding: 84px 0 48px; }
  .hero .grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 56px; }
}

/* ------------------------------------------------ screenshots in a frame */

.shot-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-frame .chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.shot-frame .dots { display: flex; gap: 5px; }
.shot-frame .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot-frame .addr {
  flex: 1; max-width: 340px; margin: 0 auto;
  font-size: .72rem; color: var(--ink-3); text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-mono);
}
.shot-frame img { width: 100%; }

/* -------------------------------------------------------------- logo strip */

.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip .row {
  display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: baseline;
  padding: 16px 20px; justify-content: center;
  color: var(--ink-3); font-size: .88rem; font-weight: 550; letter-spacing: .02em;
}
.strip .row .lead { color: var(--ink-2); font-weight: 400; font-style: italic; font-family: var(--font-serif); }

/* ---------------------------------------------------------------- sections */

.section { padding: 64px 0; }
.section.tight { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.section-head .trial-line { color: var(--ink); font-size: .98rem; }
.section-head.centered { margin-inline: auto; text-align: center; }

@media (min-width: 1000px) {
  .section { padding: 96px 0; }
}

/* -------------------------------------------------------- feature chapters */

.chapter {
  display: grid; gap: 28px;
  padding: 48px 0;
}
.chapter + .chapter { border-top: 1px dashed var(--line-strong); }

.chapter .copy { max-width: 470px; }

.chapter-index {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px;
}
.chapter-index .no {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: var(--brand);
}
.chapter-index .rule { flex: 1; max-width: 64px; height: 1px; background: var(--line-strong); align-self: center; }
.chapter-index .tag {
  font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}

.chapter h3 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); }
.chapter .copy > p { color: var(--ink-2); }

.chapter .answer {
  border-left: 2px solid var(--brand);
  padding: 2px 0 2px 14px; margin: 18px 0 0;
  font-size: .95rem; color: var(--ink);
}
.chapter .answer b { font-weight: 650; }

.chapter ul.points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.chapter ul.points li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.chapter ul.points li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px;
  background: var(--brand); border-radius: 1px; transform: rotate(45deg);
}

@media (min-width: 1000px) {
  .chapter { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: center; gap: 64px; padding: 72px 0; }
  .chapter.flip .copy { order: 2; }
  .chapter.flip .shot-frame { order: 1; }
}

/* ------------------------------------------------------------ extras grid */

.extras {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.extra { background: var(--paper); padding: 22px 24px; }
.extra h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-bottom: 6px; }
.extra p { color: var(--ink-2); font-size: .92rem; margin: 0; }

@media (min-width: 720px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .extras { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------- steps */

.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 26px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-style: italic;
  color: var(--brand); font-size: 1.1rem;
  display: block; margin-bottom: 10px;
}
.step h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }

@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------- plans */

.plans { display: grid; gap: 20px; align-items: start; }

.plan {
  position: relative; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
}
.plan.popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
}
.plan .badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 650; letter-spacing: 0; margin: 0 0 2px; }
.plan .limit { color: var(--ink-2); font-size: .9rem; margin: 0 0 14px; }
.plan .price { display: flex; align-items: baseline; gap: 5px; margin: 0 0 16px; }
.plan .amount { font-family: var(--font-serif); font-size: 2.3rem; font-weight: 550; letter-spacing: -.02em; }
.plan .per { color: var(--ink-3); font-size: .92rem; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 9px; }
.plan li { display: flex; align-items: flex-start; gap: 9px; font-size: .93rem; color: var(--ink-2); }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--ok); }
.plan li:not(:has(svg))::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px;
  background: var(--ok); border-radius: 1px; transform: rotate(45deg);
}

.billing-note { color: var(--ink-2); font-size: .9rem; margin-top: 22px; }

@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------------------------------------------- notices */

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 26px;
  font-size: .95rem;
}
.notice .notice-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.notice .notice-icon svg { width: 100%; height: 100%; }
.notice.ok { background: #ecfdf3; border: 1px solid #abefc6; color: #085d3a; }
.notice.warn { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-ink); }

/* ------------------------------------------------------------------ tables */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.compare thead th {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); background: var(--paper-2); font-weight: 650;
}
.compare tbody tr:last-child :is(th, td) { border-bottom: 0; }
.compare tbody th { font-weight: 550; }
.compare td.yes { color: var(--ok); font-weight: 550; }
.compare td.no { color: var(--ink-3); }

/* --------------------------------------------------------------------- faq */

.faq { max-width: 720px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 40px 18px 0; font-weight: 550; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--brand);
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; max-width: 62ch; }

/* ---------------------------------------------------------------- cta band */

.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 44px 28px; text-align: center;
  background:
    radial-gradient(480px 260px at 15% -30%, rgb(79 70 229 / .10), transparent 60%),
    radial-gradient(420px 240px at 90% 130%, rgb(147 51 234 / .09), transparent 60%),
    var(--paper);
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--ink-2); max-width: 52ch; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; }

@media (min-width: 720px) { .cta-band { padding: 60px 48px; } }

/* ------------------------------------------------------------------ footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 48px 0 28px;
  font-size: .92rem;
}
.site-footer .cols { display: grid; gap: 32px; }
.site-footer .about p { color: var(--ink-2); max-width: 34ch; margin: 12px 0 0; }
.site-footer nav h2 {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 12px;
}
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .base {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px;
  color: var(--ink-3);
}
.site-footer .base p { margin: 0; }
.site-footer .base a { color: inherit; }

@media (min-width: 720px) {
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
}

/* ----------------------------------------------------------- cookie banner */

.cookie-card {
  position: fixed; z-index: 90;
  inset: auto 12px 12px 12px;
  background: var(--ink); color: #f4f2fa;
  border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.5;
}
.cookie-card p { margin: 0 0 12px; }
.cookie-card a { color: #c4bdff; }
.cookie-card .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-card button {
  border-radius: 8px; padding: 8px 14px; font-size: .88rem; font-weight: 550;
  cursor: pointer; border: 1px solid transparent;
}
.cookie-card .accept { background: #fff; color: var(--ink); }
.cookie-card .essential { background: none; border-color: rgb(255 255 255 / .35); color: #f4f2fa; }
.cookie-card button:hover { opacity: .9; }

@media (min-width: 720px) {
  .cookie-card { inset: auto auto 20px 20px; max-width: 380px; }
}

/* ------------------------------------------------------------- legal pages */

.page-head { padding: 48px 0 8px; }
.page-head .crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }
.page-head .crumbs a { color: inherit; }
.page-head .updated { color: var(--ink-3); font-size: .9rem; }

.prose { max-width: 720px; padding-bottom: 72px; }
.prose h2 {
  font-size: 1.35rem; margin-top: 2.2em;
  padding-top: 1.1em; border-top: 1px solid var(--line);
}
.prose h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 650; letter-spacing: 0; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.prose table th, .prose table td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose table th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
/* Narrow screens: the table itself scrolls rather than the page. */
@media (max-width: 719px) {
  .prose table { display: block; overflow-x: auto; }
}

/* -------------------------------------------------------------- auth pages */

body.auth {
  min-height: 100dvh; display: flex; flex-direction: column;
  background:
    radial-gradient(560px 320px at 85% -10%, rgb(79 70 229 / .08), transparent 60%),
    var(--paper);
}
.auth-top { padding: 22px 24px; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 12px 20px 32px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 30px 26px;
}
.auth-card h1 { font-size: 1.65rem; }
.auth-card .sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.auth-card .alt { margin: 18px 0 0; font-size: .92rem; color: var(--ink-2); text-align: center; }
.auth-foot { padding: 18px 24px 26px; text-align: center; font-size: .88rem; color: var(--ink-3); }
.auth-foot a { color: inherit; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input {
  border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 10px 12px; background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(79 70 229 / .18); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field .hint { color: var(--ink-3); font-size: .8rem; margin: 0; }
.field .msg { color: var(--err); font-size: .82rem; margin: 0; min-height: 0; }
.field .msg:empty { display: none; }

.form-error {
  background: #fef3f2; border: 1px solid #fecdca; color: var(--err);
  border-radius: 9px; padding: 10px 14px; font-size: .9rem; margin-bottom: 16px;
}
.plan-note {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--brand-wash); border: 1px solid #c7d2fe; color: var(--brand-ink);
  border-radius: 9px; padding: 10px 14px; font-size: .9rem; margin: 0 0 16px;
}
.plan-note .notice-icon { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.plan-note .notice-icon svg { width: 100%; height: 100%; }

/* --------------------------------------------------------- reduced motion */

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