:root {
  --ink: #14201b;
  --muted: #5d6862;
  --paper: #f5f1e8;
  --paper-deep: #ebe4d7;
  --accent: #e85f3d;
  --green: #244d3d;
  --line: rgba(20, 32, 27, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 28px 42px;
}
.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 11px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  border-radius: 9px;
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}
nav { display: flex; gap: 32px; }
nav a, .footer-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
nav a:hover, .footer-links a:hover { color: var(--accent); }

main { overflow: hidden; }
.hero {
  margin: 0 auto;
  max-width: 1280px;
  min-height: 690px;
  padding: 116px 42px 90px;
  position: relative;
}
.eyebrow, .section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 114px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin: 32px 0;
  max-width: 1000px;
}
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-copy {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  font-size: 14px;
  font-weight: 650;
  padding: 12px 20px;
  text-decoration: none;
}
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual {
  aspect-ratio: 1284 / 2778;
  border-radius: 20px;
  bottom: 78px;
  box-shadow: 0 28px 70px rgba(20, 32, 27, .18);
  height: auto;
  object-fit: contain;
  position: absolute;
  right: 100px;
  transform: rotate(2deg);
  width: 235px;
}

.statement {
  background: var(--green);
  color: var(--paper);
  padding: 110px max(42px, calc((100vw - 1196px) / 2));
}
.statement .section-label { color: #eeb9a8; }
blockquote {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 35px 0 0;
  max-width: 1020px;
}

.section-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: .8fr 1.2fr;
  margin: 0 auto;
  max-width: 1280px;
  padding: 120px 42px;
}
.section-grid h2, .contact h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 22px 0 0;
}
.work-content > p, .about-copy > p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 700px;
}
.principles { margin-top: 48px; }
.principles article {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 45px 180px 1fr;
  padding: 26px 0;
}
.principles article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.principles h3 { font-family: var(--serif); font-size: 20px; margin: 0; }
.principles p { color: var(--muted); font-size: 14px; margin: 0; }

.about { background: var(--paper-deep); max-width: none; padding-inline: max(42px, calc((100vw - 1196px) / 2)); }
.product-preview {
  background: #dfe8e1;
  padding: 120px max(42px, calc((100vw - 1196px) / 2));
}
.preview-intro {
  display: grid;
  gap: 30px;
  grid-template-columns: .75fr 1.1fr .85fr;
  margin-bottom: 70px;
}
.preview-intro h2 {
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 0;
}
.preview-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
  margin: 7px 0 0;
}
.feature-orbit {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
.feature-card {
  background: rgba(245,241,232,.78);
  border: 1px solid rgba(20,32,27,.1);
  border-radius: 14px;
  min-height: 245px;
  padding: 30px;
}
.feature-card-main {
  background: var(--accent);
  color: #fff8f2;
  grid-column: span 2;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}
.feature-kicker, .feature-number {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.feature-number { color: var(--accent); }
.feature-card h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 20px 0 14px;
}
.feature-card-main h3 {
  font-size: clamp(34px, 4vw, 52px);
  max-width: 480px;
}
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }
.feature-card-main > p { color: rgba(255,255,255,.85); max-width: 490px; }
.activity-pulse {
  align-items: end;
  bottom: 27px;
  display: flex;
  gap: 7px;
  height: 58px;
  position: absolute;
  right: 30px;
}
.activity-pulse span {
  background: rgba(255,255,255,.78);
  border-radius: 5px 5px 1px 1px;
  display: block;
  height: 38%;
  width: 9px;
}
.activity-pulse span:nth-child(2) { height: 62%; }
.activity-pulse span:nth-child(3) { height: 45%; }
.activity-pulse span:nth-child(4) { height: 82%; }
.activity-pulse span:nth-child(5) { height: 67%; }
.activity-pulse span:nth-child(6) { height: 100%; }
.development-note {
  color: var(--muted);
  font-size: 12px;
  margin: 24px 0 0;
}
.beta {
  background: var(--green);
  color: var(--paper);
  max-width: none;
  padding-inline: max(42px, calc((100vw - 1196px) / 2));
}
.beta .section-label { color: #eeb9a8; }
.app-download {
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  padding: 120px max(42px, calc((100vw - 1196px) / 2));
}
.app-download h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 22px 0 0;
}
.app-download > div:first-child > p:not(.section-label) {
  color: #c8d0cc;
  font-size: 18px;
  margin: 30px 0;
  max-width: 680px;
}
.ios-gallery {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
.ios-gallery img {
  aspect-ratio: 1284 / 2778;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .24);
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}
.platform-button {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green);
}
.platform-button:hover { background: #eeb9a8; border-color: #eeb9a8; }

.contact {
  margin: 0 auto;
  max-width: 1280px;
  padding: 120px 42px;
}
.contact > p:not(.section-label) { color: var(--muted); font-size: 18px; margin-top: 30px; }
.contact-link {
  border-bottom: 2px solid var(--ink);
  display: inline-flex;
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 50px);
  gap: 30px;
  margin-top: 35px;
  padding-bottom: 5px;
  text-decoration: none;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); }

footer {
  align-items: end;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
  padding: 58px max(42px, calc((100vw - 1196px) / 2));
}
.footer-brand { margin-bottom: 12px; }
footer > div > p { color: #aab3ae; font-size: 13px; margin: 0; }
.footer-links { display: flex; gap: 24px; }
.copyright { color: #7f8a84; font-size: 12px; grid-column: 1 / -1; margin: 20px 0 0; }

.policy {
  margin: 0 auto;
  max-width: 900px;
  min-height: 70vh;
  padding: 100px 42px 140px;
}
.policy h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 90px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 25px 0 10px;
}
.policy-date { color: var(--muted); margin-bottom: 70px; }
.policy-body { max-width: 700px; }
.policy-body > p { color: var(--muted); font-size: 16px; }
.policy-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 45px 0 12px;
}
.policy-body a { color: var(--accent); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 80px; }
  .hero-visual { bottom: auto; display: block; height: auto; margin: 70px auto 0; max-height: 620px; position: relative; right: auto; width: min(100%, 310px); }
  .section-grid { gap: 50px; grid-template-columns: 1fr; }
  .app-download { grid-template-columns: 1fr; }
  .preview-intro { grid-template-columns: 1fr; }
  .feature-orbit { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .site-header { padding: 22px; }
  nav { gap: 16px; }
  nav a:first-child { display: none; }
  .hero { padding: 70px 22px 75px; }
  .hero h1 { font-size: 55px; }
  .statement, .section-grid, .product-preview, .contact, .policy { padding: 75px 22px; }
  .principles article { gap: 10px; grid-template-columns: 35px 1fr; }
  .principles article p { grid-column: 2; }
  .feature-orbit { grid-template-columns: 1fr; }
  .feature-card-main { grid-column: auto; }
  .ios-gallery { gap: 10px; }
  .ios-gallery img { border-radius: 12px; }
  footer { grid-template-columns: 1fr; padding: 50px 22px; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-copy, .hero-actions {
    animation: rise .7s both;
  }
  .hero-copy { animation-delay: .08s; }
  .hero-actions { animation-delay: .16s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
