:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --bg: #f8efe2;
  --surface: #fffaf3;
  --surface-soft: #efe3d4;
  --ink: #201814;
  --muted: #6f6258;
  --dark: #223732;
  --dark-2: #162522;
  --ruby: #bd3155;
  --ruby-soft: #f5d9df;
  --green: #5c6650;
  --gold: #d8a14a;
  --teal: #2f756f;
  --line: rgba(32, 24, 20, 0.13);
  --line-strong: rgba(32, 24, 20, 0.24);
  --white: #fffaf3;
  --shadow: 0 28px 90px rgba(32, 24, 20, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 24, 20, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 24, 20, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

.site-nav,
.simple-nav {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px;
  color: var(--white);
  background: color-mix(in srgb, var(--dark) 82%, transparent);
  border: 1px solid rgba(255, 250, 243, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(22, 37, 34, 0.22);
}

.simple-nav {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #78162e;
  background: var(--ruby-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.site-nav nav,
.simple-nav nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: currentColor;
  font-size: 13px;
}

.site-nav nav a,
.simple-nav nav a,
.site-footer nav a {
  color: currentColor;
  opacity: 0.82;
  text-decoration: none;
}

.site-nav nav a:hover,
.simple-nav nav a:hover,
.site-footer nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  padding: 122px max(22px, calc((100vw - 1160px) / 2)) 42px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(245, 217, 223, 0.24), transparent 32%),
    linear-gradient(135deg, #14211f 0%, #223732 48%, #5c6650 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(20, 33, 31, 0.95) 0%,
    rgba(20, 33, 31, 0.82) 42%,
    rgba(20, 33, 31, 0.22) 72%,
    rgba(20, 33, 31, 0.02) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(20, 33, 31, 0.62));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  opacity: 0.96;
}

.phone-frame {
  position: absolute;
  top: 15%;
  right: max(24px, calc((100vw - 1120px) / 2));
  width: min(360px, 29vw);
  min-width: 292px;
  height: min(570px, 64vh);
  min-height: 470px;
  padding: 18px;
  color: var(--white);
  background: #192925;
  border: 9px solid #101b18;
  border-radius: 34px;
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.38);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 250, 243, 0.12);
  font-weight: 700;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #78162e;
  background: var(--ruby-soft);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 24px;
}

.message-thread {
  display: grid;
  align-content: center;
  gap: 13px;
  min-height: calc(100% - 104px);
  padding: 18px 0;
}

.bubble {
  max-width: 88%;
  padding: 12px 13px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}

.bubble.client {
  background: rgba(255, 250, 243, 0.11);
  border: 1px solid rgba(255, 250, 243, 0.11);
}

.bubble.ruby {
  justify-self: end;
  color: var(--ink);
  background: #f7e1e6;
}

.phone-compose {
  height: 38px;
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.08);
}

.inbox-panel {
  position: absolute;
  display: none;
  width: 250px;
  padding: 16px;
  background: rgba(255, 250, 243, 0.10);
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  opacity: 0.66;
}

.panel-calendar {
  top: 23%;
  left: max(26px, calc((100vw - 1180px) / 2));
}

.panel-preferences {
  right: max(430px, calc((100vw - 1120px) / 2 + 420px));
  bottom: 25%;
}

.panel-open-loops {
  right: max(28px, calc((100vw - 1120px) / 2 + 24px));
  bottom: 8%;
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 250, 243, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.panel-line,
.task-row {
  display: block;
  height: 9px;
  margin-bottom: 10px;
  background: rgba(255, 250, 243, 0.28);
  border-radius: 999px;
}

.panel-line.long {
  width: 78%;
}

.panel-dot {
  display: block;
  width: 42px;
  height: 42px;
  margin-top: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.preference-pill {
  display: inline-flex;
  margin: 0 6px 8px 0;
  padding: 6px 8px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.76);
  border-radius: 999px;
  font-size: 12px;
}

.task-row.active {
  background: var(--ruby-soft);
}

.task-row.short {
  width: 62%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  color: var(--ruby);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.trust-section .eyebrow {
  color: #f5b7c6;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(52px, 6vw, 92px);
}

h2 {
  font-size: clamp(40px, 6vw, 76px);
}

h3 {
  font-size: 20px;
  line-height: 1.15;
}

.hero-lede {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 250, 243, 0.78);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.38;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  width: min(620px, 100%);
  margin-top: 28px;
}

.waitlist-form label {
  display: grid;
  gap: 7px;
}

.waitlist-form label span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: currentColor;
  opacity: 0.74;
}

.waitlist-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(255, 250, 243, 0.38);
  border-radius: 999px;
  outline: none;
}

.waitlist-form input:focus {
  border-color: var(--ruby-soft);
  box-shadow: 0 0 0 4px rgba(245, 217, 223, 0.18);
}

.waitlist-form button {
  align-self: end;
  min-height: 52px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ruby);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: currentColor;
  font-size: 14px;
  opacity: 0.76;
}

.context-section,
.channel-section,
.skills-section,
.trust-section,
.beta-section,
.legal {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.context-section {
  padding: 88px 0 48px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.context-card {
  min-height: 255px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(32, 24, 20, 0.06);
}

.icon-dot {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 42px;
  border-radius: 50%;
}

.ruby-dot { background: var(--ruby); }
.green-dot { background: var(--green); }
.gold-dot { background: var(--gold); }
.teal-dot { background: var(--teal); }

.context-card h3,
.skills-list h3,
.trust-grid h3 {
  margin-bottom: 10px;
}

.context-card p,
.channel-copy p,
.skills-list p,
.trust-grid p,
.beta-section p,
.legal p {
  color: var(--muted);
}

.channel-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.68fr);
  gap: 40px;
  align-items: center;
  padding: 70px 0 86px;
}

.channel-copy p {
  max-width: 580px;
  margin-top: 20px;
  font-size: 18px;
}

.channel-visual {
  position: relative;
  display: grid;
  gap: 14px;
}

.email-card,
.whatsapp-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.email-kicker,
.whatsapp-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--ruby);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.email-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.connector {
  width: 2px;
  height: 38px;
  margin-left: 34px;
  background: var(--line-strong);
}

.whatsapp-card {
  margin-left: 64px;
  color: var(--ink);
  background: var(--ruby-soft);
}

.skills-section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.skills-list article {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
}

.trust-section {
  width: 100%;
  padding: 90px max(22px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    var(--dark-2);
  background-size: 30px 30px;
}

.trust-section > div:first-child {
  max-width: 780px;
  margin-bottom: 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid article {
  min-height: 230px;
  padding: 20px;
  background: rgba(255, 250, 243, 0.07);
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: 8px;
}

.trust-grid span {
  display: block;
  margin-bottom: 48px;
  color: #f5b7c6;
  font-family: var(--font-mono);
  font-size: 12px;
}

.trust-grid p {
  color: rgba(255, 250, 243, 0.68);
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.64fr);
  gap: 42px;
  align-items: center;
  padding: 88px 0;
}

.beta-section p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 18px;
}

.beta-form {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.beta-form input {
  border-color: var(--line);
  background: var(--bg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.legal-page {
  background: var(--bg);
}

.legal {
  max-width: 760px;
  padding: 146px 0 80px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(54px, 8vw, 92px);
}

.updated {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.legal section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

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

  .hero {
    min-height: 92svh;
    padding-top: 96px;
  }

  .phone-frame {
    top: 11%;
    right: -42px;
    width: 320px;
    min-width: 320px;
    opacity: 0.78;
  }

  .inbox-panel {
    display: none;
  }

  .section-heading,
  .channel-section,
  .beta-section,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .context-grid,
  .skills-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-nav,
  .simple-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    padding: 94px 16px 30px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .phone-frame {
    display: none;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form button {
    width: 100%;
  }

  .context-section,
  .channel-section,
  .skills-section,
  .beta-section,
  .site-footer,
  .legal {
    width: min(100% - 28px, 1120px);
  }

  .context-grid,
  .skills-list {
    grid-template-columns: 1fr;
  }

  .context-card,
  .skills-list article,
  .trust-grid article {
    min-height: auto;
  }

  .icon-dot,
  .trust-grid span {
    margin-bottom: 24px;
  }

  .whatsapp-card {
    margin-left: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
