/* Vidur — landing page
   Periwinkle canvas, indigo primary, soft wash behind a centred hero,
   alternating feature rows, a single-column FAQ, one coloured feedback panel.
   Light only: one palette, no dark variant and no theme switch. */

:root {
  --background: 218 41% 96%;
  --foreground: 227 60% 6%;
  --card: 0 0% 100%;
  --card-foreground: 227 60% 6%;
  --muted: 218 30% 92%;
  --muted-foreground: 215 16% 47%;
  --accent: 226 100% 94%;
  --accent-foreground: 232 63% 32%;
  --primary: 232 63% 53%;
  --good: 150 72% 26%;
  --primary-deep: 231 60% 30%;
  --primary-soft: 231 98% 76%;
  --primary-foreground: 0 0% 100%;
  --border: 222 40% 90%;
  --input: 222 30% 86%;
  --ring: 232 63% 53%;

  --radius: 14px;
  --radius-lg: 26px;
  --wrap: 68rem;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: Newsreader, ui-serif, Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px hsl(227 60% 6% / 0.05);
  --shadow-md: 0 4px 18px -6px hsl(227 60% 6% / 0.12);
  --shadow-lg: 0 24px 60px -28px hsl(227 60% 6% / 0.30);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

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

/* ---------- the wash ---------- */

.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 {
  top: -18rem; left: 50%; width: 62rem; height: 42rem; transform: translateX(-50%);
  background: radial-gradient(closest-side, hsl(var(--primary-soft) / 0.55), transparent);
}
.orb-2 {
  top: 8rem; right: -14rem; width: 40rem; height: 34rem;
  background: radial-gradient(closest-side, hsl(var(--accent) / 0.9), transparent);
}

/* ---------- shared ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.section-head { max-width: 40rem; }
.section-head.centred { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { margin-top: 14px; color: hsl(var(--muted-foreground)); font-size: 1.02rem; }

section { scroll-margin-top: 92px; }

/* ---------- nav ---------- */

.pillnav {
  position: sticky; top: 14px; z-index: 40;
  width: max-content; max-width: calc(100% - 28px);
  margin: 14px auto 0;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 8px 6px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card) / 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.mark { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.pillnav .mark { margin-right: 12px; }
.nav-link {
  padding: 7px 12px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; text-decoration: none;
  color: hsl(var(--muted-foreground));
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }

/* On a phone the pill stays one row: the mark on the left, the four links
   sharing what is left. They are sized to fit rather than allowed to wrap,
   which is what left "About" stranded on a line of its own. */
@media (max-width: 44rem) {
  .pillnav {
    width: calc(100% - 20px); max-width: none;
    flex-wrap: nowrap; justify-content: space-between;
    gap: 1px;
    padding: 5px 7px 5px 12px;
  }
  .pillnav .mark { flex: none; margin-right: 6px; font-size: 1rem; }
  .nav-link { padding: 7px 7px; font-size: 0.78rem; white-space: nowrap; }
}

@media (max-width: 24rem) {
  .pillnav { padding-left: 9px; gap: 0; }
  .pillnav .mark { margin-right: 3px; font-size: 0.94rem; }
  .nav-link { padding: 7px 5px; font-size: 0.72rem; }
}

@media (max-width: 21.5rem) {
  .pillnav { padding: 5px 4px 5px 7px; }
  .pillnav .mark { margin-right: 1px; font-size: 0.88rem; }
  .nav-link { padding: 7px 2px; font-size: 0.66rem; }
}

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

.hero { padding-block: clamp(72px, 12vw, 148px) clamp(64px, 9vw, 112px); text-align: center; }
.hero h1 {
  margin: 22px auto 0;
  max-width: 20ch;
  font-size: clamp(2.5rem, 6.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero-desc {
  margin: 26px auto 0; max-width: 46rem;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: hsl(var(--muted-foreground));
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 34px; padding: 14px 26px;
  border-radius: 999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.98rem; font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: background 0.15s, transform 0.15s;
}
.hero-cta:hover { background: hsl(var(--primary) / 0.9); transform: translateY(-1px); }

/* ---------- value proposition ---------- */

.value { padding-block: clamp(56px, 8vw, 96px); }
.value-row { margin-top: 52px; display: grid; gap: 20px; }
.value-item {
  padding: 34px 30px 32px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  background: hsl(var(--accent) / 0.55);
}
.value-item::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 3px;
  background: hsl(var(--primary)); margin-bottom: 22px;
}
.value-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.6rem);
  line-height: 1.2; letter-spacing: -0.015em;
  color: hsl(var(--foreground));
}
.value-text { margin-top: 14px; color: hsl(var(--muted-foreground)); font-size: 0.97rem; }
@media (min-width: 56rem) { .value-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- features ---------- */

.features { padding-block: clamp(56px, 8vw, 96px); }

/* the spine: one line down the section, filling as the page is scrolled,
   with a dot sitting at the level of each feature heading. */
.rows { position: relative; margin-top: 48px; padding-left: 40px; }
.spine {
  position: absolute; top: 0; bottom: 0; left: 7px;
  width: 2px; border-radius: 2px;
  background: hsl(var(--border));
}
.spine-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0;
  border-radius: 2px;
  background: linear-gradient(hsl(var(--primary) / 0.35), hsl(var(--primary)));
}
.dot {
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--background));
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.dot.on {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  box-shadow: 0 0 0 5px hsl(var(--primary) / 0.14);
}

.row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px;
  align-items: center;
  padding: clamp(40px, 5.5vw, 64px) 0;
}
.row-copy h3 { margin-top: 14px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.row-limit { margin-top: 16px; color: hsl(var(--muted-foreground)); font-size: 1.02rem; }
.bullets { margin-top: 26px; display: grid; gap: 14px; }
.bullets li { position: relative; padding-left: 22px; font-size: 0.97rem; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: hsl(var(--primary));
}

@media (min-width: 56rem) {
  .rows { padding-left: 0; }
  .spine { left: calc(50% - 1px); }
  .dot { left: calc(50% - 8px); }
  .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 104px; }
  .row-alt .row-copy { order: 2; }
  .row-alt .panel { order: 1; }
}

.panel {
  padding: clamp(20px, 3vw, 34px);
  border-radius: 20px;
  background: linear-gradient(150deg, hsl(var(--accent)), hsl(var(--primary) / 0.1));
}
.mock {
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.5);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--muted-foreground) / 0.3); }
.mock-url {
  flex: 1; margin-left: 8px;
  padding: 4px 10px; border-radius: 6px;
  background: hsl(var(--background));
  font-size: 0.68rem; color: hsl(var(--muted-foreground)); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border));
}
.mock-title { min-width: 0; font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-mark {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: hsl(var(--primary) / 0.14); color: hsl(var(--primary));
  font-size: 0.72rem; font-weight: 700;
}
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid hsl(var(--border));
}
.mock-thumb {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: hsl(var(--muted-foreground) / 0.14);
}
.mock-lines { flex: 1; min-width: 0; }
.mock-name, .mock-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-name { font-size: 0.83rem; font-weight: 600; }
.mock-sub { margin-top: 1px; font-size: 0.73rem; color: hsl(var(--muted-foreground)); }
.mock-chip {
  flex: none; padding: 4px 10px; border-radius: 7px;
  background: hsl(var(--muted) / 0.7);
  font-size: 0.7rem; color: hsl(var(--muted-foreground)); white-space: nowrap;
}
.mock-chip.good {
  background: hsl(var(--good) / 0.16);
  box-shadow: inset 0 0 0 1px hsl(var(--good) / 0.4);
  color: hsl(var(--good)); font-weight: 600;
}
.mock-foot {
  padding: 10px 16px; font-size: 0.73rem; color: hsl(var(--muted-foreground));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


/* ---------- who it is for ---------- */

.who { padding-block: clamp(56px, 8vw, 96px); }
.who-row { margin-top: 48px; display: grid; gap: 18px; }
.who-item {
  padding: 30px 28px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  background: hsl(var(--card));
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.who-item:hover {
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.who-item::before {
  content: ""; display: block; width: 30px; height: 3px; border-radius: 3px;
  background: hsl(var(--primary)); margin-bottom: 18px;
}
.who-item h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; }
.who-lead { margin-top: 12px; color: hsl(var(--foreground) / 0.78); font-size: 0.97rem; line-height: 1.6; }

.who-list {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid hsl(var(--border));
  display: grid; gap: 10px;
}
.who-list li {
  position: relative; padding-left: 20px;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem; line-height: 1.5;
}
.who-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--primary) / 0.55);
}

/* Two across at most: with four points under each heading, four columns
   would leave every line too narrow to read. */
@media (min-width: 46rem) { .who-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- comparison ---------- */

.compare { padding-block: clamp(56px, 8vw, 96px); }

/* The table keeps its shape at every width. When it no longer fits, this box
   scrolls sideways on its own so the page never does. */
.table-scroll {
  max-width: 58rem;
  margin: 46px auto 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 4px; }

.ctable {
  width: 100%;
  min-width: 31rem;               /* below this the columns would be unreadable */
  border-collapse: separate; border-spacing: 0;
  font-size: 0.95rem;
}
.ctable caption { caption-side: top; }

/* No vertical rules: the other two columns are plain, and Vidur's is a
   raised panel running the height of the table. */
.ctable thead th {
  padding: 0 16px 14px;
  text-align: left; vertical-align: bottom;
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}
.ctable tbody th {
  width: 30%;
  padding: 18px 22px 18px 0;
  text-align: left; vertical-align: middle;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  line-height: 1.4; color: hsl(var(--foreground));
  border-top: 1px solid hsl(var(--border));
}
.ctable tbody td {
  padding: 18px 16px;
  vertical-align: middle;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

/* ---- Vidur's column: the thing the eye is meant to land on ---- */

.ctable .c-us {
  width: 26%;
  background: hsl(var(--accent));
  /* the panel's own left and right edges, drawn cell by cell */
  box-shadow:
    inset 1px 0 0 hsl(var(--primary) / 0.28),
    inset -1px 0 0 hsl(var(--primary) / 0.28);
}
.ctable thead .c-us {
  padding: 14px 20px;
  border-radius: 14px 14px 0 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  box-shadow: 0 -10px 26px -12px hsl(var(--primary) / 0.55);
}
.ctable tbody .c-us {
  padding: 18px 20px;
  color: hsl(var(--foreground));
  font-weight: 600;
  border-top-color: hsl(var(--primary) / 0.16);
}
.ctable tbody tr:first-child .c-us { border-top-color: transparent; }
.ctable tbody tr:last-child .c-us {
  border-radius: 0 0 14px 14px;
  box-shadow:
    inset 1px 0 0 hsl(var(--primary) / 0.28),
    inset -1px 0 0 hsl(var(--primary) / 0.28),
    inset 0 -1px 0 hsl(var(--primary) / 0.28),
    0 18px 34px -22px hsl(var(--primary) / 0.6);
}
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 1px solid hsl(var(--border)); }
.ctable tbody tr:last-child .c-us { border-bottom-color: transparent; }

/* Once the box scrolls, it becomes a card, so the sideways scroll reads as
   the table's own rather than as the page being broken. The whole table
   moves together — nothing is pinned. */
@media (max-width: 64rem) {
  .table-scroll {
    padding: 4px 14px 16px;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    background: hsl(var(--card));
    box-shadow: var(--shadow-md);
  }
  .ctable { font-size: 0.8rem; }
  .ctable thead th { padding: 0 10px 10px; font-size: 0.64rem; letter-spacing: 0.08em; }
  .ctable thead .c-us { padding: 10px 12px; font-size: 0.72rem; letter-spacing: 0.1em; }
  .ctable tbody th { width: 30%; padding: 12px 14px 12px 0; font-size: 0.82rem; }
  .ctable tbody td { padding: 12px 10px; }
  .ctable tbody .c-us { padding: 12px 12px; }
}

/* ---------- questions ---------- */

.questions { padding-block: clamp(56px, 8vw, 96px); }
.qa-list { margin: 34px auto 0; max-width: 46rem; display: grid; gap: 10px; }
.qa {
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--card));
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.qa:hover { border-color: hsl(var(--primary) / 0.4); }
.qa[open] {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-md);
}
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 20px;
  cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.3;
  transition: color 0.15s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: hsl(var(--primary)); }
.qa summary:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: -3px; }
.qa .sign {
  position: relative; flex: none; width: 26px; height: 26px;
  border: 1px solid hsl(var(--border)); border-radius: 50%;
  background: hsl(var(--background));
  transition: background 0.2s, border-color 0.2s;
}
.qa .sign::before, .qa .sign::after {
  content: ""; position: absolute; left: 6.5px; top: 11.5px;
  width: 12px; height: 2px; border-radius: 2px;
  background: hsl(var(--muted-foreground));
  transition: transform 0.25s, background 0.2s;
}
.qa .sign::after { transform: rotate(90deg); }
.qa summary:hover .sign { border-color: hsl(var(--primary)); }
.qa[open] .sign { background: hsl(var(--primary)); border-color: hsl(var(--primary)); }
.qa[open] .sign::before, .qa[open] .sign::after { background: hsl(0 0% 100%); }
.qa[open] .sign::after { transform: rotate(0deg); }
.qa-body { overflow: hidden; }
.qa p {
  padding: 0 20px 16px 20px; max-width: 40rem;
  color: hsl(var(--muted-foreground)); font-size: 0.94rem; line-height: 1.55;
}

/* ---------- feedback ---------- */

.feedback { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 80px); }
.join {
  --on-ink: 0 0% 100%;
  display: grid; gap: 30px;
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid hsl(232 30% 30%);
  border-radius: 16px;
  background: linear-gradient(140deg, hsl(230 34% 11%), hsl(233 38% 19%));
  color: hsl(var(--on-ink));
  box-shadow: var(--shadow-lg);
}
.join-copy .pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: hsl(var(--on-ink) / 0.14);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.join-copy h2 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); color: hsl(var(--on-ink)); font-weight: 400; }
.join-copy h2 b { font-weight: 700; }
.join-copy p { margin-top: 12px; max-width: 26rem; color: hsl(var(--on-ink) / 0.72); }
@media (min-width: 58rem) { .join { grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; } }

.join-form { display: grid; gap: 16px; }
.field-row { display: grid; gap: 6px; }
.field-label { font-size: 0.82rem; font-weight: 600; }
.field-label .opt { font-weight: 400; color: hsl(var(--on-ink) / 0.55); }
.req { color: hsl(232 70% 74%); }
.join-form input:not([type="checkbox"]), .join-form textarea {
  width: 100%; padding: 10px 13px;
  border: 1px solid hsl(var(--on-ink) / 0.2); border-radius: 9px;
  background: hsl(var(--on-ink) / 0.07);
  color: hsl(var(--on-ink));
  font: inherit; font-size: 0.92rem;
}
.join-form textarea { resize: vertical; }
.join-form ::placeholder { color: hsl(var(--on-ink) / 0.42); }
.join-form input:not([type="checkbox"]):focus-visible, .join-form textarea:focus-visible {
  outline: 2px solid hsl(var(--on-ink) / 0.75); outline-offset: 1px;
}

.chips { margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0 0 9px; font-size: 0.82rem; font-weight: 600; }
.chips-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.chips label {
  padding: 8px 4px; text-align: center;
  border: 1px solid hsl(var(--on-ink) / 0.22); border-radius: 8px;
  font-size: 0.8rem; white-space: nowrap; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.chips label:hover { background: hsl(var(--on-ink) / 0.1); }
.chips input:checked + label { background: hsl(var(--on-ink)); border-color: hsl(var(--on-ink)); color: hsl(230 34% 11%); font-weight: 600; }
.chips input:focus-visible + label { outline: 2px solid hsl(var(--on-ink) / 0.85); outline-offset: 2px; }
@media (max-width: 34rem) { .chips-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chips-error { margin-top: 7px; font-size: 0.8rem; font-weight: 600; color: hsl(6 78% 72%); }

.submit {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border: 0; border-radius: 9px;
  background: hsl(var(--on-ink)); color: hsl(230 34% 11%);
  font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: opacity 0.15s;
}
.submit:hover { opacity: 0.88; }
.submit:disabled { cursor: progress; opacity: 0.6; }
.fineprint { margin-top: -6px; font-size: 0.74rem; color: hsl(var(--on-ink) / 0.55); }
.send-error { font-weight: 600; color: hsl(6 78% 72%); }

:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }

/* ---------- about page ---------- */

.hero-tight { padding-block: clamp(64px, 9vw, 104px) clamp(20px, 3vw, 34px); }
.about-lead { padding-block: 0 clamp(48px, 7vw, 84px); }

.letter {
  max-width: 46rem; margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-md);
}
.letter p { font-size: 1.06rem; line-height: 1.8; color: hsl(var(--foreground) / 0.86); }
.letter p + p { margin-top: 20px; }
.letter .lead { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; color: hsl(var(--foreground)); }
.letter b { font-weight: 600; color: hsl(var(--foreground)); }
.sign-off {
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid hsl(var(--border));
  font-family: var(--font-serif); font-size: 1.05rem; color: hsl(var(--muted-foreground));
}

.vows { max-width: 46rem; margin: 40px auto 0; display: grid; gap: 2px; }
.vow {
  display: grid; gap: 4px 22px;
  padding: 22px 4px;
  border-top: 1px solid hsl(var(--border));
}
.vow:last-child { border-bottom: 1px solid hsl(var(--border)); }
.vow-no {
  font-family: var(--font-serif); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: hsl(var(--primary));
}
.vow h3 { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.3; }
.vow p { margin-top: 8px; color: hsl(var(--muted-foreground)); font-size: 0.98rem; line-height: 1.65; }
@media (min-width: 46rem) {
  .vow { grid-template-columns: 6rem 1fr; }
  .vow-no { padding-top: 0.45rem; }
}

.about-close { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); text-align: center; }
.about-close h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.about-close p { margin: 14px auto 26px; max-width: 34rem; color: hsl(var(--muted-foreground)); }
