@font-face {
  font-family: "Literata";
  src: url("/assets/Literata.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/Inter.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #152222;
  --muted: #5e6e6d;
  --teal: #087b75;
  --teal-dark: #073b3a;
  --mint: #d8efea;
  --paper: #fbf6ec;
  --line: rgba(21, 34, 34, 0.14);
  --white: #fffefa;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(21, 34, 34, 0.08);
  background: rgba(255, 254, 250, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-family: "Literata", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 10px; }

.topbar nav {
  display: flex;
  gap: 34px;
}

.topbar nav a,
.top-cta {
  color: #354443;
  font-size: 14px;
  text-decoration: none;
}

.topbar nav a:hover,
.top-cta:hover { color: var(--teal); }

.top-cta {
  justify-self: end;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  min-height: clamp(720px, calc(100vh - 76px), 840px);
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 18%, rgba(216, 239, 234, 0.68), transparent 25%),
    linear-gradient(115deg, #fffefa 0%, #fbf8f0 58%, #e9f4ef 100%);
}

.hero-copy {
  align-self: center;
  max-width: 820px;
  padding: 76px 3vw 76px clamp(28px, 6.2vw, 112px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Literata", Georgia, serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(56px, 4.7vw, 82px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.01;
}

h1 span {
  display: block;
  color: var(--teal);
  font-weight: 600;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 750 14px "Inter", sans-serif;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 30px rgba(8, 123, 117, 0.2);
}

.button.primary:hover { background: #056b66; }

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin-top: 34px;
  color: #6b7776;
  font-size: 12px;
}

.hero-notes span::before {
  content: "•";
  margin-right: 8px;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
}

.halo {
  position: absolute;
  width: min(43vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(216, 239, 234, 0.78);
  box-shadow: inset 0 0 0 1px rgba(8, 123, 117, 0.08);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(24vw, 390px);
  height: min(72vh, 700px);
  overflow: hidden;
  border: 9px solid #1c2626;
  border-radius: 43px;
  background: var(--paper);
  box-shadow: 0 35px 80px rgba(7, 59, 58, 0.25);
  transform: rotate(2.5deg);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 50%;
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background: #1c2626;
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.format-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.88);
  box-shadow: 0 16px 35px rgba(7, 59, 58, 0.14);
  backdrop-filter: blur(12px);
}

.format-chip b {
  color: var(--teal-dark);
  font-family: "Literata", Georgia, serif;
  font-size: 20px;
}

.format-chip span {
  color: var(--muted);
  font-size: 11px;
}

.chip-one { left: 2%; top: 23%; }
.chip-two { right: 3%; bottom: 20%; }

.lamp-glow {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 48%;
  width: 280px;
  height: 170px;
  background: radial-gradient(ellipse, rgba(255, 193, 92, .45), transparent 68%);
  filter: blur(8px);
}

.formats-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 50px;
  padding: 24px clamp(28px, 7.5vw, 126px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.formats-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.formats-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.formats-strip span {
  color: #334342;
  font-family: "Literata", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.section {
  padding: 120px clamp(28px, 7.5vw, 126px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  column-gap: 10vw;
  align-items: end;
  margin-bottom: 60px;
}

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

.section-heading h2,
.feedback-copy h2,
.quiet-section h2 {
  margin-bottom: 0;
  font-size: clamp(39px, 4.2vw, 68px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.feature {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #f6f7f5;
}

.feature-large {
  display: grid;
  grid-template-columns: 1fr .75fr;
  grid-row: span 2;
  min-height: 878px;
  background: var(--mint);
}

.feature-number {
  margin: 0 0 44px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.feature h3 {
  max-width: 440px;
  margin-bottom: 18px;
  font-size: clamp(29px, 2.5vw, 43px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.feature > p:not(.feature-number),
.feature > div > p:not(.feature-number) {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.screen-frame {
  align-self: end;
  width: 100%;
  height: 76%;
  min-height: 570px;
  margin: 40px 0 -90px 28px;
  overflow: hidden;
  border: 7px solid rgba(21,34,34,.86);
  border-radius: 38px 38px 0 0;
  box-shadow: 0 28px 55px rgba(7,59,58,.18);
  transform: rotate(1.5deg);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.feature-warm { background: var(--paper); }

.type-sample {
  position: absolute;
  right: 36px;
  bottom: 24px;
  left: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(21,34,34,.12);
}

.type-sample span {
  color: var(--teal);
  font: 600 64px "Literata", serif;
}

.type-sample p {
  margin: 0;
  color: #463d30;
  font: 500 21px/1.45 "Literata", serif;
}

.feature-dark {
  background: var(--teal-dark);
  color: #f6faf8;
}

.feature-dark .feature-number { color: #82d8ce; }
.feature-dark > p:not(.feature-number) { color: #bad0cd; }

.translation-card {
  position: absolute;
  right: 36px;
  bottom: 30px;
  left: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.translation-card small { color: #9ebcb8; }
.translation-card b { grid-row: 2; font: 500 27px "Literata", serif; }
.translation-card span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #82d8ce; font-size: 11px; }

.stat-preview {
  position: absolute;
  right: 24px;
  bottom: -230px;
  width: 48%;
  min-width: 210px;
  border: 6px solid white;
  border-radius: 28px;
  box-shadow: 0 24px 45px rgba(21,34,34,.16);
}

.quiet-section {
  display: grid;
  grid-template-columns: 1.15fr .7fr;
  gap: 10vw;
  align-items: end;
  padding: 110px clamp(28px, 7.5vw, 126px);
  background: var(--teal-dark);
  color: white;
}

.eyebrow.light { color: #82d8ce; }

.quiet-section > p {
  margin: 0 0 6px;
  color: #c3d3d1;
  line-height: 1.8;
}

.feedback-section {
  display: grid;
  grid-template-columns: .75fr 1.1fr;
  gap: 8vw;
  background: linear-gradient(135deg, #fbf6ec, #fffefa 65%);
}

.feedback-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-note {
  display: grid;
  gap: 5px;
  max-width: 430px;
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: rgba(216, 239, 234, .45);
}

.contact-note span { color: var(--muted); font-size: 13px; }

.feedback-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 26px 65px rgba(58, 65, 56, .08);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feedback-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
  color: #455453;
  font-size: 12px;
  font-weight: 700;
}

input, textarea {
  width: 100%;
  border: 1px solid rgba(21,34,34,.16);
  border-radius: 13px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: 15px "Inter", sans-serif;
}

input { height: 52px; padding: 0 15px; }
textarea { min-height: 160px; padding: 15px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,123,117,.1); }

.trap {
  position: absolute;
  left: -9999px;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.form-bottom p {
  max-width: 390px;
  margin: 0;
  color: #788281;
  font-size: 11px;
  line-height: 1.5;
}

.form-bottom button { flex: 0 0 auto; gap: 18px; }
.form-bottom button i { font-size: 19px; font-style: normal; }
.form-status { min-height: 20px; margin: 16px 0 0; color: var(--teal); font-size: 13px; }
.form-status.error { color: #a53d2d; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 28px clamp(28px, 7.5vw, 126px);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer p { color: var(--muted); font: 600 13px "Inter", sans-serif; }
footer > div { display: flex; justify-self: end; gap: 20px; color: var(--muted); font-size: 11px; }
footer > div a { text-decoration: none; }
footer > div a:hover { color: var(--teal); }

@media (min-width: 1400px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy {
    max-width: 960px;
    padding-right: 24px;
  }
  h1 { max-width: 840px; }
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr); }
  .hero-copy { padding-left: 6vw; }
  .chip-one { left: -4%; }
  .chip-two { right: -4%; }
  .feature-large { grid-template-columns: 1fr; }
  .screen-frame { width: 62%; margin-left: auto; }
}

@media (max-width: 800px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 72px 26px 32px; }
  .hero-visual { min-height: 610px; }
  .halo { width: 520px; }
  .phone { width: 280px; height: 560px; }
  .chip-one { left: 8%; }
  .chip-two { right: 5%; }
  .formats-strip { grid-template-columns: 1fr; gap: 18px; }
  .formats-strip div { justify-content: flex-start; gap: 14px 26px; }
  .section { padding: 86px 26px; }
  .section-heading, .quiet-section, .feedback-section { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { min-height: 820px; }
  .quiet-section { padding: 82px 26px; }
  .quiet-section > p { margin-top: 30px; }
  .feedback-section { gap: 45px; }
  footer { grid-template-columns: 1fr; }
  footer > div { justify-self: start; flex-wrap: wrap; }
  footer p { margin: 0; }
}

@media (max-width: 520px) {
  .topbar { min-height: 68px; padding: 10px 18px; }
  .top-cta { font-size: 12px; }
  h1 { font-size: 48px; line-height: 1.04; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 560px; }
  .phone { width: 245px; height: 500px; }
  .format-chip { min-width: 145px; padding: 13px 15px; }
  .chip-one { left: -4%; top: 18%; }
  .chip-two { right: -4%; bottom: 16%; }
  .feature { padding: 28px; border-radius: 24px; }
  .feature-large { min-height: 760px; }
  .screen-frame { width: 82%; min-height: 510px; margin-bottom: -80px; }
  .type-sample { right: 26px; left: 26px; gap: 13px; }
  .type-sample span { font-size: 49px; }
  .type-sample p { font-size: 17px; }
  .translation-card { right: 26px; left: 26px; }
  .stat-preview { width: 58%; }
  .feedback-form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-bottom { align-items: stretch; flex-direction: column; }
  .form-bottom .button { width: 100%; }
}

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