:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --paper-soft: #fffdf8;
  --ink: #171717;
  --muted: #68645d;
  --line: #ded8cc;
  --blue: #245ee8;
  --blue-dark: #1741a8;
  --green: #24765b;
  --amber: #b46811;
  --rose: #c2453d;
  --shadow: 0 18px 60px rgba(35, 31, 24, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(248, 245, 238, 0.96)),
    radial-gradient(circle at 15% 20%, rgba(36, 94, 232, 0.1), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(180, 104, 17, 0.12), transparent 30%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(23, 23, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(222, 216, 204, 0.84);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 12px 38px rgba(35, 31, 24, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(35, 31, 24, 0.18));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.secondary-link,
.inline-download,
.email-link,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav-links a:hover,
.secondary-link:hover,
.inline-download:hover,
.email-link:hover,
.site-footer a:hover {
  color: var(--blue);
  text-decoration-line: underline;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-toggle,
.header-download {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
  white-space: nowrap;
}

.language-toggle {
  padding: 0 12px;
  cursor: pointer;
}

.header-download {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--ink);
  color: #fffdf8;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 162px max(24px, calc((100vw - 1180px) / 2)) 108px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94);
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 245, 238, 0.98) 0%, rgba(248, 245, 238, 0.88) 38%, rgba(248, 245, 238, 0.5) 72%, rgba(248, 245, 238, 0.28) 100%),
    linear-gradient(180deg, rgba(248, 245, 238, 0.82), rgba(248, 245, 238, 0.28) 58%, var(--paper) 100%);
}

.hero-content {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8.2vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.32rem, 2.4vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(560px, 100%);
  margin-bottom: 30px;
  color: #34302a;
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.app-store-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 760;
  box-shadow: 0 16px 30px rgba(23, 23, 23, 0.22);
}

.app-store-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.secondary-link,
.inline-download {
  color: var(--blue-dark);
  font-weight: 760;
}

.intro-band {
  padding: 30px max(24px, calc((100vw - 1180px) / 2)) 0;
}

.intro-grid {
  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);
  box-shadow: var(--shadow);
}

.intro-grid > div {
  min-height: 160px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.92);
}

.metric {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 840;
  line-height: 0.9;
}

.intro-grid p,
.feature-card p,
.showcase-copy p,
.export-copy p,
.contact-section p {
  color: var(--muted);
}

.section,
.showcase,
.export-section,
.contact-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 118px 0 92px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

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

.feature-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 780;
}

.showcase {
  padding: 42px 0 96px;
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  padding: 44px 0;
}

.showcase-row.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
}

.showcase-row.reverse .showcase-copy {
  order: 2;
}

.showcase-copy {
  max-width: 420px;
}

.step {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--rose);
  font-weight: 820;
}

.screenshot-frame,
.pdf-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.export-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  padding: 78px clamp(22px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(248, 245, 238, 0.72)),
    linear-gradient(90deg, rgba(36, 94, 232, 0.08), rgba(36, 118, 91, 0.08));
}

.export-copy {
  max-width: 480px;
}

.export-copy p {
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.pdf-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 104px 0 70px;
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section p {
  max-width: 620px;
  margin-top: 22px;
}

.email-link {
  color: var(--blue-dark);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 780;
  white-space: nowrap;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .showcase-row,
  .showcase-row.reverse,
  .export-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-copy {
    order: initial;
  }

  .contact-section {
    align-items: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-download {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding: 128px 20px 76px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 245, 238, 0.96) 0%, rgba(248, 245, 238, 0.88) 48%, rgba(248, 245, 238, 0.54) 78%, var(--paper) 100%);
  }

  .hero-bg {
    object-position: 62% top;
  }

  .intro-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .showcase,
  .export-section,
  .contact-section,
  .site-footer {
    width: calc(100% - 40px);
  }

  .section {
    padding: 82px 0 54px;
  }

  .showcase {
    padding-bottom: 62px;
  }

  .showcase-row {
    padding: 28px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 24px;
  }

  .export-section {
    padding: 44px 20px;
  }

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

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