/* getnextring.com: Next Ring by Fractalic Studio. One file, no shared studio CSS.
   Brand: web/nr-brand/README.md (mark, colours, type). The --nr-* block below is web/nr-brand/tokens.css verbatim:
   change the generator there, rebuild, then copy the block here. */

/* Next Ring brand tokens. Generated by web/build/nr-brand/build.py; rules in web/nr-brand/README.md. */
:root {
  --nr-brand: #04708E;  /* buttons, links, the mark tile; white text on it 5.66:1 */
  --nr-brand-hover: #025B75;  /* hover and pressed; white text on it 7.62:1 */
  --nr-brand-soft: #E5F7FF;  /* tinted background (selected nav item, notes); brand text on it 5.14:1 */
  --nr-brand-on-dark: #51C7F1;  /* links and accents on ink; 9.67:1 on #0B1120 */
  --nr-ink: #0B1120;  /* text, dark ground (studio neutral) */
  --nr-graphite: #4B5563;  /* secondary text (studio neutral) */
  --nr-fog: #E5E7EB;  /* borders, dividers (studio neutral) */
  --nr-paper: #F9FAFB;  /* page ground (studio neutral) */
  --nr-white: #FFFFFF;  /* cards, white text */
}

:root {
  --ground: var(--nr-paper);
  --line: var(--nr-fog);
  --ink: var(--nr-ink);
  --muted: var(--nr-graphite);
  --accent: var(--nr-brand);
  --accent-hover: var(--nr-brand-hover);
  --accent-soft: var(--nr-brand-soft);
  --on-dark-accent: var(--nr-brand-on-dark);
  --dark: var(--nr-ink);
  /* Site-only values, all from the studio's gray family (the kit's neutrals are its members) except one tint. */
  --well: #F3F4F6;        /* section ground, one step under paper */
  --ink-2: #374151;       /* long copy one step under ink: 9.9:1 on paper */
  --accent-line: #AEE1F6; /* the brand hue at OKLCH L .88: edge of the slot chip on the soft ground */
  --dark-card: #111827;   /* one step over ink: the on-call cards */
  --dark-line: #1F2937;   /* rules and card edges on ink */
  --dark-ink: #D1D5DB;    /* text on ink: 12.8:1 */
  --dark-muted: #9CA3AF;  /* secondary text on ink, the lockup's line colour: 7.4:1 */
  --shadow: 0 1px 2px rgba(11, 17, 32, .06), 0 10px 30px -12px rgba(11, 17, 32, .18);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  /* Inter only, as the kit, the studio site and Review Machine; the opsz axis gives display sizes Inter's display cut. */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-small: 15px;
  --fs-body: 17px;
  --fs-lede: 21px;
  --fs-h2: clamp(30px, 3.3vw, 42px);  /* Inter: 42 px matches the x-height Outfit had at 44 */
  --fs-h1: clamp(40px, 6.2vw, 74px);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: clip; background: var(--ground); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-soft); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.02em; font-weight: 600; }
h3 { font-size: var(--fs-lede); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.note { font-size: var(--fs-small); color: var(--muted); }
.lede--wide { max-width: 56ch; margin-top: 18px; }
.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; }
.label { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }

/* buttons: one filled tier, one text tier */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: var(--fs-body);
  text-decoration: none; touch-action: manipulation; user-select: none;
  transition: background-color 180ms ease, transform 120ms ease;
}
.btn:active { transform: translateY(1px); }
.tlink { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; transition: text-decoration-color 180ms ease, color 180ms ease; }
.tlink:active { color: var(--accent-hover); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); }
  .tlink:hover { text-decoration-color: var(--accent); }
  .bar__nav a:hover { color: var(--ink); background: var(--well); }
  .foot a:hover { color: #fff; }
  .brand__by:hover { color: var(--accent); text-decoration-color: var(--accent); }
  .foot .foot__brand a:hover { text-decoration-color: currentColor; }
  .clients__in a:hover { filter: none; opacity: 1; }
}

/* header */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(249, 250, 251, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; flex: 0 0 auto; min-height: 38px; padding-left: 50px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand__mark { position: absolute; left: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; }
.brand__by { align-self: flex-start; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 180ms ease, text-decoration-color 180ms ease; }
.brand__by:active { color: var(--accent-hover); }
.bar__nav { display: flex; gap: 4px; }
.bar__nav a { padding: 8px 11px; border-radius: var(--r-s); color: var(--ink-2); text-decoration: none; font-size: var(--fs-small); font-weight: 500; transition: background-color 180ms ease, color 180ms ease; }
.bar__end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.bar .btn { min-height: 42px; padding: 0 18px; font-size: var(--fs-small); }
@media (max-width: 899px) { .bar__nav { display: none; } .bar__in { gap: 12px; } }
@media (max-width: 380px) { .brand__by { font-size: 12px; } .bar .btn { padding: 0 14px; } }

main section[id] { scroll-margin-top: 84px; }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--well { background: var(--well); }
.sec--tight { padding-block: clamp(48px, 6vw, 80px); }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero__h1 { max-width: 21ch; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
@media (max-width: 899px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* clients: the businesses it is set up for, under the hero as on getreviewmachine.com */
.clients { padding-block: 26px; border-block: 1px solid var(--line); background: var(--nr-white); }
.clients__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 44px; }
.clients__in p { font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
.clients__in a { display: block; border-radius: 4px; filter: grayscale(1); opacity: .72; transition: filter 250ms ease, opacity 250ms ease; }
.clients__in a:focus-visible, .clients__in a:active { filter: none; opacity: 1; }
.clients__in img { height: 30px; width: auto; }
@media (max-width: 599px) { .clients__in { gap: 12px 28px; } .clients__in p { flex-basis: 100%; text-align: center; } }
@media (max-width: 380px) { .clients__in img { height: 26px; } }

/* the call, as it happens */
.flow { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.flow__step { position: relative; padding-left: 30px; }
.flow__step::before { content: ""; position: absolute; left: 6px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 4px #fff; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: -18px; width: 1px; background: var(--line); }
.flow__step--on::before { background: var(--accent); }
.flow__step .label { display: block; margin-bottom: 4px; }
.flow__say { margin-top: 10px; padding: 16px 18px; border-radius: var(--r-m); background: var(--accent-soft); font-size: 18px; line-height: 1.45; color: var(--ink); }
.slot { font-family: var(--font-mono); font-size: .86em; background: #fff; border: 1px solid var(--accent-line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.flow__out { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.flow__out li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-2); }
.flow__out svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* split sections: heading column + body column */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split__body { display: flex; flex-direction: column; gap: 20px; max-width: 64ch; }
.split--mirror { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--mirror > .split__body { order: 2; }
@media (max-width: 899px) { .split, .split--mirror { grid-template-columns: minmax(0, 1fr); } .split--mirror > .split__body { order: 0; } }
.quote { margin: 8px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }

/* languages: a short exchange */
.talk { margin: 0; display: grid; gap: 12px; }
.talk__line { max-width: 46ch; padding: 14px 18px; border-radius: var(--r-m); font-size: var(--fs-body); line-height: 1.5; }
.talk__line .label { display: block; margin-bottom: 2px; }
.talk__line--caller { background: #fff; border: 1px solid var(--line); justify-self: start; }
.talk__line--agent { background: var(--ink); color: var(--dark-ink); justify-self: end; }
.talk__line--agent .label { color: var(--dark-muted); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.langs li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-small); font-weight: 500; }

/* pace: a statement at section size */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin-top: 40px; }
@media (max-width: 1099px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts p { border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 699px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* transfers: what your specialist hears */
.whisper { margin: 0; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.whisper__line { font-family: var(--font-mono); font-size: 15.5px; line-height: 1.6; color: var(--ink); background: var(--well); border-radius: var(--r-m); padding: 16px 18px; }
.key { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 14px; vertical-align: -5px; }

/* urgent: the on-call list (the one section that breaks the grid on purpose) */
.oncall { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--dark-line); border-radius: var(--r-l); overflow: hidden; }
.oncall li { padding: 22px 22px 24px; display: grid; gap: 6px; align-content: start; background: var(--dark-card); color: var(--dark-ink); }
.oncall li + li { border-left: 1px solid var(--dark-line); }
.oncall .who { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: #fff; }
.oncall .t { font-size: var(--fs-small); color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.oncall__end { margin-top: 18px; color: var(--dark-ink); max-width: 64ch; }
.sec--dark { background: var(--dark); color: var(--dark-ink); }
.sec--dark h2 { color: #fff; }
.sec--dark .lede { color: var(--dark-ink); }
@media (max-width: 799px) { .oncall { grid-template-columns: minmax(0, 1fr); } .oncall li + li { border-left: 0; border-top: 1px solid var(--dark-line); } }

/* trust */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rules--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; margin-top: 36px; max-width: 1000px; }
@media (max-width: 799px) { .rules--grid { grid-template-columns: minmax(0, 1fr); } }
.rules li { display: flex; gap: 12px; align-items: flex-start; }
.rules svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }

/* setup */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps h3 { font-size: 19px; }
@media (max-width: 999px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* booking */
.book__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.book__copy { display: flex; flex-direction: column; gap: 18px; }
.cal { min-height: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.cal__embed { width: 100%; min-height: 560px; }
@media (max-width: 899px) { .book__grid { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.foot { background: var(--dark); color: var(--dark-ink); padding: 48px 0 32px; font-size: var(--fs-small); }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot__brand { display: grid; gap: 8px; max-width: 42ch; }
.foot__name { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: #fff; }
.foot__mark { width: 32px; height: 32px; flex: none; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot .foot__brand a { text-decoration: underline; text-decoration-color: rgba(209, 213, 219, .45); text-underline-offset: 3px; }
.foot .foot__studio { color: var(--on-dark-accent); font-weight: 600; }
.foot a { color: var(--dark-ink); text-decoration: none; transition: color 180ms ease; }
.foot__legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--dark-line); color: var(--dark-muted); }

@media (max-width: 599px) {
  :root { --fs-body: 16.5px; --fs-lede: 19px; }
  .hero__copy { gap: 20px; }
}
