:root {
  --ink: #151313;
  --muted: #625d58;
  --paper: #fffaf2;
  --surface: #ffffff;
  --warm: #f7dfaa;
  --clay: #7a5138;
  --clay-dark: #4b2e21;
  --mint: #22c78a;
  --coral: #ef675d;
  --blue: #2d76e5;
  --line: rgba(21, 19, 19, 0.12);
  --shadow: 0 24px 70px rgba(37, 28, 20, 0.18);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 250, 242, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 19, 19, 0.12);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  border-radius: 999px;
  color: rgba(21, 19, 19, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 13px;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(34, 199, 138, 0.13);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, 82svh);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.78), rgba(21, 19, 19, 0.24)),
    image-set(url("img/p1.jpg") type("image/jpeg"));
  background-position: center 32%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 19, 19, 0.05), rgba(21, 19, 19, 0.46));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 70px 0 78px;
  color: #fffaf2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.legal-heading h1 {
  max-width: 780px;
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 8.5rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: 1.45rem;
}

.hero-actions,
.cta-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  padding: 12px 18px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #07140f;
  background: var(--mint);
  box-shadow: 0 14px 34px rgba(34, 199, 138, 0.28);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-secondary {
  color: #fffaf2;
  border-color: rgba(255, 250, 242, 0.42);
  background: rgba(255, 250, 242, 0.1);
}

.section,
.intro-band {
  padding: 92px 0;
}

.intro-band {
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.showcase-copy h2,
.cta-panel h2,
.support-sidebar h2,
.legal-document h2 {
  margin: 0;
  font-size: 3.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.showcase-copy p,
.support-sidebar p,
.legal-document p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 620px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(37, 28, 20, 0.08);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #07140f;
  background: var(--warm);
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 46px 0 10px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(247, 223, 170, 0.58), rgba(255, 255, 255, 0.72)),
    #f5efe7;
  overflow: hidden;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.showcase-copy p {
  margin-top: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #342e29;
  font-weight: 720;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
  content: "";
}

.phone-stack {
  position: relative;
  min-height: 680px;
}

.phone-shot {
  position: absolute;
  width: min(57%, 340px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-shot-main {
  right: 20%;
  top: 0;
  transform: rotate(-4deg);
}

.phone-shot-float {
  right: 0;
  top: 120px;
  transform: rotate(5deg);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-row figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(37, 28, 20, 0.08);
}

.screenshot-row img {
  width: 100%;
  aspect-ratio: 621 / 950;
  object-fit: cover;
  object-position: top center;
}

.screenshot-row figcaption {
  padding: 14px 16px 16px;
  color: var(--ink);
  font-weight: 850;
}

.final-cta {
  padding-top: 24px;
}

.cta-panel {
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(34, 199, 138, 0.13), rgba(45, 118, 229, 0.12)),
    var(--surface);
}

.cta-panel img {
  border-radius: 16px;
}

.cta-panel div {
  flex: 1 1 420px;
}

.site-footer {
  padding: 50px 0 26px;
  color: rgba(255, 250, 242, 0.76);
  background: #171313;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: #fffaf2;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fffaf2;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 242, 0.15);
  font-size: 0.9rem;
}

.page-hero,
.legal-hero {
  padding: 82px 0 70px;
  background:
    linear-gradient(135deg, rgba(247, 223, 170, 0.76), rgba(255, 255, 255, 0.7)),
    var(--paper);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.page-hero h1,
.legal-heading h1 {
  color: var(--ink);
  font-size: 6.5rem;
}

.page-hero p:not(.section-kicker),
.legal-heading p:not(.section-kicker) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.page-hero img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.support-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.support-sidebar,
.support-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.support-sidebar {
  padding: 28px;
}

.support-sidebar h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.support-note {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 16px;
  border-left: 4px solid var(--mint);
  background: rgba(34, 199, 138, 0.1);
}

.support-note span {
  color: var(--muted);
}

.support-form {
  display: grid;
  gap: 20px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(37, 28, 20, 0.08);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 850;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(21, 19, 19, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf9;
  padding: 13px 14px;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45, 118, 229, 0.14);
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--coral);
}

.field-error {
  min-height: 1.2em;
  margin: 0;
  color: #b8322a;
  font-size: 0.9rem;
  font-weight: 760;
}

.form-submit {
  width: fit-content;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.form-status.success {
  color: #11734e;
}

.form-status.error {
  color: #b8322a;
}

.legal-content {
  padding: 70px 0 92px;
  background: var(--surface);
}

.legal-document {
  max-width: 820px;
}

.legal-document h2 {
  margin-top: 42px;
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.legal-document p {
  margin-top: 0;
}

@media (max-width: 900px) {
  .intro-grid,
  .feature-grid,
  .showcase-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 610px;
  }

  .phone-shot-main {
    left: 5%;
    right: auto;
  }

  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .screenshot-row img {
    aspect-ratio: 621 / 860;
  }

  .hero-content h1,
  .page-hero h1,
  .legal-heading h1 {
    font-size: 5.8rem;
  }

  .hero-content p {
    font-size: 1.24rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .showcase-copy h2,
  .cta-panel h2,
  .support-sidebar h2 {
    font-size: 2.65rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    inset: 66px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, 0.98);
    box-shadow: 0 22px 50px rgba(37, 28, 20, 0.16);
  }

  body.nav-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    border-radius: 8px;
    padding: 12px 14px;
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero-content h1,
  .page-hero h1,
  .legal-heading h1 {
    font-size: 4.4rem;
  }

  .hero-content p {
    font-size: 1.06rem;
  }

  .section,
  .intro-band {
    padding: 68px 0;
  }

  .intro-grid h2,
  .section-heading h2,
  .showcase-copy h2,
  .cta-panel h2,
  .support-sidebar h2 {
    font-size: 2.15rem;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    width: 94px;
    height: 94px;
  }

  .phone-stack {
    min-height: 520px;
  }

  .phone-shot {
    width: min(64%, 280px);
  }

  .phone-shot-float {
    top: 104px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .container,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .brand span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content h1,
  .page-hero h1,
  .legal-heading h1 {
    font-size: 3.35rem;
  }

  .hero-actions,
  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .form-submit {
    width: 100%;
  }

  .feature-card,
  .support-form,
  .support-sidebar,
  .cta-panel {
    padding: 22px;
  }

  .phone-stack {
    min-height: 430px;
  }
}
