:root {
  --ink: #14201d;
  --ink-soft: #263833;
  --paper: #f7f3eb;
  --paper-deep: #eee6d8;
  --sage: #8aa394;
  --sage-dark: #526e61;
  --coral: #e86f5a;
  --coral-dark: #b84d3d;
  --blue: #86a8b6;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(20, 32, 29, 0.28);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 24px clamp(20px, 5vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.brand,
.header-links,
.site-footer div {
  align-items: center;
  display: flex;
  gap: 18px;
}

.brand {
  font-weight: 760;
}

.header-links a,
.site-footer a {
  font-size: 0.95rem;
  opacity: 0.86;
}

.header-links a:hover,
.site-footer a:hover {
  opacity: 1;
}

.hero {
  background:
    linear-gradient(112deg, var(--ink) 0%, var(--ink) 58%, var(--sage) 58%, var(--sage) 100%);
  isolation: isolate;
  min-height: 96svh;
  overflow: hidden;
  position: relative;
}

.hero-content {
  align-items: center;
  color: var(--white);
  display: grid;
  gap: clamp(36px, 6vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: 0 auto;
  max-width: 1320px;
  min-height: 96svh;
  padding: 132px clamp(20px, 7vw, 92px) 62px;
}

.hero-copy-block {
  max-width: 790px;
}

.phone-preview {
  justify-self: center;
  max-width: 100%;
  width: min(100%, 420px, 35svh);
}

.phone-hardware {
  aspect-ratio: 9 / 18.8;
  background: linear-gradient(145deg, #2c332f 0%, #070a09 48%, #303936 100%);
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 48px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 2px rgba(255, 250, 242, 0.08),
    inset 0 -18px 26px rgba(0, 0, 0, 0.36);
  padding: 10px;
  position: relative;
  width: 100%;
}

.phone-hardware::before {
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.32), rgba(255, 250, 242, 0));
  border-radius: 44px;
  content: "";
  inset: 3px auto 3px 3px;
  opacity: 0.22;
  position: absolute;
  width: 34%;
  z-index: 1;
}

.phone-shell {
  background: #0c1311;
  border: 1px solid rgba(255, 250, 242, 0.12);
  border-radius: 38px;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 2;
}

.side-button {
  background: linear-gradient(180deg, #202a26, #060807);
  border-radius: 999px;
  position: absolute;
  width: 4px;
  z-index: 0;
}

.side-button-left {
  height: 70px;
  left: -3px;
  top: 24%;
}

.side-button-right {
  height: 96px;
  right: -3px;
  top: 32%;
}

.phone-top {
  background: #050706;
  border: 1px solid rgba(255, 250, 242, 0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 10px rgba(255, 250, 242, 0.04);
  height: 25px;
  left: 50%;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 34%;
  z-index: 4;
}

.slide-track {
  animation: slideMoments 15s infinite;
  display: flex;
  height: 100%;
  width: 300%;
}

.moment-slide {
  flex: 0 0 33.3333%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.moment-slide::after {
  background: linear-gradient(180deg, rgba(12, 19, 17, 0.04) 28%, rgba(12, 19, 17, 0.74) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.moment-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.moment-slide figcaption {
  bottom: 56px;
  color: var(--white);
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.72));
  left: 22px;
  position: absolute;
  right: 22px;
  text-align: center;
  z-index: 2;
}

.moment-slide figcaption span {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 780;
  line-height: 1.18;
  margin-bottom: 8px;
}

.moment-slide figcaption small {
  color: rgba(255, 250, 242, 0.82);
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.preview-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.preview-dots span {
  background: rgba(255, 250, 242, 0.42);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.preview-dots span:first-child {
  animation: dotOne 15s infinite;
}

.preview-dots span:nth-child(2) {
  animation: dotTwo 15s infinite;
}

.preview-dots span:nth-child(3) {
  animation: dotThree 15s infinite;
}

@keyframes slideMoments {
  0%, 26% {
    transform: translateX(0);
  }

  33%, 59% {
    transform: translateX(-33.3333%);
  }

  66%, 92% {
    transform: translateX(-66.6666%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes dotOne {
  0%, 26%, 100% {
    background: var(--coral);
  }

  33%, 92% {
    background: rgba(255, 250, 242, 0.42);
  }
}

@keyframes dotTwo {
  0%, 26%, 66%, 100% {
    background: rgba(255, 250, 242, 0.42);
  }

  33%, 59% {
    background: var(--coral);
  }
}

@keyframes dotThree {
  0%, 59%, 100% {
    background: rgba(255, 250, 242, 0.42);
  }

  66%, 92% {
    background: var(--coral);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-track,
  .preview-dots span {
    animation: none;
  }
}

.eyebrow {
  color: rgba(20, 32, 29, 0.62);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0 0 14px;
}

.hero .eyebrow,
.calm-section .eyebrow {
  color: rgba(255, 250, 242, 0.68);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.7rem, 8.4vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 28px;
  max-width: 860px;
}

.hero-copy {
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  margin-bottom: 34px;
  max-width: 690px;
}

.waitlist-form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 330px) auto;
  margin: auto 0 12px;
  max-width: 100%;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    max-height 300ms ease,
    margin 300ms ease;
}

.company-field,
.turnstile-widget {
  display: none;
}

.waitlist-form input,
.waitlist-form button,
.cta-link {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 48px;
}

.waitlist-form input {
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  min-width: 0;
  padding: 0 16px;
}

.waitlist-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(134, 168, 182, 0.24);
  outline: none;
}

.waitlist-form button,
.cta-link {
  background: var(--coral);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0 18px;
}

.waitlist-form button:hover,
.cta-link:hover {
  background: #f0836f;
}

.form-note {
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.95rem;
  margin: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 260ms ease;
}

.waitlist-success {
  align-items: center;
  color: rgba(255, 250, 242, 0.92);
  display: flex;
  font-size: 0.98rem;
  gap: 10px;
  line-height: 1.35;
  margin: 0;
  max-width: 520px;
}

.waitlist-area.is-complete .waitlist-form,
.waitlist-area.is-complete .form-note {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.waitlist-area.is-complete .waitlist-form {
  margin: 0;
}

.waitlist-area.is-complete .waitlist-success {
  animation: successIn 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.waitlist-success::before {
  background: #7ecf8f;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(126, 207, 143, 0.16);
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 18px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.55 17.2 4.9 12.55l1.4-1.4 3.25 3.25 8.15-8.15 1.4 1.4z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  width: 18px;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-section,
.language-band,
.privacy-section,
.calm-section,
.faq-section,
.final-cta {
  padding: clamp(72px, 11vw, 132px) clamp(20px, 7vw, 92px);
}

.section-heading {
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
}

.value-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.value-grid article {
  border-top: 1px solid rgba(20, 32, 29, 0.18);
  padding-top: 22px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.value-grid p,
.privacy-copy p,
.final-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 680px;
}

.language-band {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.18) 0%, rgba(255, 250, 242, 0) 42%),
    var(--sage);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
}

.language-band .eyebrow {
  color: rgba(20, 32, 29, 0.66);
}

.language-copy p:not(.eyebrow) {
  color: rgba(20, 32, 29, 0.78);
  font-size: 1.08rem;
  max-width: 620px;
}

.language-signal {
  display: grid;
  gap: 18px;
}

.language-count {
  align-items: end;
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  max-width: 420px;
  padding-bottom: 18px;
}

.language-count strong {
  color: var(--ink);
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0;
  line-height: 0.82;
}

.language-count span {
  color: rgba(20, 32, 29, 0.76);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.18;
  max-width: 180px;
  padding-bottom: 5px;
}

.language-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.language-list li {
  background: rgba(255, 250, 242, 0.46);
  border: 1px solid rgba(20, 32, 29, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 32, 29, 0.08);
  display: grid;
  min-height: 76px;
  padding: 15px 16px 13px;
}

.language-list span {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 820;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.language-list small {
  color: rgba(20, 32, 29, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.2;
  margin-top: 8px;
}

.privacy-section {
  background: var(--paper-deep);
}

.privacy-copy {
  margin-left: auto;
  max-width: 840px;
}

.calm-section {
  background: var(--ink);
  color: var(--white);
}

.calm-copy {
  max-width: 920px;
}

.calm-copy p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.42;
  max-width: 760px;
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.faq-grid article {
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid rgba(20, 32, 29, 0.12);
  border-radius: 8px;
  padding: 24px;
}

.faq-grid p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.final-cta {
  align-items: end;
  background: var(--blue);
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.final-cta .eyebrow {
  color: rgba(20, 32, 29, 0.66);
}

.cta-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 7vw, 92px);
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 820px) {
  .site-header {
    padding: 18px 20px;
  }

  .header-links {
    gap: 14px;
  }

  .hero {
    background:
      linear-gradient(180deg, var(--ink) 0%, var(--ink) 66%, var(--sage) 66%, var(--sage) 100%);
    min-height: auto;
  }

  .hero-content {
    gap: 42px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 112px 20px 48px;
  }

  .phone-preview {
    width: min(78vw, 340px);
  }

  .phone-hardware {
    border-radius: 42px;
    padding: 8px;
  }

  .phone-shell {
    border-radius: 34px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5rem);
    max-width: 10ch;
  }

  .hero-copy {
    font-size: 1.2rem;
  }

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

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

  .value-grid,
  .language-band,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 460px) {
  .header-links a {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 3.6rem);
  }

  .phone-preview {
    width: min(82vw, 300px);
  }

  .moment-slide figcaption {
    bottom: 48px;
    left: 18px;
    right: 18px;
  }

  .moment-slide figcaption span {
    font-size: 1rem;
  }

  .language-list {
    grid-template-columns: 1fr;
  }

  .language-count {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .language-count span {
    max-width: none;
  }

  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
