@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --ink: #17302b;
  --muted: #5e706b;
  --muted-light: #7a8f89;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --sage: #dfe9df;
  --sage-deep: #c8d8c8;
  --green: #173f35;
  --green-2: #245b4d;
  --green-soft: #2a6b5a;
  --line: #d9e0da;
  --line-strong: #c5cfc8;
  --accent: #c8893f;
  --accent-soft: #f0dcc0;
  --shadow: 0 18px 50px rgba(23, 63, 53, 0.08);
  --shadow-strong: 0 28px 70px rgba(23, 63, 53, 0.14);
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 224, 218, 0.85);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--green);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--green-2);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle-icon {
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 999px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon::before { top: -5px; }
.nav-toggle-icon::after { top: 5px; }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(200, 216, 200, 0.55), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(240, 220, 192, 0.35), transparent 24%),
    linear-gradient(135deg, rgba(255, 253, 248, 0) 40%, rgba(223, 233, 223, 0.35) 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 56px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-soft);
}

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 6.5vw, 72px);
  margin: 0 0 22px;
  max-width: 14ch;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 20px;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}

.section-lead {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
}

.section-lead a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.large {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.primary {
  background: var(--green);
  color: #fff;
}

.primary:hover {
  background: var(--green-2);
}

.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.82);
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-intro {
  margin-bottom: 56px;
}

.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.section-intro.centered .section-lead {
  margin-inline: auto;
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Story */

.story-section {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}

.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.story-problem h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.story-problem p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--sage-deep));
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  padding-left: 44px;
}

.timeline-item + .timeline-item {
  margin-top: 32px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--green);
  box-shadow: 0 0 0 4px var(--sage);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.timeline-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Product */

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

.product-header {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.product-title-block {
  margin-bottom: 0;
}

.product-tagline {
  margin: 8px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(18px, 2.5vw, 22px);
  font-style: italic;
  color: var(--green-soft);
  letter-spacing: -0.01em;
}

.product-header .section-lead {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.product-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 3px var(--green);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.platforms span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-2);
  background: #fbfcf8;
}

.platform-status {
  background: var(--accent-soft) !important;
  border-color: #e8cfa8 !important;
  color: #8a5d1d !important;
}

/* App preview */

.app-preview {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: 10% 0 0 10%;
  background: linear-gradient(145deg, var(--sage), var(--sage-deep));
  border-radius: 32px;
  z-index: 0;
}

.device-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  min-height: 500px;
}

.device-frame {
  margin: 0;
  padding: 10px;
  border-radius: 34px;
  background: #2a2140;
  box-shadow: var(--shadow-strong);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.device-back {
  position: absolute;
  width: 68%;
  right: 0;
  top: 28px;
  transform: rotate(8deg);
  z-index: 1;
  opacity: 0.94;
}

.device-front {
  position: relative;
  width: 74%;
  z-index: 2;
  transform: rotate(-4deg);
}

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

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

.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.feature-card-accent {
  background:
    radial-gradient(circle at top right, rgba(200, 216, 200, 0.5), transparent 40%),
    rgba(255, 255, 255, 0.92);
}

.feature-icon {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.feature-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.feature-card li + li {
  margin-top: 8px;
}

.feature-highlight {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.feature-quote {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}

.feature-quote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}

.feature-note {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-soft);
}

.care-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 56px;
  padding: 20px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-2);
}

.care-strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Origin */

.origin-section {
  background: var(--sage);
}

.origin-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.origin-card p,
.origin-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.origin-card p {
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
}

.origin-aside blockquote {
  margin: 0 0 18px;
  padding: 28px 28px 28px 32px;
  border-left: 3px solid var(--green);
  background: rgba(255, 253, 248, 0.72);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.origin-aside blockquote p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}

.origin-caption {
  padding-left: 4px;
  font-size: 15px !important;
}

/* Approach */

.approach-section {
  background: linear-gradient(180deg, var(--paper), var(--cream));
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.principle-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.principle-number {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  margin: 32px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.company-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.company-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Contact */

.contact-section {
  padding-bottom: 88px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(200, 216, 200, 0.45), transparent 34%),
    linear-gradient(135deg, var(--cream), #f3f0e8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.contact-note {
  margin-top: 14px !important;
  font-size: 14px !important;
  color: var(--muted-light) !important;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-actions .button {
  width: 100%;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8f6f0;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group strong {
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.footer-links-group a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.footer-links-group a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 13px;
}

/* Legal pages */

.legal-page {
  padding: 72px 0 96px;
}

.legal-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.legal-updated {
  margin: 0 0 40px;
  color: var(--muted-light);
  font-size: 14px;
}

.legal-body {
  max-width: 680px;
}

.legal-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-body a {
  color: var(--green);
  font-weight: 600;
}

.legal-back {
  margin-top: 48px;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .product-header,
  .feature-grid,
  .product-grid,
  .origin-grid,
  .about-grid,
  .contact-card,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .product-header {
    gap: 20px;
  }

  .feature-grid {
    margin-top: 48px;
  }

  .care-strip {
    border-radius: var(--radius);
    padding: 18px 20px;
  }

  .product-grid {
    gap: 48px;
  }

  .app-preview {
    max-width: 520px;
    min-height: 460px;
  }

  .device-stack {
    width: min(100%, 360px);
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--cream);
  }

  .nav-cta {
    text-align: center;
    margin-top: 4px;
  }

  .nav {
    position: relative;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 72px 0;
  }

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

  .stat {
    padding: 18px 20px;
  }

  .contact-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .company-facts {
    grid-template-columns: 1fr;
  }

  .app-preview {
    min-height: 400px;
  }

  .device-stack {
    width: min(100%, 300px);
    min-height: 360px;
  }

  .device-back {
    width: 64%;
    top: 18px;
    transform: rotate(6deg);
  }

  .device-front {
    width: 72%;
    transform: rotate(-3deg);
  }
}
