/* theRink landing page. One stylesheet, no web fonts: the system font keeps the page free of third-party requests. */

:root {
  /* Black, shadow and white, with gold only as light and trim (SKY-440 colour direction, owner 2026-11-04).
     Deliberately cooler and plainer than the apps' Night gold; the apps may follow later. */
  color-scheme: dark;
  --bg: #07090D;
  --bg-2: #0D1117;
  --raised: #151B25;
  --ink: #F6F7F9;
  --ink-2: #A4ACB8;
  --gold: #E2B45C;                       /* accent: the only gold used for text */
  --brass: rgba(226, 180, 92, 0.34);     /* gold hairline: rules, outlines, decoration */
  --glow: rgba(226, 180, 92, 0.16);
  --shade: rgba(34, 62, 112, 0.30);      /* blue-hour shadow behind sections */
  --line: rgba(255, 255, 255, 0.10);
  --bar: rgba(7, 9, 13, 0.92);
  --action: linear-gradient(135deg, #F7DB96, #E0AE55 55%, #B07F2E);
  --on-action: #14100A;
  --attention: #F0A35E;                  /* no red anywhere */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 16px;
  --max: 1160px;
  --section: clamp(72px, 12vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--serif); }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 20;
  padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none; border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* Type */
.eyebrow {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--brass); }

h1, h2 { letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7.2vw, 84px); line-height: 1.04; max-width: 12ch; }
h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; }
h3 { font-size: 23px; line-height: 1.25; }

.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 38em; margin-top: 28px; }
.muted { color: var(--ink-2); }
h2 + .muted { margin-top: 20px; }
.section-head { margin-bottom: 56px; }
.small { font-size: 15px; }
.narrow { max-width: 19em; }
p.narrow { max-width: 36em; }
.note { margin-top: 20px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.fine { margin-top: 48px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 1.2em; }
.prose p:first-child { color: var(--ink); font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  font: 500 12px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-align: center;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-primary { background: var(--action); color: var(--on-action); font-weight: 600; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-quiet { color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--brass); }
.btn-line { color: var(--gold); border-color: var(--brass); width: 100%; }
.btn-line:hover { border-color: var(--gold); color: var(--ink); }
.actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bar); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(10px); }
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--sans); font-size: 25px; text-decoration: none; letter-spacing: 0.01em; }
.wm-the { font-weight: 400; color: #fff; margin-right: 1px; }

.menu-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); min-height: 40px; padding: 0 16px;
  font: 500 11px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
}
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; top: 68px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
}
.site-nav a {
  display: block; padding: 14px 0; text-decoration: none; color: var(--ink-2);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; transition: color .2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: var(--gold); }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 36px; }
  .site-nav a { padding: 6px 0; font-size: 12px; }
  .site-nav .nav-cta { border: 1px solid var(--brass); border-radius: 999px; padding: 10px 18px; }
  .site-nav .nav-cta:hover { border-color: var(--gold); }
}

/* Hero */
.hero { padding: clamp(64px, 11vw, 140px) 0 var(--section); border-bottom: 1px solid var(--line);
  position: relative;
  /* --photo-hero (css/photos.css) is the section's background: dark on the text side, open on the right.
     Without it the section keeps a blue shadow and a soft gold glow. */
  background-color: var(--bg);
  background-image:
    var(--photo-hero, none),
    radial-gradient(ellipse 55% 60% at 85% 30%, var(--shade), transparent 70%),
    radial-gradient(ellipse 45% 40% at 80% 80%, var(--glow), transparent 70%);
  background-size: cover; background-position: 75% center; }
.hero-copy { max-width: 560px; }
.hero-grid { display: grid; gap: 56px; align-items: center; position: relative; }
.hero-mark { color: var(--gold); max-width: 240px; margin: 0 auto; width: 70%; }
.hero-mark svg { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
  .hero-mark { max-width: 360px; width: 100%; }
}

/* Sections */
.section { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; gap: 96px; } }

/* Private spaces */
.grid-4 { margin-top: 64px; display: grid; border-top: 1px solid var(--line); }
.tile { padding: 36px 0; border-bottom: 1px solid var(--line); }
.tile-num { display: block; font-family: var(--sans); color: var(--gold); font-size: 15px; margin-bottom: 24px; }
.tile p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
@media (min-width: 720px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tile { padding: 40px 32px 44px 0; }
  .tile:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .tile { border-bottom: 0; padding: 44px 28px 52px; }
  .tile:first-child { padding-left: 0; }
  .tile + .tile { border-left: 1px solid var(--line); }
}

/* Capabilities */
.feature-list { border-top: 1px solid var(--line); }
.feature-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.feature-list dt { font-family: var(--sans); font-size: 21px; }
.feature-list dd { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 30em; }
@media (min-width: 720px) {
  .feature-list > div { grid-template-columns: 15em 1fr; gap: 24px; align-items: baseline; }
}

/* Trust */
.trust-grid { margin-top: 64px; display: grid; gap: 56px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.trust-col h3 { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.trust-col li { position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.trust-col li::before { position: absolute; left: 0; top: 18px; color: var(--gold); font-family: var(--sans); }
.ticks li::before { content: "◇"; font-size: 13px; top: 21px; }
.dashes li::before { content: "—"; color: var(--ink-2); }

/* Pricing */
.packages { margin-top: 56px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.package { background: var(--bg); padding: 36px 28px 32px; display: flex; flex-direction: column; }
.package-featured { background: var(--raised); box-shadow: inset 0 1px 0 var(--brass); }
.package-name { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.package-price { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.package-price .amount { font-family: var(--sans); font-size: clamp(38px, 4vw, 46px); line-height: 1; }
.package-price .per { color: var(--ink-2); font-size: 14px; }
.package-effective { margin-top: 12px; font-size: 14px; color: var(--ink); }
.package-lines { margin: 24px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1; }
.package-lines li { color: var(--ink-2); font-size: 16px; line-height: 1.6; padding: 4px 0; }
.package-licenses { margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.package-licenses + .package-price { margin-top: 6px; }
.package-audience { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.package .btn { margin-top: 28px; align-self: flex-start; }
.package-lines + .btn { margin-top: 0; }
.package-lines { margin-bottom: 32px; }
.package-live { flex: 1; }
.tier-picker { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.tier-legend { padding: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.tier-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; letter-spacing: 0; text-transform: none; font-size: 16px; color: var(--ink); cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.chip span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); transition: border-color .2s ease; }
.chip:hover span { border-color: var(--brass); }
.chip input:checked + span { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px var(--glow); }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 4px; }
.includes { margin-top: 40px; }
.includes-list { margin-top: 16px; display: grid; gap: 6px 40px; }
.includes-list li { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.includes .fine { margin-top: 20px; }
@media (min-width: 720px) { .packages { grid-template-columns: repeat(2, 1fr); } .package { padding: 44px 36px 36px; } .includes-list { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { margin-top: 64px; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
.steps li { padding: 36px 0; border-bottom: 1px solid var(--line); }
.step-num { display: block; font-size: 12px; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 20px; }
.steps p { margin-top: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 26em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .steps li { border-bottom: 0; padding: 44px 36px 48px; }
  .steps li:first-child { padding-left: 0; }
  .steps li + li { border-left: 1px solid var(--line); }
}

/* Form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.opt { text-transform: none; letter-spacing: 0; }
input, select, textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 120px; }
input:hover, select:hover, textarea:hover { border-color: var(--brass); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
[aria-invalid="true"] { border-color: var(--attention); }
.error { color: var(--attention); font-size: 14px; }
.hint { color: var(--ink-2); font-size: 13px; }
.inquiry .btn-primary { justify-self: start; margin-top: 8px; }
.status { padding: 18px 20px; border: 1px solid var(--line); font-size: 15px; }
.status:focus { outline: none; }
.status-ok { border-color: var(--brass); }
.status-info { border-color: var(--brass); color: var(--ink-2); }
.status-error { border-color: var(--attention); color: var(--ink); }
.status a { color: var(--gold); }

/* Footer */
.site-footer { padding: 56px 0 64px; }
.footer-row { display: grid; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-links a, .copyright { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .footer-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; } }

/* Legal pages */
.legal { padding: var(--section) 0; }
.legal .prose { max-width: 40em; margin-top: 32px; }
.legal h1 { max-width: none; font-size: clamp(36px, 5.6vw, 60px); }
.legal a { color: var(--gold); }
.legal h2 { font-size: 22px; line-height: 1.3; margin: 2.2em 0 0.6em; color: var(--ink); }
.legal .prose ul { margin-top: 1em; padding-left: 1.2em; list-style: disc; color: var(--ink-2); }
.legal .prose li + li { margin-top: 0.6em; }
.legal .prose li::marker { color: var(--gold); }
.legal .prose strong { color: var(--ink); font-weight: 500; }

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

/* Landing refresh: split hero, icon lists, closing call */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-copy .brand-capsule { width: 104px; height: auto; display: block; }
.hero-word { margin: 22px 0 0; font: 500 clamp(40px, 5vw, 56px)/1 var(--sans); letter-spacing: -0.01em; }
.hero-word .wm-the { font-style: normal; color: var(--ink); }
.hero-tag { margin-top: 14px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.hero h1 { max-width: 14ch; margin-top: 44px; font-size: clamp(38px, 5.6vw, 68px); }
.hero .lede { margin-top: 20px; }
.hero-values { margin-top: 52px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.hero-values span { color: var(--brass); margin: 0 10px; }
.hero .hero-grid { gap: 48px; }

/* iPhone on the hero: the real app screen (img/app-home.webp, from the store screenshots) in a titanium-style frame. */
.device { --w: 270px; position: relative; justify-self: center; width: var(--w); margin: 0; padding: 3px; border-radius: calc(var(--w) * .165);
  background: linear-gradient(145deg, #9B9283, #2B2824 28%, #77705F 52%, #1E1C19 78%, #8A8170);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 100px var(--glow), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.device-body { padding: calc(var(--w) * .028); border-radius: calc(var(--w) * .152); background: #000; }
.device img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .1); }
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5C564B, #A29A89); }
.device::before { left: -3px; top: 17%; height: 5%; box-shadow: 0 calc(var(--w) * .2) 0 0 #7A7365, 0 calc(var(--w) * .34) 0 0 #7A7365; }
.device::after { right: -3px; top: 25%; height: 11%; }
@media (min-width: 900px) { .device { --w: 300px; justify-self: end; } } }

.section-waves {
  position: relative; overflow: hidden;
  background-image: var(--photo-advantage, none); background-size: cover; background-position: 50% 62%;
}
.section-waves .waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; color: var(--gold); pointer-events: none; }
.advantage { position: relative; display: grid; gap: 56px; }
@media (min-width: 900px) { .advantage { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; } }
.advantage .lede + .lede { margin-top: 18px; }

.icon-list { display: grid; gap: 30px; }
.icon-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.icon-list h3 { font-size: 20px; color: var(--gold); }
.icon-list p { margin-top: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.icon-list.compact { gap: 24px; }
.icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.cta-band {
  text-align: center;
  background-image: var(--photo-closing, none), radial-gradient(ellipse 60% 70% at 50% 100%, var(--glow), transparent 70%);
  background-size: cover; background-position: center;
}
.cta { display: grid; justify-items: center; }
.cta .brand-capsule { width: 84px; height: auto; margin-bottom: 28px; }
.cta h2 { max-width: none; }
.cta .lede { max-width: 30em; }
.cta .actions { justify-content: center; }

/* The install block under "How access works": for people who already have an invitation code. */
.get-app { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.get-app .fine { margin-top: 12px; }
.get-app .actions { margin-top: 24px; }

/* Capabilities: the list on the left, a phone with the chat screen on the right. */
.with-device { display: grid; gap: 64px; align-items: start; }
.with-device .device { --w: 270px; }
@media (min-width: 900px) {
  .with-device { grid-template-columns: 1fr auto; gap: 72px; }
  .with-device .feature-list > div { grid-template-columns: 1fr; gap: 6px; }
  .with-device .device { --w: 300px; position: sticky; top: 110px; justify-self: end; }
}
