/* Conn website. One stylesheet, no frameworks, no web fonts: the system font is SF Pro on Apple devices. */

:root {
  --ink: #08090b;
  --ink-1: #0d0f12;
  --ink-2: #13161a;
  --ink-3: #1a1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --text: #f1f2f4;
  --text-2: #b7bec6;
  --text-3: #8d969f;
  --mint: #8fe3cf;
  --teal: #50a097;
  --brand: #06544f;
  --amber: #f0c674;
  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1200px;
  --gutter: max(16px, min(4vw, 32px));
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
::selection { background: rgba(143, 227, 207, 0.3); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }
@media (max-width: 520px) { .wide-only { display: none; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 11, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none;
}
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--text-2);
  font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.menu { display: none; }
.menu summary {
  list-style: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; cursor: pointer; margin-right: -8px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-bars { position: relative; width: 20px; height: 12px; }
.menu-bars::before, .menu-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .2s var(--ease);
}
.menu-bars::before { top: 0; }
.menu-bars::after { bottom: 0; }
.menu[open] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu[open] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 64px;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: #0a0b0e;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.menu-panel a:not(.btn) {
  padding: 15px 2px; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu-panel a[aria-current="page"] { color: var(--mint); }
.menu-panel .btn { margin-top: 20px; }
@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner .header-cta { margin-left: auto; }
  .menu { display: block; }
}
@media (max-width: 330px) {
  .header-inner .header-cta { display: none; }
  .menu { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background .15s, border-color .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--text); color: #0a0b0d; box-shadow: 0 8px 30px -10px rgba(143, 227, 207, 0.5); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(143, 227, 207, 0.65); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mint); font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.pill {
  padding: 7px 14px; border-radius: 999px; letter-spacing: 0.05em;
  border: 1px solid rgba(143, 227, 207, 0.25); background: rgba(143, 227, 207, 0.06);
}
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.8rem); line-height: 1; letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
.grad {
  background: linear-gradient(100deg, #d4f7ee 0%, var(--mint) 45%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--text-2); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; text-wrap: pretty; }
.muted { color: var(--text-2); }
.fine { color: var(--text-3); font-size: 14px; }
.mint { color: var(--mint); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-top: clamp(56px, 10vw, 120px); padding-bottom: 8px; }
.hero::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: -120px; width: 1400px; height: 1000px;
  translate: -50% 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 50% 34%, rgba(80, 160, 151, 0.30), transparent 70%),
    radial-gradient(26% 30% at 78% 12%, rgba(6, 84, 79, 0.55), transparent 70%),
    radial-gradient(24% 26% at 20% 22%, rgba(6, 84, 79, 0.45), transparent 70%);
}
.hero-ring {
  position: absolute; z-index: -1; left: 50%; top: -90px; width: min(1040px, 160vw); height: auto;
  translate: -50% 0; opacity: 0.55; pointer-events: none;
  animation: spin 120s linear infinite;
}
.hero .h1 { margin: 26px auto 0; max-width: 11.5ch; }
.hero .lead { margin: 26px auto 0; max-width: 40rem; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero .fine { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px;
  color: var(--text-2); font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(16, 18, 22, 0.92);
}
.chips svg { width: 15px; height: 15px; color: var(--mint); }
.hero-stage { max-width: 1320px; margin: clamp(48px, 7vw, 84px) auto 0; padding-inline: var(--gutter); }
.hero-stage figure {
  margin: 0; overflow: hidden; border-radius: clamp(20px, 3vw, 36px); background: var(--brand);
  box-shadow: 0 0 0 1px rgba(143, 227, 207, 0.14), 0 50px 140px -30px rgba(80, 160, 151, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.rise { animation: rise .7s var(--ease) both; }
.rise-1 { animation-delay: .06s; }
.rise-2 { animation-delay: .14s; }
.rise-3 { animation-delay: .22s; }
.rise-4 { animation-delay: .32s; }

/* Sections */
.section { padding-block: clamp(84px, 12vw, 150px); }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); text-wrap: pretty; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* Three tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), border-color .3s;
}
.tool:hover { transform: translateY(-4px); border-color: rgba(143, 227, 207, 0.25); }
.tool-shot {
  display: flex; justify-content: center; height: clamp(300px, 34vw, 420px); overflow: hidden;
  padding: 28px 24px 0; background: var(--brand);
  box-shadow: inset 0 -40px 40px -30px rgba(0, 0, 0, 0.35);
}
.tool-shot img { width: min(76%, 270px); align-self: flex-start; }
.tool-body { padding: 26px 28px 30px; }
.tag { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 14px; font-weight: 600; }
.tag svg { width: 18px; height: 18px; }
.tool-body .h3 { margin-top: 10px; }
.tool-body p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* Steps (tmux) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { color: var(--text-3); font: 600 13px var(--mono); }
.step .h3 { margin-top: 22px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.step:nth-child(1) .icon-tile { color: var(--amber); background: rgba(240, 198, 116, 0.08); border-color: rgba(240, 198, 116, 0.22); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.note {
  display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 24px auto 0; padding: 18px 22px;
  border-radius: 16px; border: 1px dashed var(--line-2); color: var(--text-2); font-size: 15px;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--text-3); }

.icon-tile {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px;
  color: var(--mint); background: rgba(143, 227, 207, 0.08); border: 1px solid rgba(143, 227, 207, 0.2);
}
.icon-tile svg { width: 24px; height: 24px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(80px, 11vw, 140px); }
.split.reverse > .media { order: -1; }
.split .h2 { margin-top: 14px; }
.split .lead { margin-top: 20px; }
.media {
  margin: 0; border-radius: var(--radius-lg); background: var(--brand); padding: clamp(18px, 3.5vw, 44px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 100px -50px rgba(80, 160, 151, 0.6);
}
.media:not(.phone) { padding: clamp(8px, 1.6vw, 20px); }
.media.phone { display: flex; justify-content: center; padding-bottom: 0; max-height: 600px; overflow: hidden; }
.media.phone img { width: min(320px, 72%); align-self: flex-start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .media { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(143, 227, 207, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%238fe3cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.ticks.dashes li::before {
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8' fill='none' stroke='%238d969f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.ticks strong { color: var(--text); font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.card .h3 { margin-top: 20px; font-size: 1.18rem; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.card a { color: var(--mint); }
.label-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 16px; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(6, 84, 79, 0.7), rgba(6, 84, 79, 0.18));
  border: 1px solid rgba(143, 227, 207, 0.2);
}
.label-card .big { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.label-card p { color: var(--text-2); max-width: 560px; margin-top: 6px; }
.label-card .links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Device mosaic */
.mosaic { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tile figcaption { padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 34px) 0; }
.tile figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.tile figcaption span { display: block; margin-top: 6px; color: var(--mint); font-size: 15px; }
.tile-img { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 22px clamp(16px, 3vw, 34px) 0; }
.tile-duo .tile-img img { width: min(100%, 340px); }
.tile-mac { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.tile-mac figcaption { flex: 0 0 34%; padding-bottom: clamp(22px, 3vw, 32px); }
.tile-mac .tile-img { padding: clamp(16px, 2.5vw, 28px); }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile-mac { flex-direction: column; align-items: stretch; }
  .tile-mac figcaption { flex: none; padding-bottom: 0; }
  .tile-duo .tile-img img { width: min(80%, 320px); }
}
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.extra {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--ink-1);
}
.extra svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 2px; }
.extra strong { display: block; font-size: 16px; }
.extra span { display: block; color: var(--text-2); font-size: 15px; margin-top: 2px; }

/* Honest lists */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo .card { padding: clamp(26px, 3.5vw, 40px); }
.duo .card .h3 { margin-top: 0; }
.duo .card .fine { margin-top: 6px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Price */
.price-card {
  max-width: 600px; margin: 0 auto; text-align: center; padding: clamp(36px, 6vw, 56px) clamp(22px, 5vw, 56px);
  border-radius: var(--radius-lg); border: 1px solid rgba(143, 227, 207, 0.22);
  background: radial-gradient(120% 70% at 50% 0%, rgba(80, 160, 151, 0.26), transparent 62%), var(--ink-1);
}
.price { margin-top: 18px; font-family: var(--font-display); font-size: clamp(3.6rem, 10vw, 5.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.price-sub { margin-top: 10px; color: var(--text-2); font-size: 18px; }
.price-card .ticks { text-align: left; max-width: 380px; margin: 30px auto 0; }
.price-card .btn { margin-top: 34px; }
.price-card .fine { margin-top: 14px; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; margin-top: -1px;
  border-radius: 2px; background: var(--text-3); transition: transform .25s var(--ease), background .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--mint); }
.faq .answer { padding: 0 0 24px; color: var(--text-2); max-width: 70ch; }
.faq .answer p + p { margin-top: 12px; }
.faq .answer a { color: var(--mint); }
.faq-more { margin-top: 28px; text-align: center; }

/* Closing band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(60px, 9vw, 110px) var(--gutter); border-radius: var(--radius-lg);
  background: radial-gradient(80% 90% at 50% 0%, rgba(143, 227, 207, 0.22), transparent 60%), var(--brand);
}
.cta-band .hero-ring { top: 50%; translate: -50% -50%; width: min(760px, 160vw); opacity: 0.35; }
.cta-band .h2 { max-width: 14ch; margin: 18px auto 0; }
.cta-band p { margin: 18px auto 0; max-width: 36rem; color: rgba(241, 242, 244, 0.82); font-size: 1.12rem; }
.cta-band .cta-row { margin-top: 30px; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.12); }

/* Inner pages */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 9vw, 108px) clamp(28px, 5vw, 52px); }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; left: 30%; top: -200px; width: 1100px; height: 700px; translate: -50% 0;
  pointer-events: none;
  background: radial-gradient(40% 45% at 50% 50%, rgba(80, 160, 151, 0.22), transparent 70%);
}
.page-hero .h1 { margin-top: 18px; font-size: clamp(2.4rem, 6.4vw, 4.4rem); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; max-width: 44rem; }
.meta-line { margin-top: 20px; color: var(--text-3); font-size: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.jump a:hover { color: var(--text); border-color: var(--line-2); }

.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(80px, 10vw, 130px); }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc p { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0; color: var(--text-3); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--text); }
@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-1); }
  .toc ol { border: 0; padding: 0; columns: 2; column-gap: 24px; }
}
@media (max-width: 520px) { .toc { display: none; } }

.prose { max-width: 740px; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; margin: 56px 0 0; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.15rem; line-height: 1.35; margin: 32px 0 0; scroll-margin-top: 96px; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre { margin: 14px 0 0; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: var(--text); font: 0.86em var(--mono); overflow-wrap: anywhere; }
.prose pre {
  overflow-x: auto; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2);
  font: 14px/1.6 var(--mono); color: var(--text);
}
.prose pre code { padding: 0; background: none; font: inherit; overflow-wrap: normal; }
.prose address { font-style: normal; color: var(--text-2); margin-top: 14px; }
.callout {
  margin-top: 0; padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(6, 84, 79, 0.55), rgba(6, 84, 79, 0.14));
  border: 1px solid rgba(143, 227, 207, 0.2);
}
.callout h2 { margin: 0; font-size: 1.15rem; letter-spacing: 0; }
.callout ul { margin-top: 10px; }
.callout li { color: var(--text); }
.prose .callout + h2 { margin-top: 48px; }

.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec tr { border-bottom: 1px solid var(--line); }
.spec tr:first-child { border-top: 1px solid var(--line); }
.spec th { width: 32%; padding: 16px 24px 16px 0; color: var(--text-3); font-weight: 500; text-align: left; vertical-align: top; }
.spec td { padding: 16px 0; color: var(--text); }
@media (max-width: 560px) {
  .spec th, .spec td { display: block; width: auto; padding: 0; }
  .spec th { padding-top: 14px; }
  .spec td { padding: 2px 0 14px; }
}

/* Features page */
.feature { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.feature-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-head .h2 { margin-top: 14px; }
.feature-head .lead { margin-top: 18px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 44px; margin-top: clamp(40px, 6vw, 64px); }
.feature-list .h3 { font-size: 1.06rem; letter-spacing: 0; }
.feature-list p { margin-top: 6px; color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) {
  .feature-head { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

/* Support */
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: start;
  padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(6, 84, 79, 0.6), rgba(6, 84, 79, 0.15)); border: 1px solid rgba(143, 227, 207, 0.22);
}
.contact-card .h3 { font-size: 1.4rem; }
.contact-card .mail { display: inline-block; margin-top: 8px; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; color: var(--mint); overflow-wrap: anywhere; }
.contact-card ul { margin: 16px 0 0; padding-left: 1.2em; color: var(--text-2); }
.contact-card li { margin: 6px 0; }
.contact-card .fine { margin-top: 14px; }
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } }
.guides details {
  border: 1px solid var(--line); border-radius: 18px; background: var(--ink-1); margin-top: 12px;
  transition: border-color .2s;
}
.guides details[open] { border-color: var(--line-2); }
.guides summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.05rem;
}
.guides summary::-webkit-details-marker { display: none; }
.guides summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.guides details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.guides .guide-body { padding: 0 24px 24px; }
.guides .guide-body > :first-child { margin-top: 0; }

/* Press */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 20px; }
.shots a { display: block; text-decoration: none; color: var(--text-2); font-size: 14px; }
.shots img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 1 / 1; object-fit: cover; object-position: top; width: 100%; background: var(--brand); }
.shots span { display: block; margin-top: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.swatch { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 14px; font: 14px var(--mono); color: var(--text-2); }
.swatch i { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost .h1 { margin-top: 18px; }
.lost .lead { margin: 20px auto 0; max-width: 32rem; }

/* Docs */
.docs-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: clamp(28px, 4vw, 56px); align-items: start;
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 110px);
}
.docs-nav, .docs-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 14px; }
.docs-nav ul { list-style: none; margin: 6px 0 18px; padding: 0; }
.docs-nav a, .docs-menu a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.docs-nav a:hover, .docs-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.docs-nav a[aria-current="page"], .docs-menu a[aria-current="page"] { color: var(--text); background: rgba(143, 227, 207, 0.1); box-shadow: inset 2px 0 0 var(--mint); }
.docs-group { margin: 0; padding: 0 10px; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.docs-home { margin-bottom: 18px; font-weight: 600; }
.docs-menu { display: none; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-1); }
.docs-menu summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; }
.docs-menu summary::-webkit-details-marker { display: none; }
.docs-menu summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg);
}
.docs-menu[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.docs-menu nav { padding: 0 8px 12px; }
.docs-menu ul { list-style: none; margin: 4px 0 12px; padding: 0; }
.docs-toc p { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.docs-toc ol { list-style: none; margin: 12px 0 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
.docs-toc a { display: block; padding: 5px 0; color: var(--text-3); text-decoration: none; line-height: 1.4; }
.docs-toc a:hover { color: var(--text); }
.docs-article { min-width: 0; max-width: 780px; }
.docs-head { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.docs-title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.docs-head .lead { margin-top: 16px; }
.docs-head .meta-line { margin-top: 14px; }
.docs-body > h2:first-child { margin-top: 40px; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 64px; }
.docs-pager a {
  display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-1);
  color: var(--text); font-weight: 600; text-decoration: none; transition: border-color .15s;
}
.docs-pager a:hover { border-color: rgba(143, 227, 207, 0.35); }
.docs-pager span { display: block; color: var(--text-3); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.docs-next { text-align: right; grid-column: 2; }
.docs-help { margin-top: 28px; color: var(--text-3); font-size: 14px; }
.docs-help a { color: var(--mint); }
@media (max-width: 1180px) {
  .docs-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .docs-nav { display: none; }
  .docs-menu { display: block; }
}
@media (max-width: 560px) { .docs-pager { grid-template-columns: 1fr; } .docs-next { grid-column: auto; } }

/* Docs home */
.docs-groups { display: grid; gap: clamp(36px, 5vw, 56px); padding-bottom: clamp(70px, 9vw, 120px); }
.docs-groups h2 { color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.docs-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.docs-card:hover { border-color: rgba(143, 227, 207, 0.3); transform: translateY(-2px); }
.docs-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.docs-card .icon-tile svg { width: 21px; height: 21px; }
.docs-card strong { display: block; font-size: 1.05rem; }
.docs-card strong + span { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Things docs pages use */
.prose table:not(.spec) { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose table:not(.spec) th, .prose table:not(.spec) td { padding: 11px 14px 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose table:not(.spec) th { color: var(--text-3); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
.prose table:not(.spec) td { color: var(--text-2); }
.prose table:not(.spec) td:first-child { color: var(--text); }
@media (max-width: 640px) {
  .prose table:not(.spec) { display: block; overflow: visible; }
  .prose table:not(.spec) thead { display: none; }
  .prose table:not(.spec) tbody, .prose table:not(.spec) tr, .prose table:not(.spec) td { display: block; }
  .prose table:not(.spec) tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose table:not(.spec) td { padding: 3px 0; border: 0; }
  .prose table:not(.spec) td:first-child { font-weight: 600; }
  .prose table:not(.spec) td[data-label]:not(:first-child)::before {
    content: attr(data-label); display: block; margin-top: 6px; color: var(--text-3);
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
}
.prose kbd {
  display: inline-block; min-width: 1.6em; padding: 1px 6px; border-radius: 6px; text-align: center;
  border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--ink-2);
  color: var(--text); font: 600 0.82em/1.5 var(--font); white-space: nowrap;
}
.prose ol.steps-list { counter-reset: s; list-style: none; padding-left: 0; }
.prose ol.steps-list > li { counter-increment: s; position: relative; padding-left: 40px; margin: 14px 0; }
.prose ol.steps-list > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 600 13px/1 var(--font); color: var(--ink); background: var(--mint);
}
.tip, .warn {
  margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; font-size: 15.5px;
  border: 1px solid rgba(143, 227, 207, 0.22); background: rgba(6, 84, 79, 0.28);
}
.tip p, .warn p { color: var(--text-2); margin: 0; }
.tip p + p, .warn p + p { margin-top: 8px; }
.tip strong:first-child, .warn strong:first-child { color: var(--mint); }
.warn { border-color: rgba(240, 198, 116, 0.28); background: rgba(240, 198, 116, 0.07); }
.warn strong:first-child { color: var(--amber); }
.plat {
  display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.ui { color: var(--text); font-weight: 600; }
.prose figure.shot { margin: 24px 0 0; padding: clamp(12px, 2vw, 20px); border-radius: 20px; background: var(--brand); }
.prose figure.shot.phone { display: flex; justify-content: center; padding-bottom: 0; max-height: 520px; overflow: hidden; }
.prose figure.shot.phone img { width: min(300px, 72%); align-self: flex-start; }
.prose figure.shot figcaption { margin-top: 10px; color: rgba(241, 242, 244, 0.8); font-size: 14px; }
.prose dl { margin: 14px 0 0; }
.prose dt { color: var(--text); font-weight: 600; margin-top: 16px; }
.prose dd { margin: 4px 0 0; color: var(--text-2); }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-1), var(--ink)); }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; padding-block: 64px 44px; }
.footer-brand p { margin-top: 14px; max-width: 26rem; color: var(--text-2); font-size: 15px; }
.footer-brand .btn { margin-top: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h2 { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.footer-cols ul { list-style: none; margin: 14px 0 0; padding: 0; }
.footer-cols li { margin: 9px 0; }
.footer-cols a { color: var(--text-2); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--text); }
.footer-legal { padding-block: 26px 40px; border-top: 1px solid var(--line); }
.footer-legal p { color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 80rem; }
.footer-legal p + p { margin-top: 8px; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Motion */
@keyframes spin { to { rotate: 360deg; } }
/* The hero only slides: it never starts invisible, so the headline paints at once (and counts for page speed). */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
