:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard", "Segoe UI", sans-serif;
  color: #2d2b26;
  background: #f5f2eb;
  font-synthesis: none;
  --green: #586d55;
  --green-dark: #40503e;
  --green-soft: #dde5d9;
  --ink: #2d2b26;
  --muted: #77736b;
  --line: rgba(50, 46, 39, .11);
  --paper: #fffefa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: radial-gradient(circle at 78% 5%, rgba(214, 224, 209, .8), transparent 28rem), #f5f2eb; }
a { color: inherit; text-decoration: none; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); height: 86px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; box-shadow: 0 5px 13px rgba(62, 79, 59, .2); }
.brand strong { font-size: 16px; letter-spacing: -.2px; }
nav { display: flex; align-items: center; gap: 29px; color: #625f58; font-size: 13px; }
nav a:hover { color: var(--green-dark); }
.nav-app { padding: 10px 15px; color: #fff; background: var(--green); border-radius: 9px; box-shadow: 0 5px 14px rgba(62, 79, 59, .18); }
.nav-app:hover { color: #fff; background: var(--green-dark); }
main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(440px, .9fr) minmax(540px, 1.1fr); align-items: center; gap: 54px; width: min(1180px, calc(100% - 48px)); min-height: 690px; margin: 0 auto; padding: 55px 0 100px; }
.eyebrow { margin: 0 0 18px; color: #71836e; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
h1, h2 { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; }
h1 { margin: 0; font-size: clamp(47px, 5.3vw, 76px); font-weight: 620; line-height: 1.05; letter-spacing: -.055em; }
h1 em { color: var(--green); font-style: normal; }
.hero-line { white-space: nowrap; }
.hero-lead { max-width: 520px; margin: 26px 0 0; color: #6f6b63; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.hero-actions { display: flex; gap: 10px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 45px; padding: 0 18px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.button.primary { color: #fff; background: var(--green); box-shadow: 0 8px 22px rgba(63, 81, 60, .2); }
.button.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.58); }
.button.secondary:hover { background: #fff; }
.platform-note { color: #99958d; font-size: 10px; }
.hero-visual { overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: #eeeae1; border-radius: 17px; box-shadow: 0 35px 90px rgba(55, 49, 41, .18), 0 4px 18px rgba(55,49,41,.08); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.hero-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.window-chrome { position: relative; display: flex; align-items: center; gap: 6px; height: 31px; padding: 0 11px; color: #9b968d; background: #e8e5dd; border-bottom: 1px solid rgba(50,46,39,.08); font-size: 9px; }
.window-chrome i { width: 8px; height: 8px; background: #bbb7ae; border-radius: 50%; }
.window-chrome i:first-child { background: #dc8174; }.window-chrome i:nth-child(2) { background: #d7b565; }.window-chrome i:nth-child(3) { background: #79a36f; }
.window-chrome span { position: absolute; left: 50%; transform: translateX(-50%); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #67635c; font-size: 12px; }
.trust-row span { display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); }
.trust-row span:last-child { border: 0; }
.trust-row b { color: #9a968d; font-size: 9px; letter-spacing: .1em; }
.features, .download { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 145px 0; }
.section-heading { max-width: 620px; margin-bottom: 48px; }
.section-heading h2, .privacy-panel h2, .api-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.14; letter-spacing: -.04em; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.feature-grid article { min-height: 235px; padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.58); border-radius: 14px; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--green); background: var(--green-soft); border-radius: 10px; font-family: ui-monospace, monospace; font-size: 17px; font-weight: 700; }
.feature-grid h3 { margin: 36px 0 9px; font-size: 15px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; word-break: keep-all; }
.privacy-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 88px 74px; color: #f1f0e9; background: #3f4d3d; border-radius: 24px; box-shadow: 0 24px 60px rgba(53,66,51,.16); }
.privacy-panel .eyebrow { color: #b9c8b4; }
.privacy-panel > p { margin: 0; color: #cbd2c7; font-size: 13px; line-height: 1.85; word-break: keep-all; }
.api-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: min(1080px, calc(100% - 48px)); margin: 145px auto; }
.api-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.api-copy a { display: inline-flex; gap: 10px; margin-top: 12px; color: var(--green); font-size: 13px; font-weight: 700; }
.api-panel pre { margin: 0; padding: 30px; overflow-x: auto; color: #d7ddd4; background: #292e28; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; box-shadow: 0 20px 45px rgba(42,48,40,.16); font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-panel code span { color: #a9c8a3; font-weight: 800; }
.download { padding-top: 40px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.download-card { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: 1fr auto; gap: 0 14px; min-height: 150px; padding: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 15px; transition: transform .16s ease, box-shadow .16s ease; }
a.download-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(52,48,40,.09); }
.os-mark { display: grid; grid-row: 1 / 3; place-items: center; align-self: start; width: 43px; height: 43px; color: var(--green); background: var(--green-soft); border-radius: 12px; font-size: 20px; }
.download-card strong, .download-card small { display: block; }
.download-card strong { margin: 3px 0 5px; font-size: 14px; }
.download-card small { color: #8a867e; font-size: 10px; }
.download-card b { align-self: end; color: var(--green); font-size: 10px; }
.download-card.upcoming { opacity: .7; }
.download-card.upcoming b { color: #9a968e; }
.release-meta { margin-top: 17px; color: #99958d; font-size: 10px; text-align: right; }
.release-meta a { text-decoration: underline; text-underline-offset: 3px; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 48px; border-top: 1px solid var(--line); color: #8c887f; font-size: 11px; }
footer .brand { color: var(--ink); }
footer p { margin: 0; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; }
footer a:hover { color: var(--green); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 65px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-panel { grid-template-columns: 1fr; gap: 35px; padding: 60px 45px; }
  .api-panel { grid-template-columns: 1fr; gap: 45px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 120px; }
}

@media (max-width: 620px) {
  .site-header { width: min(100% - 30px, 1180px); height: 70px; }
  nav > a:not(.nav-app) { display: none; }
  .hero, .features, .download, .api-panel, .privacy-panel, footer { width: calc(100% - 30px); }
  .hero { min-height: auto; padding: 66px 0 75px; }
  h1 { font-size: 48px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-row { grid-template-columns: 1fr 1fr; width: calc(100% - 30px); }
  .trust-row span { padding: 14px 5px; border-bottom: 1px solid var(--line); }
  .trust-row span:nth-child(2) { border-right: 0; }
  .trust-row span:nth-child(3), .trust-row span:nth-child(4) { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-panel { padding: 44px 26px; border-radius: 18px; }
  .features { padding: 105px 0; }
  .api-panel { margin: 105px auto; }
  footer { grid-template-columns: 1fr; }
  footer > div { justify-content: flex-start; }
}

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