/* rincon.team — one page, no build step, no third-party requests. Brand: apps/macos/Rincon/Brand/RinconMark.swift. */

:root {
  --accent: #FF8A3D;
  --accent-hover: #F57A2B;
  --accent-text: #B4520F;
  --on-accent: #1B1B1D;
  --brand-ink: #F5F5F4;
  --brand-bg: #1B1B1D;

  --bg: #FAFAF9;
  --bg-alt: #F3F2EF;
  --surface: #FFFFFF;
  --surface-2: #F4F4F2;
  --line: rgba(27, 27, 29, 0.09);
  --line-strong: rgba(27, 27, 29, 0.18);
  --text: #1B1B1D;
  --text-2: #55555B;
  --text-3: #6E6E73;
  --shadow: 0 1px 2px rgba(27, 27, 29, 0.05), 0 12px 32px -12px rgba(27, 27, 29, 0.14);
  --shadow-lg: 0 2px 4px rgba(27, 27, 29, 0.05), 0 40px 80px -24px rgba(27, 27, 29, 0.28);

  /* macOS system colours, as the app's status symbols use them. */
  --green: #34C759;
  --red: #FF3B30;
  --purple: #AF52DE;
  --grey: #8E8E93;
  --error-text: #C4271D;

  /* The desktop mockup. */
  --wallpaper:
    radial-gradient(110% 80% at 88% 0%, rgba(255, 138, 61, 0.55), transparent 58%),
    radial-gradient(90% 90% at 0% 100%, rgba(150, 120, 255, 0.35), transparent 62%),
    linear-gradient(160deg, #F6E9DD 0%, #EADFF3 100%);
  --mb-bg: rgba(255, 255, 255, 0.5);
  --mb-fg: #1D1D1F;
  --mb-glyph: #1B1B1D;
  --mb-active: rgba(0, 0, 0, 0.1);
  --panel-bg: rgba(246, 246, 246, 0.86);
  --panel-line: rgba(0, 0, 0, 0.1);
  --panel-fill: rgba(0, 0, 0, 0.05);
  --panel-fill-2: rgba(255, 255, 255, 0.9);
  --panel-text: #1D1D1F;
  --panel-text-2: #6E6E73;
  --panel-text-3: #8E8E93;

  --radius: 16px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-hover: #FF9D5C;
    --accent-text: #FF9D5C;
    --bg: #121214;
    --bg-alt: #17171A;
    --surface: #1B1B1D;
    --surface-2: #242427;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #F5F5F4;
    --text-2: #A6A6AB;
    --text-3: #85858B;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
    --green: #30D158;
    --red: #FF453A;
    --purple: #BF5AF2;
    --grey: #98989D;
    --error-text: #FF6961;
    --wallpaper:
      radial-gradient(110% 80% at 88% 0%, rgba(255, 138, 61, 0.42), transparent 58%),
      radial-gradient(90% 90% at 0% 100%, rgba(110, 80, 230, 0.32), transparent 62%),
      linear-gradient(160deg, #2A2A31 0%, #141417 100%);
    --mb-bg: rgba(20, 20, 22, 0.42);
    --mb-fg: #F5F5F7;
    --mb-glyph: #F5F5F4;
    --mb-active: rgba(255, 255, 255, 0.18);
    --panel-bg: rgba(38, 38, 42, 0.84);
    --panel-line: rgba(255, 255, 255, 0.12);
    --panel-fill: rgba(255, 255, 255, 0.06);
    --panel-fill-2: rgba(255, 255, 255, 0.1);
    --panel-text: #F5F5F7;
    --panel-text-2: #A1A1A6;
    --panel-text-3: #7C7C80;
  }
}

:root[data-theme="dark"] {
  --accent-hover: #FF9D5C;
  --accent-text: #FF9D5C;
  --bg: #121214;
  --bg-alt: #17171A;
  --surface: #1B1B1D;
  --surface-2: #242427;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F5F5F4;
  --text-2: #A6A6AB;
  --text-3: #85858B;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -24px rgba(0, 0, 0, 0.8);
  --green: #30D158;
  --red: #FF453A;
  --purple: #BF5AF2;
  --grey: #98989D;
  --error-text: #FF6961;
  --wallpaper:
    radial-gradient(110% 80% at 88% 0%, rgba(255, 138, 61, 0.42), transparent 58%),
    radial-gradient(90% 90% at 0% 100%, rgba(110, 80, 230, 0.32), transparent 62%),
    linear-gradient(160deg, #2A2A31 0%, #141417 100%);
  --mb-bg: rgba(20, 20, 22, 0.42);
  --mb-fg: #F5F5F7;
  --mb-glyph: #F5F5F4;
  --mb-active: rgba(255, 255, 255, 0.18);
  --panel-bg: rgba(38, 38, 42, 0.84);
  --panel-line: rgba(255, 255, 255, 0.12);
  --panel-fill: rgba(255, 255, 255, 0.06);
  --panel-fill-2: rgba(255, 255, 255, 0.1);
  --panel-text: #F5F5F7;
  --panel-text-2: #A1A1A6;
  --panel-text-3: #7C7C80;
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

/* Components set their own display; hidden must still win. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2 * var(--gutter));
}

.center {
  text-align: center;
}

kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  box-shadow: inset 0 -1px 0 var(--line);
  color: var(--text-2);
  font: 600 0.8em/1.6 var(--font);
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  margin: -2px;
}

.brand-sm {
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 104px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 40%;
  height: 900px;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.16), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h1-soft {
  display: block;
  color: var(--text-3);
}

.lede {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--text-2);
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fineprint {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 14px;
}

/* Desktop mockup */

.desktop {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wallpaper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 12px 0 16px;
  background: var(--mb-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--mb-fg);
  font-size: 13px;
  font-weight: 500;
}

.menubar-left,
.menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mb-skel {
  height: 7px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.22;
}

.mb-skel.w1 {
  width: 40px;
  opacity: 0.42;
}

.mb-skel.w2 {
  width: 26px;
}

.mb-skel.w3 {
  width: 34px;
}

.mb-rincon {
  display: grid;
  place-items: center;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
}

.desktop .mb-rincon,
.mini-menubar .mb-rincon {
  background: var(--mb-active);
}

.mark {
  width: 15px;
  height: 15px;
  color: var(--mb-glyph);
}

.mb-ico {
  width: 16px;
  height: 16px;
}

.mb-bat {
  width: 25px;
  height: 13px;
}

.mb-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.panel {
  align-self: flex-end;
  width: min(336px, 100% - 28px);
  margin: 7px 14px 48px;
  padding: 12px;
  border: 1px solid var(--panel-line);
  border-radius: 13px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(30px);
  backdrop-filter: saturate(1.8) blur(30px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
  color: var(--panel-text);
  font-size: 13px;
  line-height: 1.35;
  animation: drop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}

/* Transform only: the panel must be visible even where animations never run (previews, print). */
@keyframes drop {
  from {
    transform: translateY(-10px) scale(0.98);
  }
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--panel-line);
}

.panel-app,
.panel-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.panel-app {
  font-size: 14px;
  font-weight: 700;
}

.panel-app img {
  margin: -2px 0;
}

.panel-team {
  color: var(--panel-text-2);
  font-size: 12px;
}

.team-badge {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--brand-bg);
  font-size: 9.5px;
  font-weight: 800;
}

.panel-hi {
  padding: 0 4px 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.me {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--panel-fill);
}

.me-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.chev {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.me-note {
  margin-left: auto;
  color: var(--accent-text);
  font-size: 12px;
}

.panel-label {
  margin: 14px 4px 4px;
  color: var(--panel-text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rows {
  display: grid;
  gap: 2px;
}

.row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 6px 4px;
}

.row-main {
  flex: 1;
  min-width: 0;
}

.row b {
  font-weight: 600;
}

.muted {
  color: var(--panel-text-2);
  font-size: 12px;
}

.detail {
  margin-top: 1px;
  overflow: hidden;
  color: var(--panel-text-2);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ping {
  flex: none;
  padding: 2px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: var(--panel-fill-2);
  font-size: 12px;
  font-weight: 500;
}

.st {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.5px;
}

.st-lg {
  width: 32px;
  height: 32px;
}

.st-available {
  color: var(--green);
}

.st-busy {
  color: var(--red);
}

.st-focused {
  color: var(--purple);
}

.st-out {
  color: var(--grey);
}

.room {
  margin-top: 8px;
  border-top: 1px solid var(--panel-line);
}

.room-who {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 0;
}

.room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 4px 2px;
}

.pbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 7px;
  background: var(--panel-fill-2);
  color: var(--panel-text);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.pbtn svg {
  width: 13px;
  height: 13px;
}

.pbtn-accent {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}

.pbtn-lg {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
}

.avatar {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.avatar-lg {
  width: 56px;
  height: 56px;
}

/* Statement */

.statement {
  padding: 32px 0 96px;
}

.statement-text {
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.muted-strong {
  color: var(--text-3);
}

/* Sections */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.kicker {
  margin-bottom: 12px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.section-lede {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.center .section-lede {
  margin-inline: auto;
  max-width: 36rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 40px 28px;
}

.step > p:last-child {
  margin-top: 8px;
  color: var(--text-2);
}

.step-num {
  margin: 24px 0 8px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
}

.vignette {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 290px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--wallpaper);
  overflow: hidden;
  color: var(--panel-text);
  font-size: 13px;
  line-height: 1.35;
}

.v-glance {
  justify-content: flex-start;
  padding: 0;
}

.mini-menubar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  height: 30px;
  padding: 0 14px;
  background: var(--mb-bg);
  color: var(--mb-fg);
  font-size: 13px;
  font-weight: 500;
}

.v-glance .rows {
  align-self: flex-end;
  width: min(250px, 100% - 28px);
  margin: 7px 14px 0;
  padding: 8px;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(30px);
  backdrop-filter: saturate(1.8) blur(30px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.3);
}

.rows-tight .row {
  align-items: center;
  padding: 7px 6px;
}

.v-ask {
  gap: 14px;
}

.ping-track {
  padding: 12px 14px;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

.ping-to {
  color: var(--panel-text-2);
  font-size: 12px;
}

.ping-to b {
  color: var(--panel-text);
}

.ping-steps {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.ping-steps li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  color: var(--panel-text);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.tick {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.tick svg {
  width: 11px;
  height: 11px;
  transition: opacity 0.2s ease;
}

.js .ping-steps li:not(.done) {
  color: var(--panel-text-3);
  font-weight: 500;
}

.js .ping-steps li:not(.done) .tick {
  border-color: var(--panel-line);
  background: transparent;
}

.js .ping-steps li:not(.done) .tick svg {
  opacity: 0;
}

.notif {
  padding: 11px 12px 12px;
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(30px);
  backdrop-filter: saturate(1.8) blur(30px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.3);
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--panel-text-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.notif-head img {
  margin: -2px;
}

.notif-time {
  margin-left: auto;
  font-weight: 500;
  text-transform: none;
}

.notif-title {
  margin-top: 7px;
  font-weight: 700;
}

.notif-body {
  color: var(--panel-text-2);
  font-size: 12px;
}

.notif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.v-talk {
  align-items: center;
}

.call {
  width: min(300px, 100%);
  padding: 0 10px 10px;
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: saturate(1.8) blur(30px);
  backdrop-filter: saturate(1.8) blur(30px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
}

.call-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  font-size: 12px;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FF5F57;
}

.dots i:nth-child(2) {
  background: #FEBC2E;
}

.dots i:nth-child(3) {
  background: #28C840;
}

.call-title {
  font-weight: 600;
}

.call-time {
  margin-left: auto;
  color: var(--panel-text-2);
  font-variant-numeric: tabular-nums;
}

.call-stage {
  position: relative;
}

.tile {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(160deg, #3A3F4B, #23252B);
  overflow: hidden;
  --face-bg: transparent;
  --face-clip: none;
}

.tile-face {
  position: absolute;
  inset: 8px 0 0;
  width: 100%;
  height: calc(100% - 8px);
}

.tile-big {
  height: 120px;
}

.tile-small {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 64px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, #5A4A3E, #2B2622);
}

.tile-name {
  position: absolute;
  z-index: 1;
  left: 7px;
  bottom: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10.5px;
  font-weight: 600;
}

.tile-small .tile-name {
  left: 5px;
  bottom: 2px;
  font-size: 9px;
}

.live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 9px 2px 0;
  color: var(--panel-text);
  font-size: 12px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent);
}

.call-controls {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.cbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  border-radius: 8px;
  background: var(--panel-fill-2);
  border: 1px solid var(--panel-line);
}

.cbtn svg {
  width: 16px;
  height: 16px;
}

.cbtn-off {
  color: var(--panel-text-3);
}

.cbtn-leave {
  width: auto;
  margin-left: auto;
  padding: 0 14px;
  border-color: transparent;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* Statuses */

.statuses {
  display: grid;
  gap: 16px;
}

.status-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-card h3 {
  margin-top: 18px;
  font-size: 1.3rem;
}

.status-tag {
  margin-top: 2px;
  color: var(--text-3);
  font-weight: 500;
}

.status-card p:not(.status-tag) {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 0.97rem;
}

.status-card kbd {
  align-self: flex-start;
  margin-top: auto;
  transform: translateY(14px);
}

.status-card p:not(.status-tag) {
  margin-bottom: 14px;
}

/* Split (team room) */

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

.checks {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.checks li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
}

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-text);
}

.room-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  --panel-line: var(--line-strong);
  --panel-fill-2: var(--surface-2);
  --panel-text: var(--text);
  --panel-text-3: var(--text-3);
}

.room-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.room-card .panel-label {
  margin: 0;
}

.room-count {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.room-people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px 14px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
}

.person-mic {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.person-mic.off {
  color: var(--text-3);
}

.room-join {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-foot {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 14px;
}

/* Privacy */

.privacy {
  --text: #F5F5F4;
  --text-2: #A6A6AB;
  --text-3: #85858B;
  --line: rgba(255, 255, 255, 0.09);
  --accent-text: #FF9D5C;
  position: relative;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(255, 138, 61, 0.18), transparent 70%),
    var(--brand-bg);
  color: var(--text);
}

.privacy-grid {
  display: grid;
  gap: 16px;
}

.p-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.p-card h3 {
  margin-top: 18px;
}

.p-card p {
  margin-top: 8px;
  color: var(--text-2);
}

.p-ico {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.p-card-wide {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-color: rgba(255, 138, 61, 0.35);
  background: rgba(255, 138, 61, 0.07);
}

/* What it isn't */

.nots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.nots li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
}

.nots svg {
  width: 15px;
  height: 15px;
  color: var(--text-3);
}

/* Features */

.features {
  display: grid;
  gap: 0 40px;
}

.features li {
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
}

.features p {
  margin-top: 8px;
  color: var(--text-2);
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  position: relative;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-3);
  transition: transform 0.2s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 40rem;
  padding: 0 40px 24px 0;
  color: var(--text-2);
}

.faq a {
  color: var(--accent-text);
  font-weight: 600;
}

/* Final call to action */

.cta {
  position: relative;
  padding: 120px 0 128px;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 0%, rgba(255, 138, 61, 0.16), transparent 70%);
  text-align: center;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
}

.cta .section-lede {
  max-width: 32rem;
  margin-bottom: 30px;
}

/* Access request form */

.access-form {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  text-align: left;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  /* 16 px or more, or iOS zooms in on focus. */
  font: 400 17px/1 var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.was-checked .field input:invalid {
  border-color: var(--error-text);
}

.access-form .btn {
  width: 100%;
  margin-top: 6px;
}

.access-form .btn:disabled {
  cursor: progress;
  opacity: 0.7;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5em;
  color: var(--text-2);
  font-size: 15px;
  text-align: center;
}

.form-status:empty {
  min-height: 0;
}

.form-status.is-error {
  color: var(--error-text);
  font-weight: 500;
}

.form-note {
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

.access-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(420px, 100%);
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.access-done:focus {
  outline: none;
}

.done-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.done-icon svg {
  width: 24px;
  height: 24px;
}

.access-done p {
  margin-top: 6px;
  color: var(--text-2);
}

.cta .fineprint {
  margin-top: 28px;
}

/* Footer */

.footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer .brand {
  color: var(--text);
}

.footer a:not(.brand) {
  color: var(--text-2);
}

.footer-copy {
  margin-left: auto;
}

/* Layout breakpoints */

@media (min-width: 640px) {
  .statuses,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 88px 0 120px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .statuses {
    grid-template-columns: repeat(4, 1fr);
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
  }

  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 22px;
  }

  .p-card-wide h3 {
    margin-top: 0;
  }
}

@media (max-width: 719px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 599px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .menubar-left {
    display: none;
  }

  .menubar {
    justify-content: flex-end;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .footer-copy {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 404 */

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  border-top: 0;
}

.not-found h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

/* Invite (invite/): the code from the email, and the way into the app. */

.invite-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 40px 0 28px;
}

.invite-code-label {
  color: var(--text-2);
  font-size: 15px;
}

.invite-code code {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  user-select: all;
}
