:root {
  --background: #faf9f6;
  --foreground: #352c3c;
  --muted: #756d78;
  --border: rgba(53, 44, 60, .1);
  --coral: #e96f55;
  --purple: #8b54a2;
  --cream: #faf9f6;
  --display: "Inter", system-ui, sans-serif;
  --body: "Lora", Georgia, serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(24px, calc((100vw - 1160px) / 2)); background: rgba(250,249,246,.86);
  border-bottom: 1px solid var(--border); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 20px/1 var(--display); letter-spacing: -.04em; }
.brand-mark { display: block; width: 32px; height: 32px; border-radius: 9px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.button { display: inline-flex; justify-content: center; padding: 16px 28px; border: 1px solid var(--foreground); border-radius: 999px; background: var(--foreground); color: var(--background); font: 800 16px/1 var(--display); transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); background: var(--purple); border-color: var(--purple); }
.button-small { padding: 11px 20px; font-size: 14px; }
.button-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.button-outline:hover { color: var(--background); }

.hero { padding: 88px 24px 116px; text-align: center; overflow: hidden; }
.hero-inner { max-width: 940px; margin: auto; display: flex; flex-direction: column; align-items: center; }
.app-icon { display: block; width: 190px; height: 190px; margin-bottom: 48px; border-radius: 42px; object-fit: cover; box-shadow: 0 28px 60px rgba(101,64,113,.24), 0 0 0 8px rgba(255,255,255,.6); animation: float 6s ease-in-out infinite; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.045em; }
h1 { max-width: 900px; margin: 0 0 28px; font-size: clamp(48px, 7vw, 78px); line-height: .98; }
h1 em { color: var(--coral); font-family: var(--body); font-weight: 400; }
.hero-copy { max-width: 630px; margin: 0 0 38px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.chaos { padding: 110px 24px; background: var(--foreground); color: var(--background); }
.section-grid { max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eyebrow { display: block; margin-bottom: 24px; color: var(--coral); font: 400 11px/1 var(--mono); letter-spacing: .16em; }
.chaos h2, .footer h2 { margin: 0 0 28px; font-size: clamp(38px, 5vw, 54px); line-height: 1.08; }
.chaos p { max-width: 560px; margin: 0 0 18px; font-size: 18px; line-height: 1.7; opacity: .76; }
.swatch-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.swatch-card { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 22px; }
.fabric-card { background: repeating-linear-gradient(96deg, transparent 0 7px, rgba(255,255,255,.12) 8px 9px), linear-gradient(145deg, #bf6d57 0 48%, #b78ea7 48% 72%, #ddd1c1 72%); }
.fabric-card::after { content: ""; position: absolute; inset: 12% -20%; border-top: 3px dashed rgba(255,255,255,.5); transform: rotate(-11deg); }
.fabric-card span { position: absolute; left: 22px; bottom: 22px; font: 800 20px/1.1 var(--display); text-transform: uppercase; }
.notions-card { margin-top: 46px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 65% 24%, #c7926b 0 8%, transparent 8.5%), linear-gradient(145deg, #e6d8c6, #a96f59); }
.button-cluster { position: relative; width: 110px; height: 110px; border-radius: 50%; background: #eee4d7; box-shadow: 0 15px 30px rgba(43,30,28,.25); }
.button-cluster i { position: absolute; width: 38px; height: 38px; border: 3px solid #9a6c52; border-radius: 50%; background: #d6aa82; box-shadow: inset 0 0 0 7px #e7c6a6; }
.button-cluster i:nth-child(1) { left: 10px; top: 18px; }.button-cluster i:nth-child(2) { right: 12px; top: 12px; }.button-cluster i:nth-child(3) { left: 36px; bottom: 10px; }.button-cluster i:nth-child(4) { right: -18px; bottom: 15px; }.button-cluster i:nth-child(5) { left: -20px; bottom: 4px; }
.notions-card small { position: absolute; left: 20px; bottom: 20px; font: 400 10px/1 var(--mono); letter-spacing: .14em; }

.features { padding: 120px 24px; }
.features-inner { max-width: 1120px; margin: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; margin-top: 50px; }
.feature-icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 13px; background: rgba(233,111,85,.11); }
.feature-icon::after { content: ""; width: 21px; height: 21px; place-self: center; border: 2px solid var(--coral); }
.icon-circle { background: rgba(139,84,162,.11); }.icon-circle::after { border-color: var(--purple); border-radius: 50%; }
.icon-kit { background: rgba(53,44,60,.07); }.icon-kit::after { border-color: var(--foreground); }
.feature h3 { margin: 0 0 14px; font-size: 25px; }
.feature p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.tag { display: inline-block; padding: 6px 8px; border-radius: 5px; font: 400 10px/1 var(--mono); }
.coral-tag { color: var(--coral); background: rgba(233,111,85,.08); }.purple-tag { color: var(--purple); background: rgba(139,84,162,.08); }.ink-tag { color: rgba(53,44,60,.65); background: rgba(53,44,60,.06); }

.footer { padding: 110px 24px 40px; border-top: 1px solid var(--border); text-align: center; }
.footer > p { margin: 0 0 42px; color: var(--muted); font-size: 20px; font-style: italic; }
.app-store-button { display: inline-flex; align-items: center; gap: 12px; padding: 13px 23px; border-radius: 13px; background: var(--foreground); color: var(--background); font: 800 18px/1.05 var(--display); box-shadow: 0 15px 40px rgba(53,44,60,.2); transition: transform .25s; }
.app-store-button:hover { transform: scale(1.04); }.app-store-button svg { width: 27px; fill: currentColor; }.app-store-button span { text-align: left; }.app-store-button small { display: block; font: 400 10px/1.3 var(--display); }
.contact { max-width: 760px; margin: 100px auto 0; padding: 72px 24px; border-radius: 28px; background: var(--foreground); color: var(--background); }
.contact .eyebrow { margin-bottom: 20px; }
.contact h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 48px); }
.contact p { max-width: 540px; margin: 0 auto 30px; color: rgba(250,249,246,.72); font-size: 18px; line-height: 1.65; }
.contact .button-outline { border-color: rgba(250,249,246,.25); color: var(--background); }
.contact .button-outline:hover { border-color: var(--coral); background: var(--coral); }
.footer-row { max-width: 1120px; margin: 92px auto 0; padding-top: 34px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font: 400 10px/1 var(--mono); }
.footer-brand { color: var(--foreground); font-size: 14px; }.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 6px; }.footer-links { display: flex; gap: 26px; }.footer-links a:hover { color: var(--coral); }

.legal-page { padding: 92px 24px 50px; }
.legal-hero, .legal-content { max-width: 760px; margin: 0 auto; }
.legal-hero { padding-bottom: 54px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { margin-bottom: 18px; font-size: clamp(48px, 7vw, 76px); }
.legal-hero p { margin: 0; color: var(--muted); font: 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.legal-content { padding-top: 48px; }
.legal-content > p:first-child { margin-top: 0; font-size: 20px; color: var(--foreground); }
.legal-content h2 { margin: 48px 0 14px; font-size: 25px; }
.legal-content p { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.legal-contact { margin-top: 10px; }
.legal-footer { padding-top: 20px; }
.legal-footer .footer-row { margin-top: 0; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: reveal .8s cubic-bezier(.16,1,.3,1) both; }.delay-1 { animation-delay: .1s; }.delay-2 { animation-delay: .2s; }.delay-3 { animation-delay: .3s; }.delay-4 { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .nav { padding: 14px 18px; }.brand { font-size: 17px; }.brand-mark { width: 28px; height: 28px; }.button-small { padding: 10px 15px; }
  .hero { padding: 68px 20px 88px; }.app-icon { width: 145px; height: 145px; border-radius: 34px; margin-bottom: 40px; }
  h1 { font-size: 46px; }.hero-copy { font-size: 18px; }.hero-actions { width: 100%; }.hero-actions .button { width: 100%; }
  .chaos, .features { padding: 82px 22px; }.section-grid { grid-template-columns: 1fr; gap: 50px; }.swatch-gallery { max-width: 480px; }
  .feature-grid { grid-template-columns: 1fr; gap: 52px; }.footer { padding-top: 82px; }.contact { margin-top: 76px; padding: 58px 20px; }.footer-row { margin-top: 72px; flex-direction: column; line-height: 1.5; }.legal-page { padding-top: 68px; }.legal-footer { padding-top: 20px; }.legal-footer .footer-row { margin-top: 0; }
}
