/* Tingnex close-beta site. Dark-first, no external requests. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1B2526;
  --ink-2: #212D2F;
  --ink-3: #27373A;
  --petrol: #1C5D63;
  --apricot: #E8915E;
  --porcelain: #F4F2EC;
  --text: #F4F2EC;
  --muted: rgba(244, 242, 236, 0.70);
  --faint: rgba(244, 242, 236, 0.52);
  --line: rgba(244, 242, 236, 0.12);
  --pill: rgba(244, 242, 236, 0.07);
  --display: "Manrope", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--porcelain); color: var(--ink); padding: 8px 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.wordmark { font-family: var(--display); font-weight: 640; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav .lang { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.nav .opt { display: none; }
@media (min-width: 760px) { .nav .opt { display: inline; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--apricot); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 17px;
  text-decoration: none; transition: background .15s ease;
}
.btn:hover { background: #EFA273; }
.link-quiet { color: var(--text); text-decoration: none; font-size: 17px; padding: 12px 4px; }
.link-quiet:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 70% 55% at 50% 72%, rgba(28, 93, 99, 0.55), transparent 70%),
    linear-gradient(180deg, #1E292A 0%, #1B2526 100%);
  padding: 56px 0 40px;
}
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 88px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 24px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); }
.hero h1 { font-size: clamp(52px, 15vw, 92px); line-height: 1.0; letter-spacing: -0.035em; }
.dot { color: var(--apricot); }
.hero .sub { font-size: clamp(20px, 5.4vw, 26px); color: var(--muted); margin: 22px 0 30px; line-height: 1.35; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.beta-note { margin-top: 26px; font-size: 15px; color: var(--faint); max-width: 34em; }

/* Seat diagram */
.table-figure { position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 1 / 1; }
.table-figure svg { position: absolute; inset: 15%; width: 70%; height: 70%; }
.seat-label {
  position: absolute; transform: translate(-50%, -50%);
  font-size: 13px; line-height: 1.25; text-align: center; white-space: nowrap;
  color: var(--text); background: var(--pill); border: 1px solid var(--line);
  border-radius: 14px; padding: 5px 11px;
}
.seat-label.wrap2 { white-space: normal; max-width: 8.6em; }
.seat-label.you { color: var(--apricot); background: transparent; border: 1.5px dashed var(--apricot); }
@media (min-width: 480px) { .seat-label { font-size: 14px; } }
.s-top { left: 50%; top: 6%; }
.s-ur { left: 85%; top: 27%; }
.s-lr { left: 85%; top: 73%; }
.s-bot { left: 50%; top: 94%; }
.s-ll { left: 15%; top: 73%; }
.s-ul { left: 15%; top: 27%; }

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { section.block { padding: 112px 0; } }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--apricot); margin-bottom: 14px; font-weight: 600; }
.block h2 { font-size: clamp(32px, 8.4vw, 52px); max-width: 16em; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; margin-top: 20px; }

.seats { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .seats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .seats { grid-template-columns: repeat(4, 1fr); } }
.seat {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px;
}
.seat h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; letter-spacing: -0.01em; }
.seat h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--porcelain); flex: none; }
.seat p { margin: 0; color: var(--muted); font-size: 16px; }
.seat.you { background: transparent; border: 1.5px dashed rgba(232, 145, 94, 0.7); }
.seat.you h3 { color: var(--apricot); }
.seat.you h3::before { background: transparent; border: 1.5px dashed var(--apricot); }
.seat.center { background: linear-gradient(160deg, rgba(28,93,99,0.55), var(--ink-2) 70%); }
.seat.center h3::before { background: var(--apricot); }

/* Phone section */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.phone {
  width: min(100%, 320px); margin: 0 auto; aspect-ratio: 9 / 18.6;
  border-radius: 46px; padding: 10px; background: #0F1516;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 0 0 1.5px rgba(244,242,236,0.08);
}
.screen {
  position: relative; height: 100%; border-radius: 37px; overflow: hidden;
  background: linear-gradient(165deg, #2A3A3E 0%, #3A4648 32%, #8A6A57 72%, #B98364 100%);
  padding: 14px 16px 12px; display: flex; flex-direction: column;
  font-family: var(--body); color: #F4F2EC;
}
.status { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; padding: 2px 8px 0; height: 24px; }
.island { width: 84px; height: 24px; border-radius: 14px; background: #000; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; margin-top: 22px; }
.widget {
  grid-column: span 2; grid-row: span 2; background: rgba(27, 37, 38, 0.92); border-radius: 20px; padding: 12px 12px 10px;
  display: flex; flex-direction: column; min-width: 0;
}
.widget-head { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 14px; }
.widget-head svg { width: 18px; height: 18px; }
.widget-sub { font-size: 10.5px; color: rgba(244,242,236,0.6); margin: 8px 0 3px; }
.widget ul { list-style: none; margin: 0; padding: 0; font-size: 10.5px; line-height: 1.5; }
.widget li { display: flex; gap: 5px; align-items: baseline; }
.widget li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--apricot); flex: none; transform: translateY(-1px); }
.app { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.icon { width: 100%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; }
.icon svg { width: 54%; height: 54%; }
.app span { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dots { margin-top: auto; display: flex; justify-content: center; gap: 6px; padding-bottom: 10px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(244,242,236,0.45); }
.dots i:first-child { background: #F4F2EC; }
.dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 9px; border-radius: 24px; background: rgba(244,242,236,0.18); }
.phone-caption { text-align: center; font-size: 14px; color: var(--faint); margin-top: 18px; }

/* Privacy */
.facts { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border-top: 2px solid var(--petrol); padding-top: 18px; }
.fact h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.fact p { color: var(--muted); font-size: 16px; margin: 0; }

/* Story */
.story .lead p { color: var(--muted); max-width: 36em; font-size: 18px; }
.name-note { margin-top: 36px; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); max-width: 40em; display: flex; gap: 16px; align-items: flex-start; }
.name-note svg { width: 34px; height: 34px; flex: none; margin-top: 3px; }
.name-note p { margin: 0; font-size: 16px; color: var(--muted); }
.name-note strong { color: var(--text); font-weight: 600; }

/* Beta */
.beta { background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(28,93,99,0.5), transparent 70%); text-align: left; }
.beta .lead { margin-bottom: 30px; }
.mail-plain { display: block; margin-top: 16px; font-size: 15px; color: var(--faint); }
.mail-plain a { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand svg { width: 24px; height: 24px; }
.site-footer .wordmark { font-size: 18px; color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 8.4vw, 48px); margin-bottom: 28px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li, .legal address { color: var(--muted); font-size: 16.5px; overflow-wrap: break-word; }
.legal address { font-style: normal; color: var(--muted); margin-bottom: 1em; }
.legal a { color: var(--text); overflow-wrap: anywhere; }
.legal .back { display: inline-block; margin-bottom: 28px; font-size: 15px; color: var(--muted); text-decoration: none; }

/* phone app icon colours */
.ic-tingnex { background: linear-gradient(180deg, #253335, #1B2526); }
.ic-calendar { background: #5B6E73; }
.ic-notes { background: #C9BFAE; }
.ic-sun { background: #6E8466; }
.ic-camera { background: #3D4F53; }
.ic-play { background: #7A6A80; }
.ic-pin { background: #8C7563; }
.ic-files { background: #55707A; }
.ic-clock { background: #9AA3A2; }
.ic-grid { background: #5E5550; }
.ic-wave { background: #6D8291; }
.ic-bars { background: #857262; }
.ic-phone { background: #6A8B6C; }
.ic-chat { background: #5A7A97; }
.ic-globe { background: #8E9496; }
.ic-mail { background: #7A6B60; }

/* Extensible table */
.grow { margin-top: 20px; }
.grow .lead { margin-top: 0; }
.grow-figure { max-width: 380px; }
.seat-label.add { color: var(--apricot); background: rgba(232, 145, 94, 0.08); border: 1.5px dashed var(--apricot); }
.s-add { left: 83%; top: 80%; }
.seat.add { background: rgba(232, 145, 94, 0.05); border: 1.5px dashed rgba(232, 145, 94, 0.7); }
.seat.add h3 { color: var(--apricot); }
.seat.add h3::before { display: none; }
.grow-figure { aspect-ratio: 10 / 9; }
.grow-figure svg { inset: auto; top: 2%; left: 16%; width: 68%; height: auto; }
.grow-figure .s-bot { top: 93%; }
.grow-figure .s-add { left: 83%; top: 78%; }
@media (max-width: 899px) { .split.grow { gap: 28px; } }
.fig-note { text-align: center; font-size: 14px; color: var(--faint); margin: 10px auto 0; max-width: 32em; text-wrap: balance; }
