/* SpireRay - shared styles ("Sunrise" theme)
   Concept: a spire catching the first light of the day. Warm paper, deep forest green
   and a sunrise orange, with a few hand-drawn touches (notes, underlines, tape) so the
   site feels made by people. Each service has its own accent, set inline as
   --ac (soft, for tints and dark backgrounds) and --ac-ink (deep, for text on paper). */
@property --ac { syntax: "<color>"; inherits: true; initial-value: #9cc3ff; }

:root {
  --paper: #fbf7ef;
  --paper-2: #f4ecdf;
  --sand: #ece1cd;
  --surface: #fffdf8;
  --ink: #1c2622;
  --text: #36423e;
  --muted: #65706a;
  --line: #e7dcc9;
  --line-2: #d6c8b0;
  --forest: #13233f;
  --forest-2: #1b2f52;
  --forest-3: #243c66;
  --on-dark: #d3e2db;
  --on-dark-muted: #a3bab1;
  --line-dark: rgba(255, 255, 255, 0.15);
  --teal: #1f4e8c;
  --teal-2: #183f73;
  --mint: #9cc3ff;
  --sun: #e2692f;
  --sun-2: #f59b55;
  --sun-soft: #fde6d3;
  --amber: #f2b441;
  --focus: #e2692f;
  --ac: #9cc3ff;
  --ac-ink: #1f4e8c;
  --radius: 18px;
  --shadow: 0 24px 50px -30px rgba(60, 42, 20, 0.35);
  --shadow-deep: 0 34px 70px -34px rgba(60, 42, 20, 0.5);
  --max: 1220px;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C30 3.5 52 12 82 7.5S140 2.5 198 6.5' fill='none' stroke='%23e2692f' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper) var(--paper-grain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.32rem; line-height: 1.22; }
p { margin: 0 0 1em; }
ul { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }
.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; }
.skip-link { position: absolute; left: -999px; top: 12px; }
.skip-link:focus { left: 16px; z-index: 200; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hand-made touches ---------- */
/* Accent words: italic serif in the accent colour, with a hand-drawn underline */
.hl { font-style: italic; font-weight: 500; color: var(--ac-ink); }
.night .hl { color: var(--ac); }
.grad { font-style: italic; font-weight: 500; color: var(--sun); }
.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.1em; height: 0.32em; z-index: -1;
  background: var(--squiggle) center / 100% 100% no-repeat;
}
.js .reveal .scribble::after, .js .rise-group .scribble::after { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease) 0.5s; }
.js .reveal.in .scribble::after, .js .is-active .scribble::after, .js .page-hero .scribble::after { clip-path: inset(0 0 0 0); }
h1, h2, .slide-title { isolation: isolate; }
/* Handwritten note with a little arrow */
.hand-note {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 1.45rem/1.05 var(--font-hand); color: var(--sun); transform: rotate(-4deg); white-space: nowrap;
}
.hand-note svg { width: 46px; height: 34px; flex: 0 0 auto; }
.night .hand-note { color: var(--sun-2); }
/* Strip of tape holding a "pinned" screenshot */
.taped { position: relative; }
.taped::before {
  content: ""; position: absolute; z-index: 4; top: -13px; left: 50%; width: 104px; height: 28px; margin-left: -52px;
  background: rgba(242, 180, 65, 0.42); transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(60, 42, 20, 0.12);
  -webkit-mask-image: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
  mask-image: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -16px rgba(31, 78, 140, 0.8); }
.btn-primary:hover { background: var(--teal-2); transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: #fff; box-shadow: 0 14px 30px -16px rgba(226, 105, 47, 0.85); }
.btn-sun:hover { background: #c95a25; transform: translateY(-2px); }
.btn-ghost, .btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--ink); background: var(--surface); }
.night .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.night .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.night .btn-primary { background: var(--sun); box-shadow: 0 14px 30px -16px rgba(226, 105, 47, 0.9); }
.night .btn-primary:hover { background: #c95a25; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
@media (max-width: 400px) { .btn { padding: 14px 20px; } }

/* ---------- Header: a floating paper bar ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  width: calc(100% - 32px); max-width: calc(var(--max) - 48px); height: 66px; margin: 0 auto; padding: 0 10px 0 18px;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header.scrolled .nav { background: rgba(255, 253, 248, 0.95); box-shadow: 0 16px 34px -24px rgba(60, 42, 20, 0.45); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.25rem/1 "Cinzel", var(--font-head); color: var(--forest); letter-spacing: .12em; }
.brand em { font-style: normal; color: #c8902a; }
.site-footer .brand em { color: #e8b04a; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; }
.nav-links a:not(.btn) { position: relative; padding: 6px 0; font-weight: 500; font-size: 0.97rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -5px; height: 7px; background: var(--squiggle) center / 100% 100% no-repeat;
}
.nav-links .btn { padding: 12px 20px; font-size: 0.95rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 22px 22px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-deep);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--sun); }
  .nav-links .btn { width: 100%; margin-top: 18px; }
}
@media (max-width: 400px) { .nav { width: calc(100% - 20px); padding-left: 14px; } .brand { font-size: 1.1rem; letter-spacing: .08em; } }

/* ---------- Sunrise banners (light) and forest sections (dark) ---------- */
.sunrise { position: relative; overflow: hidden; isolation: isolate; --ray-x: 78%; --ray-y: 8%; }
.sunrise::before {
  content: ""; position: absolute; inset: -40%; z-index: -2; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at var(--ray-x) var(--ray-y),
    rgba(242, 180, 65, 0.16) 0deg 3deg, transparent 3deg 14deg);
  -webkit-mask-image: radial-gradient(circle at var(--ray-x) var(--ray-y), #000 0%, transparent 40%);
  mask-image: radial-gradient(circle at var(--ray-x) var(--ray-y), #000 0%, transparent 40%);
  transform-origin: var(--ray-x) var(--ray-y);
  animation: rays 180s linear infinite;
}
.sunrise::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px 380px at var(--ray-x) var(--ray-y), rgba(253, 213, 176, 0.75), transparent 70%),
    radial-gradient(600px 420px at 6% 100%, color-mix(in srgb, var(--ac) 22%, transparent), transparent 70%);
}
@keyframes rays { to { transform: rotate(360deg); } }

.night { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); background: var(--forest); --ray-x: 10%; --ray-y: 0%; }
.night h1, .night h2, .night h3, .night h4 { color: #fff; }
.night::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(620px 420px at var(--ray-x) var(--ray-y), rgba(242, 180, 65, 0.16), transparent 70%), var(--paper-grain);
}
.gridlines { display: none; }

.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font: 700 1.5rem/1.1 var(--font-hand); color: var(--sun); transform: rotate(-2deg); transform-origin: left;
}
.night .eyebrow { color: var(--sun-2); }
.lead { font-size: 1.18rem; line-height: 1.6; max-width: 600px; color: var(--muted); }
.night .lead { color: var(--on-dark); }

/* ---------- Home: hero carousel ---------- */
.hero-slider { padding: 132px 0 0; transition: --ac 0.9s ease; --ray-x: 82%; --ray-y: 10%; background: var(--paper-2) var(--paper-grain); border-bottom: 1px solid var(--line); }
.slides { position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; min-height: 540px; }
.slide-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 0.4em; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.95rem; color: var(--muted); }
.slide-points li { display: inline-flex; align-items: center; gap: 8px; }
.slide-points svg { width: 16px; height: 16px; color: var(--ac-ink); }
.slide-word {
  position: absolute; right: -1%; bottom: -4%; z-index: -1; pointer-events: none; user-select: none; white-space: nowrap;
  font: italic 600 clamp(6rem, 15vw, 14rem)/1 var(--font-head); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(120, 90, 50, 0.1);
}
.slide-visual { position: relative; min-width: 0; }
.slide-visual .hand-note { position: absolute; z-index: 5; }
.js .slide.is-active .slide-copy > * { animation: rise 0.8s var(--ease) both; }
.js .slide.is-active .slide-copy > :nth-child(2) { animation-delay: 0.06s; }
.js .slide.is-active .slide-copy > :nth-child(3) { animation-delay: 0.12s; }
.js .slide.is-active .slide-copy > :nth-child(4) { animation-delay: 0.18s; }
.js .slide.is-active .slide-copy > :nth-child(5) { animation-delay: 0.24s; }
.js .slide.is-active .slide-visual { animation: pop 1s var(--ease) 0.1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } to { opacity: 1; transform: none; } }

.slider-nav { display: flex; align-items: center; gap: 22px; margin-top: 44px; padding: 4px 0 28px; border-top: 1px solid var(--line-2); }
.slider-tabs { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; min-width: 0; }
.slider-tab {
  --tab-ac: var(--teal);
  appearance: none; background: none; border: 0; padding: 16px 0 0; margin: 0; cursor: pointer; text-align: left;
  font: 600 0.9rem/1.25 var(--font-body); color: var(--muted); transition: color 0.2s; min-width: 0;
}
.slider-tab:hover { color: var(--ink); }
.slider-tab .bar { display: block; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-bottom: 12px; }
.slider-tab .bar i { display: block; height: 100%; background: var(--tab-ac); transform: scaleX(0); transform-origin: left; }
.slider-tab small { display: block; font: 700 1.05rem/1 var(--font-hand); color: var(--sun); margin-bottom: 4px; }
.slider-tab[aria-selected="true"] { color: var(--ink); }
.slider-tab[aria-selected="true"] .bar i { transform: scaleX(1); }
.js .slider-tab[aria-selected="true"] .bar i { animation: fill var(--slide-time, 8s) linear forwards; }
.hero-slider.paused .slider-tab .bar i { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 10px; padding-top: 16px; }
.slider-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.slider-arrows button:hover { border-color: var(--ink); }
.slider-arrows svg { width: 20px; height: 20px; }

@media (max-width: 1040px) {
  .slide-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding-bottom: 8px; }
  .slide-visual { max-width: 600px; }
}
@media (max-width: 760px) {
  .hero-slider { padding-top: 116px; }
  .slide-word { display: none; }
  .slide-visual .hand-note { display: none; }
  .slider-tabs { gap: 6px; }
  .slider-tab { padding-top: 14px; }
  .slider-tab .label, .slider-tab small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .slider-tab .bar { height: 4px; margin: 0; }
  .slider-nav { margin-top: 32px; padding-bottom: 22px; gap: 14px; }
  .slider-arrows { padding-top: 12px; }
  .slider-arrows button { width: 42px; height: 42px; }
}

/* ---------- Mockups: product "screenshots", pinned to the page ---------- */
.mock { position: relative; width: 100%; max-width: 580px; margin-left: auto; color: #1c2622; font-size: 13px; line-height: 1.35; }
.win { position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow-deep), 0 0 0 1px var(--line); }
.win > :last-child { border-radius: 0 0 14px 14px; overflow: hidden; }
.win.taped { transform: rotate(-0.8deg); }
.night .win { box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f5efe4; border-bottom: 1px solid #ebe1d0; border-radius: 14px 14px 0 0; }
.win-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ef7b63; flex: 0 0 auto; }
.win-bar > i:nth-child(2) { background: #f2b441; }
.win-bar > i:nth-child(3) { background: #7cc289; }
.win-bar .url { margin-left: 12px; flex: 0 1 260px; min-width: 0; padding: 5px 12px; border-radius: 999px; background: #fff; color: #7a7f78; font-size: 11.5px; border: 1px solid #ebe1d0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-bar .bar-btns { margin-left: auto; display: flex; gap: 6px; }
.win-bar .bar-btns span { padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 600; border: 1px solid #ddd2bf; color: #1c2622; background: #fff; }
.win-bar .bar-btns span:last-child { background: var(--ac-ink); border-color: var(--ac-ink); color: #fff; }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  border-radius: 12px; background: #fffdf8; color: #1c2622; white-space: nowrap;
  box-shadow: 0 18px 36px -20px rgba(60, 42, 20, 0.55), 0 0 0 1px var(--line);
  font-size: 12px; line-height: 1.25; animation: bob 6s ease-in-out infinite;
}
.float.f2 { animation-delay: -3s; }
.float b { display: block; font-size: 13px; font-weight: 700; }
.float small { display: block; color: #6b716b; font-size: 11.5px; }
.float .ic { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 45%, #fff); color: var(--ac-ink); }
.float .ic svg { width: 17px; height: 17px; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* Integration hub and API layers (SVG). Default = on paper; .on-dark = in forest sections */
.mock-svg { max-width: 560px; }
.mock-svg svg { width: 100%; height: auto; overflow: visible; }
.mock-svg text { font-family: var(--font-body); }
.svg-wire { fill: none; stroke: rgba(28, 38, 34, 0.16); stroke-width: 1.5; }
.svg-pulse { fill: none; stroke: var(--ac-ink); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 5 12; animation: flow 1.6s linear infinite; }
.svg-pulse.rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.svg-node { fill: #fffdf8; stroke: var(--line-2); }
.svg-node-label { font-size: 14px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.svg-band { fill: #fffdf8; stroke: var(--line); }
.svg-band-label, .svg-band-note { paint-order: stroke; stroke: #fffdf8; stroke-width: 8px; stroke-linejoin: round; }
.svg-band-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; fill: var(--ac-ink); }
.svg-band-note { font-size: 11.5px; fill: var(--muted); text-anchor: end; }
.svg-node.key { fill: var(--ac-ink); stroke: none; }
.svg-node-label.key { fill: #fff; }
.svg-hub { fill: #fffdf8; stroke: var(--ac-ink); stroke-opacity: 0.4; }
.svg-halo { fill: none; stroke: var(--sun); stroke-opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.svg-halo.h2 { animation-delay: 1.6s; }
@keyframes halo { from { transform: scale(0.75); opacity: 0.9; } to { transform: scale(1.25); opacity: 0; } }
.on-dark .svg-wire { stroke: rgba(255, 255, 255, 0.2); }
.on-dark .svg-pulse { stroke: var(--ac); }
.on-dark .svg-node { fill: var(--forest-2); stroke: rgba(255, 255, 255, 0.22); }
.on-dark .svg-node-label { fill: #fff; }
.on-dark .svg-band { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.14); }
.on-dark .svg-band-label, .on-dark .svg-band-note { stroke: #1b2f52; }
.on-dark .svg-band-label { fill: var(--ac); }
.on-dark .svg-band-note { fill: var(--on-dark-muted); }
.on-dark .svg-node.key { fill: var(--ac); }
.on-dark .svg-node-label.key { fill: var(--forest); }

/* Store */
.store { padding: 14px 16px 18px; }
.store-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 11px; color: #7a7f78; }
.store-nav b { font: 700 14px/1 var(--font-head); color: #1c2622; letter-spacing: 0.04em; margin-right: auto; }
.store-nav span { width: 34px; height: 6px; border-radius: 3px; background: #ece3d3; }
.store-nav em { font-style: normal; padding: 4px 10px; border-radius: 999px; background: #1c2622; color: #fff; font-weight: 600; }
.store-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 10px; border-radius: 10px; padding: 18px 20px; background: linear-gradient(120deg, #f8eddc, #fbd3ad); margin-bottom: 12px; min-height: 132px; overflow: hidden; }
.store-hero small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #a24d1d; margin-bottom: 6px; font-weight: 700; }
.store-hero strong { display: block; font: italic 600 24px/1.04 var(--font-head); color: #1c2622; margin-bottom: 11px; }
.pill { display: inline-block; padding: 6px 13px; border-radius: 999px; background: #1c2622; color: #fff; font-size: 11px; font-weight: 600; }
.blob { justify-self: center; width: 98px; height: 98px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.5) 0 16%, transparent 17%), linear-gradient(140deg, #f6a15b, #e2692f); box-shadow: 0 18px 30px -14px rgba(226, 105, 47, 0.6); }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod i { position: relative; display: block; aspect-ratio: 1 / 0.92; border-radius: 8px; background: var(--p, linear-gradient(140deg, #e6f3ec, #a9dcc6)); margin-bottom: 7px; }
.prod i::after { content: ""; position: absolute; inset: 24% 28%; border-radius: 40% 40% 12px 12px; background: rgba(255, 255, 255, 0.6); }
.prod b { display: block; font-size: 11.5px; font-weight: 600; }
.prod span { font-size: 11px; color: #7a7f78; }
.mock-store .f1 { left: -28px; bottom: 54px; }
.mock-store .f2 { right: -20px; top: 70px; }

/* WordPress-style block editor */
.wp { display: grid; grid-template-columns: 46px 1fr 128px; min-height: 300px; }
.wp-tools { display: grid; align-content: start; gap: 9px; padding: 14px 10px; border-right: 1px solid #efe7da; }
.wp-tools i { display: block; width: 26px; height: 26px; border-radius: 7px; background: #f1ebe0; }
.wp-tools i:first-child { background: var(--ac-ink); position: relative; }
.wp-tools i:first-child::before, .wp-tools i:first-child::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; }
.wp-tools i:first-child::after { transform: rotate(90deg); }
.wp-canvas { position: relative; padding: 26px 22px 18px; }
.blk { position: relative; border-radius: 6px; padding: 6px 8px; margin-bottom: 10px; }
.blk.sel { outline: 2px solid var(--ac-ink); }
.blk.h { font: 600 21px/1.1 var(--font-head); color: #1c2622; }
.blk .ln { display: block; height: 7px; border-radius: 4px; background: #ece3d3; margin: 7px 0; }
.blk-toolbar { position: absolute; left: 8px; top: -18px; display: flex; gap: 2px; padding: 4px; border-radius: 8px; background: #1c2622; }
.blk-toolbar i { width: 18px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); }
.blk-toolbar i:first-child { background: var(--ac); }
.blk.img { height: 92px; background: linear-gradient(130deg, color-mix(in srgb, var(--ac) 55%, #fff), var(--ac-ink)); position: relative; overflow: hidden; }
.blk.img::after { content: ""; position: absolute; left: 18%; bottom: -30%; width: 60%; height: 90%; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.blk.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 8px; }
.blk.cols span { height: 40px; border-radius: 8px; background: #f7f2e9; border: 1px dashed #dccfb8; }
.wp-side { border-left: 1px solid #efe7da; padding: 14px 12px; display: grid; align-content: start; gap: 10px; font-size: 10.5px; color: #7a7f78; }
.wp-side b { color: #1c2622; font-size: 11px; }
.wp-side .ctl { height: 22px; border-radius: 6px; background: #f7f2e9; border: 1px solid #ebe1d0; }
.wp-side .sw { display: flex; gap: 5px; }
.wp-side .sw i { width: 16px; height: 16px; border-radius: 50%; background: #1c2622; }
.wp-side .sw i:nth-child(2) { background: var(--ac-ink); }
.wp-side .sw i:nth-child(3) { background: var(--ac); }
.wp-side .sw i:nth-child(4) { background: var(--sun); }
.mock-wp .f1 { left: -26px; bottom: 40px; }
.mock-wp .f2 { right: -18px; top: 84px; }
@media (max-width: 520px) { .wp { grid-template-columns: 38px 1fr; } .wp-side { display: none; } }

/* Dashboard + phone */
.dash { display: grid; grid-template-columns: 118px 1fr; min-height: 300px; }
.dash-side { background: var(--forest); padding: 16px 12px; display: grid; align-content: start; gap: 9px; }
.dash-side b { display: flex; align-items: center; gap: 7px; color: #fff; font: 600 13px/1 var(--font-head); margin-bottom: 8px; }
.dash-side b::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--ac); }
.dash-side span { display: block; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.dash-side span.on { background: color-mix(in srgb, var(--ac) 30%, transparent); box-shadow: inset 3px 0 0 var(--ac); }
.dash-main { padding: 16px; background: #faf6ee; min-width: 0; }
.dash-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-title b { font: 600 15px/1 var(--font-head); }
.dash-title span { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid #ebe1d0; color: #7a7f78; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi { background: #fff; border: 1px solid #ede4d5; border-radius: 9px; padding: 10px; min-width: 0; }
.kpi small { display: block; font-size: 10px; color: #7a7f78; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font: 600 18px/1 var(--font-head); }
.kpi em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--ac-ink); margin-left: 4px; }
.chart-card { background: #fff; border: 1px solid #ede4d5; border-radius: 9px; padding: 10px 10px 4px; }
.chart-card svg { width: 100%; height: auto; }
.phone {
  position: relative; width: 170px; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 8px;
  background: #22302b; box-shadow: 0 34px 60px -30px rgba(60, 42, 20, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.screen { position: relative; height: 100%; border-radius: 23px; overflow: hidden; background: #f7f2e9; }
.screen::before { content: ""; position: absolute; z-index: 2; top: 7px; left: 50%; width: 46px; height: 13px; margin-left: -23px; border-radius: 10px; background: #22302b; }
.app-top { padding: 30px 12px 16px; color: #fff; background: linear-gradient(150deg, var(--ac-ink), var(--forest)); }
.app-top small { display: block; font-size: 10px; opacity: 0.75; }
.app-top b { display: block; font: 600 16px/1.2 var(--font-head); }
.app-top .bal { margin-top: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.13); font-size: 10px; }
.app-top .bal strong { display: block; font: 600 17px/1.1 var(--font-head); }
.app-list { padding: 10px; display: grid; gap: 7px; }
.app-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #fff; font-size: 10.5px; }
.app-row i { width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto; background: color-mix(in srgb, var(--ac) 40%, #fff); }
.app-row span { flex: 1; height: 6px; border-radius: 3px; background: #ece3d3; }
.app-row em { font-style: normal; font-weight: 700; color: var(--ac-ink); }
.app-btn { margin: 4px 10px 0; padding: 9px; border-radius: 10px; text-align: center; background: var(--ac-ink); color: #fff; font-size: 11px; font-weight: 600; }
.mock-app { padding: 0 34px 46px 0; }
.mock-app .phone { position: absolute; right: 0; bottom: 0; width: 150px; transform: rotate(3deg); }
@media (max-width: 520px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none; } .mock-app { padding-right: 70px; } .mock-app .phone { width: 128px; } }

/* Two phones (mobile apps) */
.mock-phones { display: flex; justify-content: center; align-items: flex-end; padding: 10px 0 24px; }
.mock-phones .phone { width: 200px; }
.mock-phones .phone:first-child { transform: rotate(-5deg) translateX(18px); z-index: 1; }
.mock-phones .phone:last-child { transform: rotate(5deg) translateX(-18px) translateY(-24px); z-index: 2; }
.app-hero { margin: 10px; height: 110px; border-radius: 14px; background: linear-gradient(140deg, color-mix(in srgb, var(--ac) 60%, #fff), var(--ac-ink)); position: relative; overflow: hidden; }
.app-hero::after { content: ""; position: absolute; right: -20px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.app-chips { display: flex; gap: 5px; padding: 0 10px 8px; }
.app-chips i { flex: 1; height: 20px; border-radius: 999px; background: #fff; border: 1px solid #ebe1d0; }
.app-chips i:first-child { background: #1c2622; border-color: #1c2622; }
.app-tabbar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-around; padding: 9px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px -8px rgba(60, 42, 20, 0.3); }
.app-tabbar i { width: 16px; height: 16px; border-radius: 5px; background: #ddd2bf; }
.app-tabbar i:first-child { background: var(--ac-ink); }
@media (max-width: 480px) { .mock-phones .phone { width: 160px; } }

/* Meta ad + results */
.mock-ad { display: flex; align-items: center; min-height: 440px; padding-left: 4px; }
.ad-post { position: relative; width: 300px; max-width: 72%; background: #fff; border-radius: 14px; transform: rotate(-3deg); box-shadow: var(--shadow-deep), 0 0 0 1px var(--line); }
.ad-post > :not(.tape) { overflow: hidden; }
.ad-head { display: flex; align-items: center; gap: 9px; padding: 11px 12px; }
.ad-head .av { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from 200deg, #f2b441, #e2692f, #b77bd6, #f2b441); padding: 2px; }
.ad-head .av::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: #1c2622; border: 2px solid #fff; }
.ad-head b { display: block; font-size: 12.5px; }
.ad-head small { display: block; font-size: 10.5px; color: #7a7f78; }
.ad-img { position: relative; aspect-ratio: 1 / 0.95; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: linear-gradient(155deg, #fde6d3 0%, #f59b55 55%, #e2692f 100%); }
.ad-img::before { content: ""; position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.ad-img::after { content: ""; position: absolute; right: 40px; top: 50px; width: 70px; height: 70px; border-radius: 18px; transform: rotate(12deg); background: rgba(19, 35, 63, 0.88); }
.ad-img small { position: relative; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #1c2622; font-weight: 700; }
.ad-img strong { position: relative; font: italic 600 26px/1.02 var(--font-head); color: #1c2622; }
.ad-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; background: #faf6ee; font-size: 11px; color: #7a7f78; border-radius: 0 0 14px 14px; }
.ad-cta span:last-child { padding: 7px 11px; border-radius: 8px; background: #1c2622; color: #fff; font-weight: 600; white-space: nowrap; }
.results {
  position: absolute; right: 0; top: 50%; transform: translateY(-46%) rotate(1.5deg); width: 236px; z-index: 2;
  padding: 18px; border-radius: 14px; background: var(--forest); color: #fff;
  box-shadow: var(--shadow-deep);
}
.results header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.results header b { font: 600 14px/1.2 var(--font-head); }
.results header small { font: 700 14px/1 var(--font-hand); color: var(--sun-2); }
.results .row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-dark); font-size: 12px; color: var(--on-dark); }
.results .row strong { color: #fff; font-family: var(--font-head); font-weight: 600; }
.results .bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 12px; }
.results .bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sun-2), rgba(245, 155, 85, 0.3)); }
@media (max-width: 520px) { .mock-ad { min-height: 380px; } .results { width: 196px; padding: 14px; } .ad-post { max-width: 64%; } }

/* WhatsApp-style chat */
.mock-chat { display: flex; justify-content: center; padding: 0 0 10px; }
.mock-chat .phone { width: 280px; transform: rotate(1.5deg); }
.chat-head { display: flex; align-items: center; gap: 9px; padding: 30px 12px 11px; background: #12493f; color: #fff; }
.chat-head .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: #12493f; font: 800 11px/1 var(--font-body); }
.chat-head b { display: block; font-size: 12.5px; }
.chat-head small { display: block; font-size: 10px; opacity: 0.75; }
.chat-body { padding: 12px 10px; display: grid; gap: 7px; align-content: start; height: calc(100% - 71px); background: #efe7da radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px) 0 0 / 12px 12px; }
.msg { max-width: 84%; padding: 7px 9px 5px; border-radius: 10px; font-size: 11.5px; line-height: 1.38; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.msg time { display: block; text-align: right; font-size: 9px; color: #8a8f88; margin-top: 2px; }
.msg.out { justify-self: end; background: #dcf5d4; }
.msg.in { justify-self: start; }
.qr { justify-self: end; width: 84%; display: grid; gap: 4px; margin-top: -3px; }
.qr span { padding: 7px; border-radius: 9px; background: #fff; text-align: center; font-size: 11px; font-weight: 600; color: #127236; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.typing { justify-self: start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #fff; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a8aca5; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.mock-chat .f1 { left: 0; top: 96px; }
.mock-chat .f2 { right: 0; bottom: 70px; }
@media (max-width: 560px) { .mock-chat .phone { width: 250px; } .mock-chat .float { display: none; } }

/* Products: payslip + ERP modules */
.mock-products { min-height: 450px; }
.erp-card { position: absolute; left: 0; top: 0; width: 64%; padding: 18px; border-radius: 14px; background: var(--forest); color: #fff; box-shadow: var(--shadow-deep); transform: rotate(-1.5deg); }
.erp-card header, .slip header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.erp-card header b { font: 600 15px/1.2 var(--font-head); }
.erp-card header span { font-size: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(242, 180, 65, 0.2); color: var(--amber); white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { padding: 11px 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); font-size: 11px; color: var(--on-dark); min-width: 0; }
.tile i { display: block; width: 20px; height: 20px; border-radius: 6px; margin-bottom: 8px; background: var(--t, var(--amber)); }
.slip { position: absolute; right: 0; bottom: 0; width: 64%; padding: 18px; border-radius: 14px; background: #fff; color: #1c2622; box-shadow: var(--shadow-deep), 0 0 0 1px var(--line); z-index: 2; transform: rotate(1.2deg); }
.slip header b { font: 600 15px/1.2 var(--font-head); }
.slip header span { font-size: 10px; padding: 4px 9px; border-radius: 999px; background: #e3ecf8; color: var(--teal); font-weight: 600; white-space: nowrap; }
.slip .emp { font-size: 11px; color: #7a7f78; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px dashed #ddd2bf; }
.slip .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.slip .cols h5 { margin: 0 0 6px; font: 700 10px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: #7a7f78; }
.slip .r { display: flex; justify-content: space-between; font-size: 11.5px; padding: 3px 0; }
.slip .net { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--forest); color: #fff; font-size: 11.5px; }
.slip .net strong { font: 600 18px/1 var(--font-head); color: var(--amber); }
@media (max-width: 560px) { .mock-products { min-height: 520px; } .erp-card { width: 92%; } .slip { width: 86%; } }

/* Maintenance status */
.mock-status { max-width: 440px; }
.status-card { position: relative; padding: 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-deep), 0 0 0 1px var(--line); transform: rotate(-1deg); }
.status-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.status-card header b { font: 600 16px/1.2 var(--font-head); }
.status-card header span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--teal); }
.status-card header span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fae5a; box-shadow: 0 0 0 4px rgba(63, 174, 90, 0.18); }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid #efe7da; font-size: 12.5px; }
.status-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #e3ecf8; color: var(--teal); white-space: nowrap; }
.uptime { display: flex; gap: 3px; margin-top: 12px; }
.uptime i { flex: 1; height: 26px; border-radius: 3px; background: #6cc28a; }

/* Services orbit banner */
.orbit { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-left: auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed var(--line-2); }
.orbit::before { inset: 0; }
.orbit::after { inset: 22%; border-style: solid; border-color: var(--line); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(140deg, #243c66, #13233f); box-shadow: 0 0 0 12px rgba(253, 213, 176, 0.7), 0 24px 50px -16px rgba(31, 78, 140, 0.6); }
.orbit-core img { width: 60px; height: 60px; }
.orbit-ring { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.orb { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(220px) rotate(calc(-1 * var(--a))); }
.orb-inner { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.orb-inner span { animation: spin 80s linear infinite reverse; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 8px; border-radius: 999px; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 0.86rem; font-weight: 600; box-shadow: 0 14px 26px -18px rgba(60, 42, 20, 0.6); }
.orb-inner i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 45%, #fff); color: var(--ac-ink); }
.orb-inner svg { width: 14px; height: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .orbit { display: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 170px 0 100px; --ray-x: 86%; --ray-y: 6%; background: var(--paper-2) var(--paper-grain); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.page-hero h1 { max-width: 15ch; }
.js .page-hero h1, .js .page-hero .rise { animation: rise 0.9s var(--ease) both; }
.js .page-hero .rise { animation-delay: 0.12s; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.hero-chips li { padding: 7px 13px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 1000px) { .page-hero-grid { grid-template-columns: 1fr; gap: 44px; } .page-hero-grid .mock { margin: 0; } }
@media (max-width: 700px) { .page-hero { padding: 128px 0 72px; } }

/* ---------- Tech marquee ---------- */
.tech { padding: 22px 0 26px; background: var(--forest); color: var(--on-dark-muted); overflow: hidden; }
.tech p { font: 700 1.25rem/1 var(--font-hand); color: var(--sun-2); margin-bottom: 12px; }
.marquee { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.tech:hover .marquee { animation-play-state: paused; }
.tech-list { display: flex; flex: 0 0 auto; list-style: none; padding: 0; }
.tech-list li { padding: 0 30px; font: italic 500 1.5rem/1.2 var(--font-head); color: #f3efe6; white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.tech-list li::after { content: "\2726"; font-style: normal; font-size: 0.9rem; color: var(--sun-2); margin-right: -30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.soft { background: var(--paper-2) var(--paper-grain); }
.section.white { background: var(--surface); }
.section-head { max-width: 780px; margin: 0 0 54px; }
.section-head p { color: var(--muted); font-size: 1.14rem; max-width: 640px; margin-bottom: 0; }
.night .section-head p { color: var(--on-dark); }
.section-head.split-head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head.split-head > div { max-width: 720px; }
@media (max-width: 860px) { .section-head.split-head { flex-direction: column; align-items: flex-start; gap: 22px; } }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 38px; } }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-4px) rotate(-0.3deg); box-shadow: var(--shadow); border-color: var(--line-2); }
.card p { color: var(--muted); margin-bottom: 0; }
.night .card { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.night .card p { color: var(--on-dark); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--teal); background: #e3ecf8;
}
.icon svg { width: 24px; height: 24px; }
.icon.ac { color: var(--ac-ink); background: color-mix(in srgb, var(--ac) 32%, #fff); }
.night .icon.ac, .night .icon { color: var(--forest); background: var(--ac); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding: 0; list-style: none; }
.tags li { font-size: 0.8rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--text); }
.night .tags li { background: rgba(255, 255, 255, 0.07); border-color: var(--line-dark); color: var(--on-dark); }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-weight: 600; font-size: 0.95rem; color: var(--ac-ink); }
.night .card-link { color: var(--ac); }
.card-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Home: eight service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; padding: 28px 26px; }
.svc::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--ac-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.svc:hover::after { transform: scaleX(1); }
.svc h3 { font-size: 1.36rem; margin-bottom: 0.45em; }
.svc > p { font-size: 0.97rem; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; font-size: 0.92rem; color: var(--text); }
.svc ul li { display: flex; gap: 9px; align-items: baseline; }
.svc ul li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--ac-ink); transform: translateY(-2px); }
.svc .card-link { margin-top: auto; padding-top: 22px; }
.svc.feature { background: var(--forest); border-color: var(--forest); }
.svc.feature h3 { color: #fff; }
.svc.feature > p, .svc.feature ul { color: var(--on-dark); }
.svc.feature ul li::before { background: var(--ac); }
.svc.feature .icon.ac { color: var(--forest); background: var(--ac); }
.svc.feature .card-link { color: var(--ac); }
.svc.feature::after { background: var(--sun-2); }
.svc .badge { position: absolute; top: 20px; right: 18px; font: 700 1.15rem/1 var(--font-hand); color: var(--sun-2); transform: rotate(-4deg); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Home: integration feature ---------- */
.int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.layer-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.layer-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.layer-list b { display: block; color: #fff; font: 600 1.15rem/1.2 var(--font-head); margin-bottom: 4px; }
.layer-list span { font-size: 0.97rem; }
.layer-list .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.35rem/1 var(--font-hand); color: var(--forest); background: var(--sun-2); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.benefit { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.benefit h3 { font-size: 1.16rem; margin-bottom: 0.4em; }
.benefit p { margin: 0; font-size: 0.95rem; }
.benefit .icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.benefit .icon svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .int-grid { grid-template-columns: 1fr; gap: 44px; } .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Home: products ---------- */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prod-card { padding: 0; display: flex; flex-direction: column; }
.prod-top { position: relative; overflow: hidden; isolation: isolate; padding: 30px 30px 26px; background: color-mix(in srgb, var(--ac) 22%, var(--surface)); border-bottom: 1px solid var(--line); }
.prod-top::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; z-index: -1; background: color-mix(in srgb, var(--ac) 35%, transparent); }
.prod-top .icon { margin-bottom: 18px; background: var(--surface); }
.prod-top h3 { font-size: 1.85rem; margin-bottom: 0.25em; }
.prod-top p { color: var(--text); margin: 0; }
.prod-top .badge { position: absolute; top: 26px; right: 26px; font: 700 1.25rem/1 var(--font-hand); color: var(--ac-ink); transform: rotate(-4deg); }
.prod-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.prod-body > p { margin-bottom: 18px; }
.prod-body .tags { margin-top: 0; }
.prod-body .links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: auto; padding-top: 24px; }
.prod-body .links .card-link { margin: 0; }
.model { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.model div { padding: 22px 24px; border-left: 1px dashed var(--line-2); }
.model div:first-child { border-left: 0; }
.model b { display: block; font: 600 1.1rem/1.25 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.model span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } .model { grid-template-columns: 1fr 1fr; } .model div:nth-child(3) { border-left: 0; } .model div:nth-child(n+3) { border-top: 1px dashed var(--line-2); } }
@media (max-width: 520px) { .model { grid-template-columns: 1fr; } .model div { border-left: 0; } .model div + div { border-top: 1px dashed var(--line-2); } }

/* ---------- Process: a hand-drawn dashed path ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 26px; border-top: 2.5px dashed var(--line-2); }
.step { position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.7rem/1 var(--font-hand); color: #fff; background: var(--sun); box-shadow: 0 0 0 8px var(--paper-2);
  transform: rotate(-6deg);
}
.step:nth-child(2) .step-num { background: var(--teal); transform: rotate(4deg); }
.step:nth-child(3) .step-num { background: #c08a1e; transform: rotate(-3deg); }
.step:nth-child(4) .step-num { background: var(--forest); transform: rotate(5deg); }
.step h3 { font-size: 1.5rem; }
.step p { margin: 0; color: var(--muted); }
.night .step p { color: var(--on-dark); }
.night .step-num { box-shadow: 0 0 0 8px var(--forest); }
.night .timeline::before { border-color: rgba(255, 255, 255, 0.25); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { left: 26px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2.5px dashed var(--line-2); }
  .step { padding-left: 80px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Founder note (home) ---------- */
.letter { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.polaroid { position: relative; width: 190px; padding: 12px 12px 14px; background: #fff; box-shadow: var(--shadow-deep), 0 0 0 1px var(--line); transform: rotate(-3.5deg); margin: 18px auto 0; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font: 700 1.3rem/1.1 var(--font-hand); color: var(--ink); text-align: center; margin-top: 10px; }
.letter-body h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.letter-body p { font-size: 1.12rem; color: var(--text); }
.letter-body p:first-of-type::first-letter { font: 600 3.4em/0.8 var(--font-head); float: left; margin: 0.08em 0.1em 0 0; color: var(--sun); }
.signature { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.signature b { display: block; font: 700 2.4rem/1 var(--font-hand); color: var(--teal); transform: rotate(-3deg); }
.signature span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 820px) { .letter { grid-template-columns: 1fr; gap: 30px; } .polaroid { width: 170px; margin: 0; } }

/* ---------- Why + promises ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.stat { padding: 20px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font: 600 2.6rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--ink); margin-bottom: 8px; }
.stat span { display: block; font-size: 0.88rem; line-height: 1.35; color: var(--muted); }
.stat:first-child { background: var(--sun-soft); border-color: #f6cfae; }
.stat:first-child b { color: var(--sun); }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px dashed var(--line-2); }
.check-list li:last-child { border-bottom: 1px dashed var(--line-2); }
.check-list .tick { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e3ecf8; color: var(--teal); margin-top: 2px; }
.check-list .tick svg { width: 15px; height: 15px; }
.check-list strong { display: block; font: 600 1.25rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.check-list span.desc { color: var(--muted); }
.wont { margin-top: 30px; padding: 26px 28px; border-radius: 16px; background: var(--surface); border: 1.5px dashed var(--line-2); }
.wont h3 { font-size: 1.35rem; }
.wont ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.wont li { display: flex; gap: 12px; align-items: baseline; color: var(--text); }
.wont li::before { content: "\2715"; flex: 0 0 auto; font-weight: 700; color: var(--sun); }

/* ---------- CTA band ---------- */
.cta {
  --ray-x: 92%; --ray-y: 0%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 72px 64px; border-radius: 28px; background: var(--sun-soft); border: 1px solid #f6cfae;
}
.cta h2 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: 0.35em; max-width: 14ch; }
.cta p { margin: 0; max-width: 540px; font-size: 1.12rem; color: var(--text); }
.cta .cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.cta .hand-note { position: absolute; left: -12px; top: -52px; flex-direction: row-reverse; }
.cta .hand-note svg { transform: scaleX(-1); }
@media (max-width: 860px) { .cta { flex-direction: column; align-items: flex-start; padding: 52px 26px; border-radius: 22px; } .cta .hand-note { display: none; } }

/* ---------- Services page ---------- */
.chipnav { position: sticky; top: 92px; z-index: 50; padding: 14px 0 0; margin-bottom: -68px; pointer-events: none; }
.chips {
  pointer-events: auto; display: flex; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 6px;
  overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: rgba(255, 253, 248, 0.9); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 30px -22px rgba(60, 42, 20, 0.55);
}
.chips::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--text); transition: background 0.2s, color 0.2s; }
.chips a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ac-ink); }
.chips a:hover { background: var(--paper-2); }
.chips a[aria-current="true"] { background: var(--ink); color: #fff; }
.chips a[aria-current="true"]::before { background: var(--ac); }
@media (max-width: 920px) { .chipnav { top: 90px; } .chips { border-radius: 18px; } }

.svc-section { padding: 128px 0 112px; scroll-margin-top: 80px; }
.svc-section.alt { background: var(--paper-2) var(--paper-grain); }
.svc-section.white { background: var(--surface); }
.svc-layout { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: start; }
.svc-layout.flip .svc-visual { order: -1; }
.svc-visual { position: sticky; top: 170px; min-width: 0; }
.svc-visual .mock { margin: 0 auto; }
.svc-num { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-num .icon { margin: 0; }
.svc-num span { font: 700 1.4rem/1 var(--font-hand); color: var(--sun); }
.night .svc-num span { color: var(--sun-2); }
.svc-section h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.svc-section h3.sub { font: 700 0.85rem/1.2 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 34px 0 14px; }
.night h3.sub { color: var(--on-dark-muted); }
.deliver { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.deliver li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.98rem; line-height: 1.45; }
.deliver li i { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; color: var(--ac-ink); background: color-mix(in srgb, var(--ac) 32%, #fff); }
.night .deliver li i { color: var(--forest); background: var(--ac); }
.deliver li i svg { width: 12px; height: 12px; }
.fit { position: relative; margin-top: 30px; padding: 22px 24px; border-radius: 4px; background: #fff7d6; box-shadow: 0 16px 30px -24px rgba(60, 42, 20, 0.6); transform: rotate(-0.6deg); }
.fit::before { content: ""; position: absolute; top: -10px; left: 30px; width: 70px; height: 20px; background: rgba(242, 180, 65, 0.4); transform: rotate(-4deg); }
.night .fit { background: #fff3c4; color: var(--text); }
.fit h4 { font: 700 1.5rem/1 var(--font-hand); color: var(--ink); margin-bottom: 10px; }
.night .fit h4 { color: var(--ink); }
.fit ul { padding-left: 18px; display: grid; gap: 6px; color: var(--text); }
.fit li::marker { color: var(--sun); }
.note { margin: 24px 0 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--sun); color: var(--muted); font-size: 0.95rem; }
.night .note { color: var(--on-dark); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 1000px) {
  .svc-layout { grid-template-columns: 1fr; gap: 48px; }
  .svc-layout.flip .svc-visual { order: 0; }
  .svc-visual { position: relative; top: 0; order: -1; max-width: 600px; }
  .svc-section { padding: 120px 0 84px; }
}
@media (max-width: 620px) { .deliver { grid-template-columns: 1fr; } }

/* ---------- Products page ---------- */
.product-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 44px; }
.product-head .icon { width: 64px; height: 64px; border-radius: 18px; margin: 0; color: var(--ac-ink); background: color-mix(in srgb, var(--ac) 35%, #fff); }
.product-head .icon svg { width: 30px; height: 30px; }
.product-head h2 { margin-bottom: 0.2em; }
.product-head p { margin: 0; color: var(--muted); font-size: 1.12rem; max-width: 680px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module { padding: 22px 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.module h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 0.45em; }
.module h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ac-ink); flex: 0 0 auto; }
.module p { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.callout { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 22px 24px; border-radius: 16px; background: var(--forest); color: var(--on-dark); }
.callout .icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--ac); color: var(--forest); }
.callout b { color: #fff; }
.callout p { margin: 0; }

/* ---------- About ---------- */
.prose p { color: var(--muted); font-size: 1.08rem; }
.name-card { position: relative; border-radius: 22px; padding: 40px; color: var(--on-dark); overflow: hidden; isolation: isolate; background: var(--forest); }
.name-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 300px at 92% 0%, rgba(242, 180, 65, 0.22), transparent 70%); }
.name-card h3 { color: #fff; font-size: 2rem; }
.name-parts { display: grid; gap: 12px; margin: 24px 0; }
.name-part { padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); }
.name-part b { display: block; font: italic 600 2.1rem/1 var(--font-head); margin-bottom: 8px; color: var(--sun-2); }
.name-part:nth-child(2) b { color: var(--mint); }
.name-part span { font-size: 0.98rem; }
.name-card .result { margin: 0; color: #fff; font: 700 1.5rem/1.2 var(--font-hand); }
@media (max-width: 620px) { .name-card { padding: 28px 20px; } .name-part { padding: 18px; } }

.card-large h3 { font-size: 2rem; }
.card-large p { font-size: 1.1rem; }

.founder { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 44px; }
.founder .polaroid { margin: 6px 0 0; width: 190px; }
.founder h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.15em; }
.founder .role { color: var(--sun); font: 700 1.4rem/1 var(--font-hand); margin-bottom: 18px; }
.founder p { color: var(--muted); }
.founder .tags { margin-top: 8px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; padding: 30px 22px; gap: 26px; } .founder .polaroid { width: 160px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.45fr 0.95fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 44px; box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.form-note { color: var(--muted); }
.form-note span, .field label .req { color: var(--sun); }
@media (max-width: 620px) { .form-card { padding: 28px 20px; border-radius: 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 78, 140, 0.15); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--text); margin-bottom: 24px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #b91c1c; }
.form-status a { text-decoration: underline; }

.info-stack { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.info-item .icon { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.info-item > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.info-item h3 { font-size: 1.12rem; margin-bottom: 4px; }
.info-item p, .info-item a { margin: 0; color: var(--muted); }
.info-item a:hover { color: var(--teal); text-decoration: underline; }
.person { position: relative; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px; background: #fff7d6; box-shadow: 0 16px 30px -24px rgba(60, 42, 20, 0.6); transform: rotate(-0.8deg); }
.person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid #fff; }
.person p { margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.4; }
.person b { color: var(--ink); }
.person .hand-note { position: absolute; right: 14px; bottom: -26px; font-size: 1.3rem; }
.next-steps { padding: 28px; border-radius: 16px; color: var(--on-dark); background: var(--forest); }
.next-steps h3 { color: #fff; font-size: 1.45rem; }
.next-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.next-steps li::marker { color: var(--sun-2); font-weight: 700; }

.faq { max-width: 880px; display: grid; }
.faq details { border-top: 1px dashed var(--line-2); }
.faq details:last-child { border-bottom: 1px dashed var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font: 600 1.28rem/1.25 var(--font-head); color: var(--ink); display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 1.3rem/1 var(--font-body); color: #fff; background: var(--sun); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 26px 0; margin: 0; font-size: 1.05rem; }
@media (max-width: 520px) { .faq details p { padding-right: 0; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--forest) var(--paper-grain); color: var(--on-dark-muted); padding: 80px 0 0; font-size: 0.97rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { margin-bottom: 14px; color: #fff; }
.site-footer .tagline { color: var(--sun-2); font: 700 1.45rem/1.1 var(--font-hand); margin-bottom: 10px; }
.site-footer h4 { color: #fff; font: 600 0.95rem/1.3 var(--font-body); letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding: 22px 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.footer-word {
  font: italic 600 clamp(4rem, 18.5vw, 17rem)/1.12 var(--font-head); letter-spacing: -0.04em; text-align: center; white-space: nowrap;
  margin: 8px 0 0; user-select: none;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.2), rgba(251, 247, 239, 0.02) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 404 ---------- */
.notfound { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 150px 24px 90px; --ray-x: 50%; --ray-y: 8%; background: var(--paper-2) var(--paper-grain); }
.notfound .code { font: italic 600 clamp(7rem, 22vw, 13rem)/0.9 var(--font-head); letter-spacing: -0.05em; margin-bottom: 14px; color: var(--sun); }
.notfound p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), box-shadow 0.35s, border-color 0.35s; transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-4px) rotate(-0.3deg); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .scribble::after { clip-path: none; }
  .js .slider-tab[aria-selected="true"] .bar i { transform: scaleX(1); }
  .marquee { width: auto; }
  .marquee .tech-list { flex-wrap: wrap; row-gap: 10px; }
  .marquee .tech-list[aria-hidden="true"] { display: none; }
}

/* Partner block (About) and "in collaboration with" note (Products) */
.partner .polaroid { transform: rotate(3deg); }
.partner-logo { display: block; width: 160px; height: auto; margin: 4px 0 12px; }
.partner-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.partner-note img { width: 120px; height: auto; }
