/* cv.onabr landing page.
 * Layout: a left-aligned editorial column over full-width bands; the product is shown in real
 * browser and phone frames, and every address (site, email, studio) is set in mono.
 */

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-opsz-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour: cool paper, deep indigo ink, one indigo accent (the product's own). */
  --bg: #f6f6f9;
  --bg-alt: #eeeef4;
  --surface: #ffffff;
  --chrome: #ecebf2;
  --line: #dfdee9;
  --ink: #15142b;
  --muted: #5c5a72;
  --subtle: #85839b;
  --accent: #4f46e5;
  --accent-ink: #3f37c9;
  --accent-soft: #ecebfd;
  --on-accent: #ffffff;
  --danger: #b4371a;
  --lines: rgba(79, 70, 229, 0.13);
  --bezel: #16151f;
  --shadow: 32 30 72;

  /* The email band stays deep ink in both themes. */
  --band: #15142b;
  --band-ink: #f2f1fa;
  --band-muted: #aaa8c6;
  --band-surface: #201f3d;
  --band-line: #33315a;
  --band-accent: #b6b1ff;

  /* Type: Newsreader for display, Instrument Sans for reading, IBM Plex Mono for addresses. */
  --font-display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Vazirmatn', Tahoma, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c0c14;
    --bg-alt: #11111b;
    --surface: #161622;
    --chrome: #1c1c29;
    --line: #29293b;
    --ink: #ecebf5;
    --muted: #a5a4bb;
    --subtle: #75748c;
    --accent: #635bf2;
    --accent-ink: #aaa4ff;
    --accent-soft: #1f1d44;
    --on-accent: #ffffff;
    --danger: #ff9a76;
    --lines: rgba(170, 164, 255, 0.10);
    --bezel: #2a2938;
    --shadow: 0 0 0;
    --band: #13122a;
    --band-surface: #1d1c3a;
    --band-line: #312f58;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0c0c14;
  --bg-alt: #11111b;
  --surface: #161622;
  --chrome: #1c1c29;
  --line: #29293b;
  --ink: #ecebf5;
  --muted: #a5a4bb;
  --subtle: #75748c;
  --accent: #635bf2;
  --accent-ink: #aaa4ff;
  --accent-soft: #1f1d44;
  --on-accent: #ffffff;
  --danger: #ff9a76;
  --lines: rgba(170, 164, 255, 0.10);
  --bezel: #2a2938;
  --shadow: 0 0 0;
  --band: #13122a;
  --band-surface: #1d1c3a;
  --band-line: #312f58;
  color-scheme: dark;
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.mono {
  font-family: var(--font-mono);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 0.4em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  font: 500 0.8em/1.6 var(--font-mono);
  text-align: center;
  color: var(--ink);
}
.ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, black);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
  height: 54px;
}

/* ---- header -------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 8px;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand-mark rect {
  fill: var(--accent);
}
.brand-mark g {
  stroke: var(--on-accent);
}
.brand-word {
  font: 600 1.4rem/1 var(--font-display);
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 36;
}
.brand-word span {
  color: var(--muted);
  font-weight: 500;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.95rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: var(--ink);
}

/* ---- shared section type --------------------------------------------------------- */

.eyebrow {
  margin: 0 0 18px;
  font: 600 0.78rem/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow.mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 500 0.85rem/1.3 var(--font-mono);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.eyebrow.mono::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(2.9rem, 1.5rem + 5.6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-variation-settings: 'opsz' 72;
}
.display em,
.title em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent-ink);
}
.display em {
  display: block;
  padding-right: 0.06em;
}
.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 430;
  font-size: clamp(2.15rem, 1.35rem + 2.9vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-variation-settings: 'opsz' 60;
}
.display-sm {
  font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.4rem);
}
.intro {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: clamp(1.07rem, 1rem + 0.25vw, 1.2rem);
  color: var(--muted);
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
}
.section-alt {
  background: var(--bg-alt);
}
.hero + .section {
  padding-top: clamp(56px, 7vw, 100px);
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

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

.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 104px);
  overflow-x: hidden;
  overflow-x: clip;
}
.hero-lines {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 760px;
  color: var(--lines);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}
.hero-copy {
  position: relative;
}
.lede {
  margin: 26px 0 0;
  max-width: 56ch;
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.32rem);
  line-height: 1.55;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: var(--muted);
}
.assurances li,
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.assurances li::before,
.checks li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stage {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
  padding-right: clamp(0px, 11vw, 150px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.phone-hero {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(130px, 19vw, 236px);
}
.mail-toast {
  position: absolute;
  right: clamp(0px, 1vw, 12px);
  top: 9%;
  width: min(330px, 36%);
  padding: 14px 16px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 2px rgb(var(--shadow) / 0.08),
    0 24px 48px -18px rgb(var(--shadow) / 0.35);
  font-size: 0.92rem;
  line-height: 1.4;
  z-index: 2;
}
.mail-toast.ping {
  animation: ping 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes ping {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent),
      0 28px 56px -18px rgb(var(--shadow) / 0.4);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.toast-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
}
.toast-head .ico {
  font-size: 1.05rem;
}
.toast-head time {
  margin-left: auto;
  font-weight: 400;
  color: var(--subtle);
}
.toast-from {
  margin: 9px 0 0;
  font-weight: 650;
}
.toast-subject {
  margin: 1px 0 0;
}
.toast-to {
  margin: 7px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- browser and phone frames ---------------------------------------------------- */

.browser {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    0 1px 2px rgb(var(--shadow) / 0.06),
    0 18px 36px -18px rgb(var(--shadow) / 0.2),
    0 40px 80px -40px rgb(var(--shadow) / 0.35);
}
.browser img {
  display: block;
  width: 100%;
  height: auto;
}
.browser-bar {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 30%, var(--chrome));
}
.url {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  height: 27px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--surface);
  font: 500 0.8rem/1 var(--font-mono);
  color: var(--muted);
}
.url .ico {
  font-size: 0.85rem;
  color: var(--subtle);
}
.url-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-hero .url {
  min-width: min(240px, 100%);
  color: var(--ink);
}
.caret {
  width: 1.5px;
  height: 14px;
  margin-left: -5px;
  background: var(--accent);
  opacity: 0;
}
.is-typing .caret {
  opacity: 1;
}
.is-loaded .caret {
  animation: blink 1.1s steps(2, jump-none) 3;
}
@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.load-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.is-loaded .load-line {
  animation: load 1.1s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
}
@keyframes load {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  80% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

.phone {
  margin: 0;
  padding: clamp(4px, 0.55vw, 7px);
  border-radius: clamp(20px, 2.6vw, 34px);
  background: var(--bezel);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 30px 60px -24px rgb(var(--shadow) / 0.45),
    0 12px 24px -12px rgb(var(--shadow) / 0.25);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(16px, 2.1vw, 28px);
}

/* ---- what you get ---------------------------------------------------------------- */

.tryit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 28px;
  margin-bottom: 12px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 260px;
  min-width: 0;
}
.field label,
.tlds legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
input[type='text'],
input[type='email'],
textarea {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
textarea {
  height: auto;
  padding: 13px 15px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--subtle);
}
input[type='text']:focus,
input[type='email']:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.was-validated input:invalid {
  border-color: var(--danger);
}
.tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.tlds legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
}
.tlds label {
  position: relative;
  display: inline-flex;
}
.tlds input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tlds span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  font: 500 0.92rem/1 var(--font-mono);
  color: var(--muted);
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.tlds input:hover + span {
  color: var(--ink);
}
.tlds input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.tlds input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.addresses {
  margin: 0;
  padding: 0;
  list-style: none;
}
.address {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px 56px;
  padding-block: clamp(26px, 3.6vw, 42px);
  border-bottom: 1px solid var(--line);
}
.addr {
  margin: 0;
  font-size: clamp(1.5rem, 0.85rem + 2.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.a-local,
.a-tld {
  color: var(--accent-ink);
}
.a-at,
.a-path {
  color: var(--subtle);
}
.address-copy h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}
.address-copy p {
  margin: 6px 0 0;
  max-width: 48ch;
  color: var(--muted);
}
.fineprint {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--subtle);
}

/* ---- tabs ------------------------------------------------------------------------ */

.tablist {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  scrollbar-width: none;
}
.tablist button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.93rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.tablist button:hover {
  color: var(--ink);
}
.tablist button[aria-selected='true'] {
  background: var(--ink);
  color: var(--bg);
}
.tabpanel {
  margin: 0;
}
.tabpanel figcaption {
  margin: 0 0 18px;
  max-width: 64ch;
  color: var(--muted);
}
.tabpanel figcaption strong {
  color: var(--ink);
  font-weight: 600;
}
.tabpanel:not([hidden]) .browser {
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes rise {
  from {
    transform: translateY(10px);
  }
  to {
    transform: none;
  }
}

/* ---- website showcase ----------------------------------------------------------- */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
}
.panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.panel-phones {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px 40px;
  padding: 0 clamp(24px, 4vw, 56px);
}
.panel-phones .panel-copy {
  padding-block: 40px;
}
.panel-shot {
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px) 0;
}
.panel-copy h3 {
  margin: 0;
  font: 450 1.7rem/1.1 var(--font-display);
  letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 40;
}
.panel-copy p {
  margin: 10px 0 0;
  max-width: 46ch;
  color: var(--muted);
}
.phone-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 28px);
  height: 420px;
  padding-top: 44px;
}
.phone-pair .phone {
  width: min(46%, 236px);
  flex: none;
}
.phone-pair .phone + .phone {
  margin-top: 56px;
}
.crop {
  display: block;
  width: 100%;
  height: auto;
  max-height: 290px;
  margin-top: 24px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: clamp(56px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.facts li,
.features li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.facts .ico {
  font-size: 1.4rem;
  color: var(--accent-ink);
}
.facts h3,
.features h3 {
  margin: 12px 0 0;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
}
.features h3 {
  margin-top: 0;
}
.facts p,
.features p {
  margin: 6px 0 0;
  font-size: 0.97rem;
  color: var(--muted);
}

/* ---- email band ------------------------------------------------------------------ */

.band {
  background: var(--band);
  color: var(--band-ink);
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}
.band .section-head {
  margin-bottom: 0;
}
.band .eyebrow.mono {
  border-color: var(--band-line);
  background: var(--band-surface);
  color: var(--band-muted);
}
.band .title em {
  color: var(--band-accent);
}
.band .intro {
  color: var(--band-muted);
}
.checks {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}
.checks li::before {
  margin-top: 4px;
  background: var(--band-accent);
}
.checks .mono {
  font-size: 0.92em;
  color: var(--band-accent);
}

.mailflow {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--band-line);
  border-radius: 16px;
  background: var(--band-surface);
  text-align: center;
}
.flow-node .mono {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}
.flow-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--band-muted);
}
.flow-addr {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 16px 40px -16px color-mix(in srgb, var(--accent) 80%, transparent);
}
.flow-addr .flow-label {
  color: color-mix(in srgb, var(--on-accent) 72%, transparent);
}
.flow-addr .mono {
  font-size: 1.12rem;
  font-weight: 500;
}
.flow-arrow {
  position: relative;
  width: 2px;
  height: 38px;
  background: linear-gradient(var(--band-line), var(--band-accent));
}
.flow-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--band-accent);
  border-bottom: 2px solid var(--band-accent);
  transform: translateX(-50%) rotate(45deg);
}
.inbox {
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 80px -36px rgb(0 0 0 / 0.6);
}
.inbox-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.inbox-where {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--subtle);
}
.inbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.inbox li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  grid-template-areas:
    'dot who time'
    '. what what'
    '. via via';
  column-gap: 14px;
  row-gap: 1px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.inbox li:last-child {
  border-bottom: 0;
}
.inbox .dot {
  grid-area: dot;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.inbox .who {
  grid-area: who;
  font-weight: 500;
}
.inbox .what {
  grid-area: what;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}
.inbox .via {
  grid-area: via;
  font-size: 0.78rem;
  color: var(--subtle);
  overflow-wrap: anywhere;
}
.inbox time {
  grid-area: time;
  font-size: 0.8rem;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}
.inbox .unread {
  background: var(--accent-soft);
}
.inbox .unread .dot {
  background: var(--accent);
}
.inbox .unread .who,
.inbox .unread .what {
  font-weight: 650;
  color: var(--ink);
}
.inbox .unread .via {
  color: var(--accent-ink);
}

/* ---- studio ---------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 40px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

/* ---- languages ------------------------------------------------------------------- */

.lang-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
}
.lang-grid .section-head {
  margin-bottom: 0;
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.langs li {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.97rem;
}
.lang-stage {
  position: relative;
  padding-right: clamp(28px, 5vw, 72px);
  padding-bottom: 48px;
}
.lang-stage .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(104px, 14vw, 186px);
}

/* ---- how it works ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 76px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font: italic 450 1.6rem/1 var(--font-display);
  color: var(--accent-ink);
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 64px;
  right: -16px;
  height: 1px;
  background: var(--line);
}
.steps h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 21px 44px 21px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--accent-ink);
}
.faq details p {
  margin: 0 0 22px;
  max-width: 62ch;
  color: var(--muted);
}

/* ---- start ----------------------------------------------------------------------- */

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}
.start .section-head {
  margin-bottom: 0;
}
.contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 30px;
  color: var(--muted);
}
.contact-email {
  font-size: 1.05rem;
  color: var(--ink);
  -webkit-user-select: all;
  user-select: all;
}
.copy {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: 600 0.84rem/1 var(--font-body);
  cursor: pointer;
}
.copy:hover {
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
}
.request {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 60px -40px rgb(var(--shadow) / 0.35);
}
.request .field {
  flex: none;
}
.optional {
  font-weight: 400;
  color: var(--subtle);
}
.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}
.form-status.is-error {
  color: var(--danger);
}

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

.site-footer {
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
}
.footer-inner p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* ---- responsive ------------------------------------------------------------------ */

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
  .showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .lang-stage {
    max-width: 760px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .band-grid,
  .lang-grid,
  .faq-grid,
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mailflow {
    max-width: 560px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
  .steps li::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .stage {
    padding-right: 0;
    padding-bottom: 8px;
  }
  .browser-hero {
    width: 86%;
  }
  .phone-hero {
    top: 13vw;
    bottom: auto;
    width: 36%;
  }
  .mail-toast {
    position: relative;
    right: auto;
    top: auto;
    width: calc(64% - 14px);
    margin: 16px 0 0;
    padding: 12px 13px 13px;
    font-size: 0.84rem;
  }
  .toast-to .mono {
    overflow-wrap: anywhere;
  }
  .panel-phones {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .panel-phones .panel-copy {
    padding-block: 28px 0;
  }
  .phone-pair {
    height: 340px;
    padding-top: 28px;
  }
  .address {
    grid-template-columns: minmax(0, 1fr);
  }
  .showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .browser-bar {
    grid-template-columns: 34px minmax(0, 1fr) 0;
    gap: 8px;
    height: 36px;
    padding: 0 10px;
  }
  .dots i {
    width: 8px;
    height: 8px;
  }
  .bar-spacer {
    display: none;
  }
  .url {
    height: 24px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
  .browser-hero .url {
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .btn {
    height: 48px;
    padding: 0 20px;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .header-inner .btn-sm {
    padding: 0 14px;
  }
  .facts,
  .features,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps li {
    padding-top: 0;
    padding-left: 68px;
    min-height: 52px;
  }
  .lang-stage {
    padding-left: 22%;
  }
  .lang-stage .phone {
    width: 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
