:root {
  --bg: #fcfaf8;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #747474;
  --line: #e9e6e2;
  --lime: #ccff00;
  --lime-soft: #f2ffd0;
  --orange: #ff5b0a;
  --orange-soft: #fff2ea;
  --blue: #5b97ff;
  --blue-soft: #eef5ff;
  --pink: #ff8f83;
  --pink-soft: #fff1ef;
  --violet: #9e7bff;
  --violet-soft: #f4f0ff;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 16px 50px rgba(18, 18, 18, 0.055);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-shell { min-height: 100vh; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 250, 248, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(233, 230, 226, 0.75);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { width: 192px; height: auto; border-radius: 0; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 650; }
.primary-nav a { position: relative; padding: 9px 0; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
}
.mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after { content: ""; width: 18px; height: 2px; background: var(--ink); display: block; border-radius: 999px; }
.mobile-toggle span { margin: 4px 0; }

.hero {
  padding: 96px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .11em;
  font-weight: 800;
  text-transform: uppercase;
  color: #4f4f4f;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(56px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 860;
}
.hero h1 .accent-line { position: relative; display: inline-block; }
.hero h1 .accent-line::after {
  content: "";
  position: absolute;
  height: 7px;
  left: 3%; right: 1%; bottom: -10px;
  background: var(--lime);
  border-radius: 999px;
  transform: rotate(-.5deg);
}
.hero-copy {
  margin: 30px 0 0;
  max-width: 620px;
  color: #5d5d5d;
  font-size: 19px;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #0d0d0d; box-shadow: 0 10px 24px rgba(186, 230, 0, .2); }
.button-secondary { background: transparent; border-color: var(--line); }
.button-arrow::after { content: "↗"; font-size: 17px; line-height: 1; }

.hero-scene,
.about-scene {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  min-height: 330px;
}
.hero-scene .sun,
.about-scene .sun {
  position: absolute;
  width: 98px; height: 98px; border-radius: 50%;
  background: var(--lime);
  top: 52px; right: 128px;
}
.hero-scene .hill,
.about-scene .hill { position: absolute; background: #f2f0ed; border-radius: 50% 50% 0 0 / 100% 100% 0 0; height: 112px; bottom: 118px; }
.hero-scene .hill.one { left: -5%; width: 62%; transform: skewX(-10deg); }
.hero-scene .hill.two { right: -8%; width: 72%; height: 132px; }
.hero-scene .horizon,
.about-scene .horizon { position: absolute; left: 0; right: 0; bottom: 123px; height: 2px; background: #9f9f9f; opacity: .7; }
.water-line { position: absolute; height: 2px; background: var(--lime); border-radius: 99px; opacity: .95; }
.water-line.w1 { width: 122px; right: 177px; bottom: 99px; }
.water-line.w2 { width: 74px; right: 155px; bottom: 84px; }
.water-line.w3 { width: 42px; right: 210px; bottom: 68px; }
.shore { position: absolute; left: 0; right: 0; bottom: 0; height: 76px; background: #fff; clip-path: polygon(0 42%, 22% 26%, 47% 55%, 66% 28%, 100% 38%, 100% 100%, 0 100%); border-top: 1px solid #cecbc6; }
.hero-scene .scene-mascot { position: absolute; width: 154px; right: 56px; bottom: 22px; z-index: 2; }
.reed { position: absolute; bottom: 32px; width: 2px; height: 54px; background: #111; transform-origin: bottom; opacity: .8; }
.reed::before, .reed::after { content:""; position:absolute; width:2px; height:42px; background:#111; bottom:0; transform-origin:bottom; }
.reed::before { transform: rotate(-22deg); }
.reed::after { transform: rotate(24deg); }
.reed.r1 { left: 56px; transform: rotate(-6deg); }
.reed.r2 { right: 22px; height: 43px; transform: rotate(4deg); }

.section { padding: 44px 0 54px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-title { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.section-link { color: #6c6c6c; font-size: 14px; font-weight: 700; }
.section-link:hover { color: var(--ink); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.app-card {
  position: relative;
  min-height: 278px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #ddd9d4; }
.app-card.live { background: linear-gradient(145deg, var(--orange-soft) 0%, #fff 72%); border-color: #f4d5c6; }
.app-card .app-icon { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 31px; }
.app-card h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.app-card p { margin: 9px 0 0; color: var(--muted); line-height: 1.55; font-size: 14px; max-width: 235px; }
.app-card .card-cta { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.app-card .card-cta span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; }
.app-card .mascot-peek { position: absolute; width: 104px; right: -5px; bottom: -8px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; padding-right: 72px; }
.app-tag { font-size: 11px; color: #525252; border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.7); border-radius: 999px; padding: 6px 9px; }
.placeholder-card { background: transparent; border-style: dashed; border-color: #dedbd6; }
.placeholder-card:hover { transform: none; box-shadow: none; }
.placeholder-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px dashed #cfcac4; border-radius: 16px; color: #aaa39c; font-size: 28px; margin-bottom: 31px; }
.placeholder-card h3 { font-size: 18px; color: #494949; }
.placeholder-card p { color: #9a9692; }

.about-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  gap: 54px;
  align-items: center;
  padding: 46px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.about-copy h2 { margin: 0 0 16px; font-size: 34px; letter-spacing: -.04em; }
.about-copy p { margin: 0 0 13px; color: #686868; line-height: 1.75; font-size: 15.5px; max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #6c8500; font-weight: 800; margin-top: 8px; }
.text-link::after { content: "↗"; }
.about-scene { min-height: 260px; border: 0; background: #fbfaf7; }
.about-scene .sun { width: 72px; height:72px; top: 40px; right: 155px; }
.about-scene .hill { bottom: 96px; height: 90px; }
.about-scene .hill.one { left:-8%; width:62%; }
.about-scene .hill.two { right:-7%; width:70%; height:108px; }
.about-scene .horizon { bottom: 98px; }
.about-scene .scene-mascot { position:absolute; width:130px; right:52px; bottom:18px; z-index:2; }

.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.note-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.note-thumb { height: 86px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.note-thumb img { width: 70px; }
.note-thumb.blue { background: var(--blue-soft); }
.note-thumb.lime { background: var(--lime-soft); }
.note-thumb.orange { background: var(--orange-soft); }
.note-card .meta { color: #9a9a9a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.note-card h3 { margin: 6px 0 0; font-size: 16px; line-height: 1.35; letter-spacing: -.015em; }

.site-footer { margin-top: 54px; border-top: 1px solid var(--line); background: #f8f5f1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 36px;
  padding: 42px 0 32px;
}
.footer-brand img { width: 158px; }
.footer-credit { margin-top: 17px; color: #8b8782; font-size: 13px; line-height: 1.65; }
.footer-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 13px; }
.footer-col a { display: block; color: #77736f; font-size: 14px; margin: 9px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid #ebe6df; padding: 18px 0 28px; display: flex; justify-content: space-between; gap: 20px; color: #96918b; font-size: 12px; }
.socials { display: flex; gap: 9px; }
.socials a { width: 34px; height: 34px; border:1px solid #ded9d1; border-radius:50%; display:grid; place-items:center; color:#45413e; font-size:12px; font-weight:900; }

.page-hero { padding: 76px 0 42px; }
.page-hero h1 { font-size: clamp(52px, 6vw, 84px); }
.page-hero p { max-width: 680px; color:#666; font-size:18px; line-height:1.75; margin:24px 0 0; }
.prose { max-width: 760px; padding: 20px 0 70px; }
.prose h2 { margin: 42px 0 12px; font-size: 28px; letter-spacing:-.03em; }
.prose h3 { margin: 28px 0 10px; font-size: 20px; }
.prose p, .prose li { color:#666; line-height:1.8; font-size:16px; }
.prose ul { padding-left: 22px; }
.prose .notice { padding: 18px 20px; background: var(--lime-soft); border:1px solid #e0f1a0; border-radius:18px; color:#4f5c13; }

.snap-hero {
  display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 24px; align-items:start;
  margin-top: 30px;
}
.snap-hero img { width: 96px; border-radius: 24px; }
.snap-hero h2 { margin:0; font-size: 48px; letter-spacing:-.04em; }
.snap-hero .tagline { margin: 8px 0 0; color:#555; font-size:22px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; }
.feature-card { padding:24px; background:#fff; border:1px solid var(--line); border-radius:20px; min-height:170px; }
.feature-card .feature-icon { width:42px; height:42px; border-radius:13px; background:var(--lime-soft); display:grid; place-items:center; font-weight:900; margin-bottom:18px; }
.feature-card h3 { margin:0; font-size:18px; }
.feature-card p { margin:8px 0 0; color:#737373; font-size:14px; line-height:1.6; }

.support-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:30px; }
.support-card { padding:26px; background:#fff; border:1px solid var(--line); border-radius:22px; }
.support-card h3 { margin:0 0 8px; font-size:20px; }
.support-card p { margin:0; color:#707070; line-height:1.7; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-scene { min-height: 260px; }
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-card { grid-template-columns: 1fr; }
  .about-scene { min-height: 240px; }
  .notes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand-logo img { width: 158px; }
  .mobile-toggle { display: flex; flex-direction: column; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 14px; right: 14px; top: 70px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 10px; }
  .primary-nav a::after { display:none !important; }
  .hero { padding: 64px 0 34px; }
  .hero h1, .page-hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-copy { font-size:17px; }
  .hero-scene { min-height: 230px; }
  .hero-scene .scene-mascot { width:120px; right:25px; }
  .hero-scene .sun { width:74px; height:74px; right:90px; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 250px; }
  .about-card { padding: 28px 22px; gap:30px; }
  .about-copy h2 { font-size:29px; }
  .about-scene { min-height: 205px; }
  .notes-grid { gap:12px; }
  .note-card { grid-template-columns:72px 1fr; }
  .note-thumb { height:72px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; }
  .page-hero { padding-top:52px; }
  .snap-hero { grid-template-columns: 72px 1fr; }
  .snap-hero img { width:68px; border-radius:18px; }
  .snap-hero h2 { font-size:36px; }
  .snap-hero .tagline { font-size:18px; }
  .feature-grid, .support-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
