:root {
  --paper: #f7f4ec;
  --paper-2: #fffdf7;
  --ink: #11272b;
  --ink-soft: #42565a;
  --line: #d7d8cf;
  --cobalt: #4157e8;
  --coral: #ff6f52;
  --lime: #c9f56b;
  --sun: #ffd45f;
  --sky: #69d4df;
  --purple: #6651dc;
  --shadow: 0 24px 80px rgba(17, 39, 43, .14);
  --radius: 26px;
  --display: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(105,212,223,.18), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(255,111,82,.14), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  z-index: 20;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: var(--ink-soft);
}
.eyebrow::before { content:''; width: 34px; height: 2px; background: currentColor; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(17,39,43,.11);
  background: rgba(247,244,236,.84);
  backdrop-filter: blur(16px);
}
.header-inner { 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: 900; letter-spacing: -.035em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1rem;
  box-shadow: 7px 7px 0 var(--lime);
  transform: rotate(-3deg);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 700; color: #31484c; }
.nav a:hover { color: var(--cobalt); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white !important; }
.menu-btn { display: none; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 9px 14px; font-weight: 800; }

.hero { padding: 72px 0 56px; min-height: 760px; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 62px; align-items: center; }
.hero-copy h1 {
  font-family: var(--display); font-size: clamp(3.7rem, 7vw, 7rem); line-height: .9;
  letter-spacing: -.07em; margin: 18px 0 28px; max-width: 820px; font-weight: 500;
}
.hero-copy h1 .stroke {
  display: inline-block; font-family: var(--sans); font-weight: 900; letter-spacing: -.075em;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.hero-copy p { max-width: 650px; font-size: 1.16rem; color: var(--ink-soft); }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top: 34px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height: 52px; padding:0 22px; border-radius:999px; text-decoration:none; font-weight:900; border:1px solid var(--ink); transition:.25s ease; }
.btn-primary { background: var(--coral); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--ink); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--ink); color: white; }

.hero-art { position: relative; min-height: 560px; }
.art-board {
  position:absolute; inset: 12px 6px 16px 30px; border-radius: 42px;
  background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow:hidden; transform: rotate(2deg);
}
.art-board::before { content:''; position:absolute; width:380px; height:380px; border-radius:50%; background:var(--lime); right:-130px; top:-160px; }
.art-board::after { content:''; position:absolute; width:240px; height:240px; border-radius:50%; border:42px solid var(--sky); left:-90px; bottom:-120px; }
.art-icon { position:absolute; width: 180px; right: 35px; top: 52px; border-radius: 38px; box-shadow: 0 25px 50px rgba(17,39,43,.24); transform: rotate(8deg); animation: float 6s ease-in-out infinite; }
.art-phone {
  position:absolute; width: 270px; left: 70px; bottom: 24px; z-index: 3; border-radius: 32px;
  border: 9px solid var(--ink); box-shadow: 0 26px 48px rgba(17,39,43,.24); transform: rotate(-7deg);
}
.art-note {
  position:absolute; left: 28px; top: 48px; z-index:4; width: 190px; background: var(--sun); border:1px solid var(--ink); border-radius: 18px;
  padding: 18px; box-shadow: 7px 7px 0 var(--ink); transform: rotate(-5deg); font-weight: 800;
}
.art-pill { position:absolute; z-index:5; right:28px; bottom:45px; background:var(--cobalt); color:#fff; padding:12px 16px; border-radius:999px; font-weight:900; transform:rotate(4deg); }
@keyframes float { 0%,100%{transform:translateY(0) rotate(8deg)} 50%{transform:translateY(-14px) rotate(4deg)} }

.marquee-wrap { border-block: 1px solid var(--ink); background: var(--ink); color: var(--paper); overflow:hidden; transform: rotate(-1deg) scale(1.02); }
.marquee { width:max-content; display:flex; gap:36px; padding:13px 0; animation: marquee 28s linear infinite; font-weight:800; text-transform:uppercase; letter-spacing:.08em; font-size:.82rem; }
.marquee span::after { content:'✦'; color:var(--lime); margin-left:36px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 112px 0; }
.section-dark { background: var(--ink); color: var(--paper); position:relative; overflow:hidden; }
.section-dark::before { content:''; position:absolute; width:480px; height:480px; border:85px solid rgba(201,245,107,.1); border-radius:50%; right:-200px; top:-160px; }
.section-head { display:grid; grid-template-columns: .8fr 1.2fr; gap:40px; align-items:end; margin-bottom:54px; }
.section-head h2 { font-family:var(--display); font-size:clamp(2.8rem,5vw,5rem); line-height:.98; letter-spacing:-.055em; margin:0; font-weight:500; }
.section-head p { margin:0; color:var(--ink-soft); max-width:600px; justify-self:end; font-size:1.06rem; }
.section-dark .section-head p { color:#b9c6c5; }

.services { display:grid; grid-template-columns: repeat(12,1fr); gap:18px; }
.service { border:1px solid #607275; border-radius:26px; min-height:280px; padding:28px; position:relative; overflow:hidden; transition:.3s ease; background:rgba(255,255,255,.025); }
.service:hover { transform:translateY(-7px); border-color:var(--lime); }
.service:nth-child(1){grid-column:span 5}.service:nth-child(2){grid-column:span 7}.service:nth-child(3){grid-column:span 7}.service:nth-child(4){grid-column:span 5}
.service-num { font-size:.8rem; color:var(--lime); font-weight:900; letter-spacing:.12em; }
.service h3 { font-size:1.65rem; margin:70px 0 12px; }
.service p { color:#b9c6c5; max-width:520px; margin:0; }
.service .shape { position:absolute; width:95px; height:95px; border-radius:30% 70% 65% 35%; right:20px; top:18px; border:2px solid currentColor; opacity:.6; }
.service:nth-child(1) .shape{color:var(--coral)} .service:nth-child(2) .shape{color:var(--sky)} .service:nth-child(3) .shape{color:var(--sun)} .service:nth-child(4) .shape{color:var(--lime)}

.product { background: var(--paper-2); }
.product-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:64px; align-items:start; }
.product-sticky { position:sticky; top:115px; }
.product-sticky h2 { font-family:var(--display); font-size:clamp(3rem,5vw,5.5rem); letter-spacing:-.06em; line-height:.95; margin:12px 0 20px; font-weight:500; }
.product-sticky p { color:var(--ink-soft); font-size:1.05rem; }
.app-id { display:flex; align-items:center; gap:18px; margin-bottom:28px; }
.app-id img { width:78px; height:78px; border-radius:22px; box-shadow:0 12px 24px rgba(17,39,43,.15); }
.feature-list { display:grid; gap:1px; background:var(--line); border:1px solid var(--line); margin-top:34px; }
.feature-row { background:var(--paper-2); display:grid; grid-template-columns:38px 1fr; gap:14px; padding:18px 0; }
.feature-row span { color:var(--cobalt); font-weight:900; }
.feature-row strong { display:block; margin-bottom:3px; }
.feature-row small { color:var(--ink-soft); font-size:.92rem; }

.gallery { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.gallery figure { margin:0; background:#e8e4db; border-radius:34px; padding:16px; overflow:hidden; min-height:560px; display:flex; align-items:flex-end; border:1px solid var(--line); position:relative; }
.gallery figure:nth-child(2) { margin-top:70px; }
.gallery figure:nth-child(3) { grid-column:1 / -1; min-height:470px; margin-top:10px; }
.gallery img { width:100%; border-radius:24px; transition:.6s cubic-bezier(.2,.75,.2,1); box-shadow:0 24px 45px rgba(17,39,43,.15); }
.gallery figure:hover img { transform:scale(1.03) rotate(.5deg); }
.gallery figcaption { position:absolute; left:28px; top:26px; z-index:2; padding:9px 12px; background:var(--paper-2); border:1px solid var(--ink); border-radius:999px; font-size:.78rem; font-weight:900; }

.process { background: var(--cobalt); color:white; }
.process .section-head p { color:#d9ddff; }
.steps { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,.45); }
.step { padding:30px 24px 0 0; min-height:250px; border-right:1px solid rgba(255,255,255,.35); }
.step:last-child { border-right:0; padding-left:24px; }
.step:not(:first-child){padding-left:24px}
.step b { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--lime); color:var(--ink); }
.step h3 { font-size:1.4rem; margin:52px 0 9px; }
.step p { color:#d9ddff; margin:0; }

.contact { padding:120px 0; }
.contact-card { background:var(--sun); border:1px solid var(--ink); border-radius:34px; padding:clamp(28px,5vw,64px); box-shadow:12px 12px 0 var(--ink); display:grid; grid-template-columns:1.1fr .9fr; gap:50px; }
.contact-card h2 { font-family:var(--display); font-weight:500; letter-spacing:-.05em; line-height:.95; font-size:clamp(3rem,5vw,5.5rem); margin:0; }
.contact-card p { color:#4a4a33; }
.contact-details { display:grid; gap:18px; align-content:center; }
.contact-line { padding:0 0 18px; border-bottom:1px solid rgba(17,39,43,.3); }
.contact-line small { display:block; text-transform:uppercase; letter-spacing:.1em; font-weight:900; font-size:.7rem; margin-bottom:5px; }
.contact-line a { text-decoration:none; font-weight:800; }

.site-footer { background:#0b1c1f; color:#f8f5ec; padding:64px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:48px; align-items:start; }
.footer-logo { font-size:1.55rem; font-weight:900; letter-spacing:-.04em; }
.footer-note { color:#9fb0b1; max-width:450px; }
.footer-col h3 { font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; color:#9fb0b1; }
.footer-col a { display:block; color:#f8f5ec; text-decoration:none; margin:9px 0; }
.footer-col a:hover { color:var(--lime); }
.footer-bottom { margin-top:58px; padding-top:20px; border-top:1px solid #314548; color:#849698; font-size:.85rem; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

.reveal { opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }

/* Privacy */
.legal-hero { padding:86px 0 50px; border-bottom:1px solid var(--line); }
.legal-hero h1 { font-family:var(--display); font-size:clamp(3.5rem,7vw,7rem); font-weight:500; letter-spacing:-.065em; margin:12px 0 16px; }
.legal-hero p { color:var(--ink-soft); max-width:700px; }
.legal-grid { display:grid; grid-template-columns:260px 1fr; gap:64px; padding:72px 0 110px; }
.legal-aside { position:sticky; top:110px; align-self:start; background:var(--ink); color:white; border-radius:24px; padding:24px; }
.legal-aside strong { display:block; margin-bottom:8px; }
.legal-aside p { color:#b9c6c5; font-size:.9rem; margin:0; }
.legal-content { max-width:790px; }
.legal-content section { border-top:1px solid var(--line); padding:34px 0; }
.legal-content section:first-child { border-top:0; padding-top:0; }
.legal-content h2 { font-size:1.6rem; letter-spacing:-.03em; margin:0 0 10px; }
.legal-content p { color:#405457; margin:0; }
.legal-content a { color:var(--cobalt); font-weight:800; }

.error-page { min-height:100vh; display:grid; place-items:center; padding:40px; }
.error-card { max-width:700px; text-align:center; }
.error-card .code { font-family:var(--display); font-size:clamp(7rem,22vw,15rem); line-height:.7; color:var(--coral); }
.error-card h1 { font-size:2rem; }

@media (max-width: 900px) {
  .nav { display:none; position:absolute; top:78px; left:20px; right:20px; background:var(--paper-2); border:1px solid var(--ink); border-radius:20px; padding:18px; flex-direction:column; align-items:stretch; box-shadow:var(--shadow); }
  .nav.open { display:flex; }
  .menu-btn { display:block; }
  .hero { padding-top:45px; }
  .hero-grid, .section-head, .product-grid, .contact-card, .footer-grid, .legal-grid { grid-template-columns:1fr; }
  .hero-art { min-height:520px; }
  .section-head p { justify-self:start; }
  .services .service { grid-column:1/-1; }
  .product-sticky { position:relative; top:0; }
  .steps { grid-template-columns:1fr 1fr; }
  .step { border-right:0; border-bottom:1px solid rgba(255,255,255,.35); padding:24px 16px 30px 0 !important; min-height:auto; }
  .legal-aside { position:relative; top:0; }
}
@media (max-width: 620px) {
  .shell { width:min(100% - 28px,1180px); }
  .hero-copy h1 { font-size:3.5rem; }
  .hero-art { min-height:440px; }
  .art-board { inset:20px 0; }
  .art-phone { width:205px; left:32px; bottom:24px; }
  .art-icon { width:125px; right:22px; top:60px; border-radius:28px; }
  .art-note { width:148px; font-size:.84rem; left:13px; top:28px; }
  .art-pill { font-size:.75rem; right:15px; bottom:32px; }
  .section { padding:82px 0; }
  .gallery { grid-template-columns:1fr; }
  .gallery figure, .gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column:auto; margin-top:0; min-height:auto; }
  .steps { grid-template-columns:1fr; }
  .contact-card { box-shadow:7px 7px 0 var(--ink); }
  .footer-grid { gap:28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; }
}
