/* redolive.studio: one stylesheet for every page.
   Fonts are hosted here (SIL OFL, see fonts/), so pages make no third-party requests.
   No inline styles anywhere: the Content-Security-Policy in site/_headers only allows this file.
   The look follows the apps: cream, slowly drifting blurred blobs, frosted cards (Ollie Guard's
   "soft olive" design); the Superloop page swaps the tokens for its light glass and ice blues. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #F7F3EA;
  --surface: #FFFDF8;
  --surface-2: #F0EBDE;
  --frost: rgba(255, 253, 248, 0.72);
  --frost-strong: rgba(255, 253, 248, 0.9);
  --frost-line: rgba(255, 255, 255, 0.9);
  --ink: #141612;
  --muted: #5E6353;
  --line: #E2DBC9;
  --red: #B5443A;
  --red-deep: #9E3A31;
  --red-tint: #F5E3DE;
  --olive: #55603A;
  --olive-tint: #EAEEDA;
  --leaf: #7FA05A;
  --stem: #6B7A45;
  --cheek: #F29C8F;
  --focus: #1F5FD9;
  --glow-1: rgba(127, 160, 90, 0.30);
  --glow-2: rgba(181, 68, 58, 0.14);
  --glow-3: rgba(233, 196, 106, 0.22);
  --shadow: 0 18px 44px rgba(42, 46, 34, 0.10), 0 2px 6px rgba(42, 46, 34, 0.05);
  --shadow-s: 0 8px 20px rgba(42, 46, 34, 0.08);
  --radius: 26px;
  --radius-s: 16px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141612;
    --surface: #1C1F19;
    --surface-2: #23271E;
    --frost: rgba(32, 35, 28, 0.68);
    --frost-strong: rgba(32, 35, 28, 0.9);
    --frost-line: rgba(255, 255, 255, 0.09);
    --ink: #F3F1E9;
    --muted: #AEB3A2;
    --line: #2F3429;
    --red: #E8705F;
    --red-deep: #F2907F;
    --red-tint: #3A2521;
    --olive: #C2CC7A;
    --olive-tint: #262B1F;
    --leaf: #9AB874;
    --stem: #8E9E62;
    --focus: #8CC2FF;
    --glow-1: rgba(127, 160, 90, 0.16);
    --glow-2: rgba(232, 112, 95, 0.12);
    --glow-3: rgba(233, 196, 106, 0.08);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-s: 0 8px 20px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
  text-wrap: pretty;
}
@media (min-width: 760px) { body { font-size: 18px; } }
[hidden] { display: none !important; }
/* The language chosen by site.js (an attribute on <html>); without JavaScript all three stay visible. */
[data-lang-active="en"] [data-lang]:not([data-lang="en"]),
[data-lang-active="tr"] [data-lang]:not([data-lang="tr"]),
[data-lang-active="nl"] [data-lang]:not([data-lang="nl"]) { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7.5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.7rem); line-height: 1.1; margin-bottom: 0.5em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p, ul, ol, dl { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: 0.9em; }
.measure { max-width: 62ch; }
.lead { font-size: clamp(1.12rem, 2.6vw, 1.38rem); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
/* grid children must be allowed to shrink below their content size (an SVG's viewBox width, a long word) */
.hero-grid > *, .hero-app > *, .tiles > *, .story > *, .price > *, .features > li > *, .bergie-card > *, .foot > * { min-width: 0; }

section { padding: 64px 0; }
@media (min-width: 760px) { section { padding: 96px 0; } }
.section-intro { max-width: 60ch; margin-bottom: 36px; }
.section-intro p { color: var(--muted); font-size: 1.05rem; }
/* a leaf before every section heading: the studio's small signature */
.section-intro h2::before, section > h2::before, .price h2::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.4em 0.08em 0;
  background: var(--leaf); border-radius: 0 75% 0 75%; transform: rotate(-25deg); vertical-align: middle;
}

/* ---------- soft background: drifting blurred blobs, like the apps ---------- */
.glows { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glows span { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 26s ease-in-out infinite alternate; }
.glows span:nth-child(1) { width: 62vmax; height: 62vmax; left: -24vmax; top: -22vmax; background: var(--glow-1); }
.glows span:nth-child(2) { width: 48vmax; height: 48vmax; right: -18vmax; top: 14vh; background: var(--glow-2); animation-duration: 32s; }
.glows span:nth-child(3) { width: 54vmax; height: 54vmax; left: 8vw; bottom: -30vmax; background: var(--glow-3); animation-duration: 29s; }
.glows span:nth-child(4) { width: 34vmax; height: 34vmax; right: 4vw; bottom: 8vh; background: var(--glow-1); animation-duration: 36s; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(4vmax, 3vmax); } }
/* a faint paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.045;
  background-image: 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::after { opacity: 0.07; } }

/* ---------- frosted surfaces ---------- */
.frost, .promise > li, .features > li, .faq, .contact, .story-aside, .notice, .price-box, .phone-empty, .bergie-card, .glass {
  background: var(--frost);
  border: 1px solid var(--frost-line);
  box-shadow: var(--shadow-s);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
@media (prefers-reduced-transparency: reduce) {
  .frost, .promise > li, .features > li, .faq, .contact, .story-aside, .notice, .price-box, .phone-empty, .bergie-card, .glass, .deck .card, .top { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .frost, .promise > li, .features > li, .faq, .contact, .story-aside, .notice, .price-box, .phone-empty, .bergie-card, .glass, .deck .card, .top { background: var(--frost-strong); }
}

/* ---------- header: sticky and frosted ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 calc(50% - 50vw); padding: 12px calc(50vw - 50%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) { .top { background: var(--frost-strong); } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1; letter-spacing: -0.01em; }
.brand small { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.16em; color: var(--olive); margin-top: 3px; }
.lang { display: flex; gap: 4px; }
.lang a { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; font-weight: 700; text-decoration: none; line-height: 1.2; transition: background-color .2s ease, color .2s ease; }
.lang a:hover { color: var(--ink); border-color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* in-page nav on app pages */
.subnav { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--frost); border: 1px solid var(--frost-line); color: var(--ink); font-weight: 700; font-size: 0.9rem; text-decoration: none; box-shadow: var(--shadow-s); transition: transform .2s ease; }
.subnav a:hover { transform: translateY(-2px); color: var(--ink); }
@media (min-width: 760px) { .subnav { margin: 0; padding-left: 0; padding-right: 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2; border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, #BF4B40, #B5443A); color: #FFFDF8; box-shadow: 0 8px 20px rgba(181, 68, 58, 0.28); }
.btn-primary:hover { color: #FFFDF8; box-shadow: 0 12px 26px rgba(181, 68, 58, 0.34); }
.btn-ghost { border-color: var(--frost-line); background: var(--frost); color: var(--ink); box-shadow: var(--shadow-s); }
.btn-ghost:hover { color: var(--ink); }
@media (prefers-color-scheme: dark) { .btn-primary { background: linear-gradient(180deg, #F08271, #E8705F); color: #141612; box-shadow: 0 8px 20px rgba(232, 112, 95, 0.22); } .btn-primary:hover { color: #141612; } }

/* ---------- studio hero ---------- */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { max-width: 20ch; }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 860px) {
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-grid .branch { order: 2; }
}

/* The olive branch: one orchestrated moment on page load, then a slow sway. */
.branch { width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(42, 46, 34, 0.14)); }
.branch .stem { fill: none; stroke: var(--stem); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 760; stroke-dashoffset: 760; animation: draw 1.5s cubic-bezier(.4, 0, .2, 1) .1s forwards; }
.branch .leaf { fill: var(--leaf); transform-box: fill-box; transform-origin: 0% 50%; transform: scale(0); animation: grow .7s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.branch .leaf.flip { transform-origin: 100% 50%; }
.branch .leaf:nth-of-type(1) { animation-delay: .45s; }
.branch .leaf:nth-of-type(2) { animation-delay: .6s; }
.branch .leaf:nth-of-type(3) { animation-delay: .8s; }
.branch .leaf:nth-of-type(4) { animation-delay: .95s; }
.branch .leaf:nth-of-type(5) { animation-delay: 1.1s; }
.branch .leaf:nth-of-type(6) { animation-delay: 1.25s; }
.branch .pop { transform-box: fill-box; transform-origin: 50% 0%; transform: scale(0); animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.branch .pop-1 { animation-delay: 1.15s; }
.branch .pop-2 { animation-delay: 1.4s; }
.branch .pop-3 { animation-delay: 1.65s; }
.branch .sway { transform-box: fill-box; transform-origin: 50% 0%; animation: sway 5.5s ease-in-out 2.3s infinite alternate; }
.branch .sway-2 { animation-duration: 6.5s; animation-delay: 2.6s; }
.branch .sway-3 { animation-duration: 7.5s; animation-delay: 2.9s; }
.branch .pouch { transform-box: fill-box; }
.branch .pouch > ellipse:first-of-type { fill: #2B2A4C; }
@media (prefers-color-scheme: dark) { .branch .pouch > ellipse:first-of-type { fill: #4A4984; } }
.tile .art picture { height: 100%; display: flex; align-items: flex-end; }
.tile .art picture img { height: 100%; width: auto; }
.branch .shine { fill: #D7766A; opacity: .75; }
.branch .ink { stroke: #2A1A17; stroke-linecap: round; fill: none; }
.branch .cheek { fill: var(--cheek); }
.branch .olive-ice { fill: url(#iceFill); }
.branch .olive-next { fill: none; stroke: var(--stem); stroke-width: 3; stroke-dasharray: 7 7; opacity: .7; }
.branch .soon { font: 700 12px var(--sans); fill: var(--muted); letter-spacing: .02em; }
.branch .stalk { fill: none; stroke: var(--stem); stroke-width: 4; stroke-linecap: round; }
/* the two olives are links: they come alive on hover and open the app pages */
.branch .olive-link { cursor: pointer; outline: none; }
.branch .hover { transform-box: fill-box; transform-origin: 50% 0%; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.branch .olive-link:hover .hover, .branch .olive-link:focus-visible .hover { transform: scale(1.14); animation: wiggle .7s ease; }
.branch .olive-link:focus-visible .olive-red, .branch .olive-link:focus-visible .olive-ice { stroke: var(--focus); stroke-width: 4; }
@keyframes wiggle { 0% { rotate: 0deg; } 25% { rotate: -9deg; } 60% { rotate: 7deg; } 100% { rotate: 0deg; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scale(1); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* ---------- Ollie Guard scene (Ollie and the pouch, a WebP render from marketing/logo/ollie-guard/) ---------- */
.og-mascot { width: 160px; height: auto; }
.hero-app .og-mascot { width: min(320px, 80vw); }
.tile .art .og-mascot { height: 100%; width: auto; }
.ollie-float { animation: float 3.6s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(27, 28, 51, 0.22)); }
.ollie-shadow { width: 120px; height: 14px; margin: 8px auto 0; border-radius: 50%; background: var(--stem); opacity: .25; animation: shadow 3.6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: .25; } 50% { transform: scaleX(.8); opacity: .12; } }

/* ---------- promise list: frosted cards with a leaf marker ---------- */
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise > li { position: relative; padding: 22px 22px 22px 58px; border-radius: var(--radius); }
.promise > li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 18px; height: 18px; background: var(--leaf); border-radius: 0 75% 0 75%; transform: rotate(-25deg); }
.promise strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; }
.promise p { color: var(--muted); }
@media (min-width: 760px) {
  .promise { grid-template-columns: 1fr 1fr; gap: 18px; }
  .promise > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- app tiles on the home page ---------- */
.tiles { display: grid; gap: 20px; }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; gap: 28px; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; min-height: 340px; border: 1px solid var(--frost-line); box-shadow: var(--shadow-s); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.tile h3 { font-size: 2rem; }
.tile p { color: var(--muted); max-width: 32ch; }
.tile .art { height: 150px; display: flex; align-items: flex-end; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.tile:hover .art { transform: translateY(-6px) rotate(-2deg); }
.tile .art img, .tile .art svg { height: 100%; width: auto; }
.tile .go { margin-top: auto; font-weight: 700; color: var(--red); }
.tile-og { background: radial-gradient(90% 70% at 100% 0%, rgba(242, 140, 106, 0.28), transparent 62%), radial-gradient(60% 50% at 0% 100%, rgba(242, 178, 62, 0.22), transparent 70%), #FFF1E6; color: #1B1C33; }
.tile-og h3 { color: #1B1C33; } .tile-og p { color: #4A4C6A; } .tile-og .go { color: #AD5233; }
.tile-og .pill { background: rgba(255,255,255,.7); border-color: rgba(255,255,255,.9); color: #4A4C6A; }
.tile-sl { background: radial-gradient(70% 60% at 100% 0%, rgba(255, 255, 255, 0.7), transparent 60%), linear-gradient(160deg, #E6F2FF 0%, #EFEBFF 55%, #FFEAF3 100%); color: #1b2442; }
.tile-sl h3, .tile-sl .go { color: #1b2442; }
.tile-sl p { color: #4f5a7b; }
.tile-sl .go { color: #1a52bf; }
@media (prefers-color-scheme: dark) {
  .tile-og { background: radial-gradient(90% 70% at 100% 0%, rgba(242, 140, 106, 0.22), transparent 62%), linear-gradient(160deg, #2B2D5E, #1B1C33); color: #F6F2EC; }
  .tile-og h3 { color: #F6F2EC; } .tile-og p { color: #C9C7D6; } .tile-og .go { color: #F6A98E; }
  .tile-og .pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #C9C7D6; }
  .tile-sl { background: radial-gradient(70% 60% at 100% 0%, rgba(124, 196, 255, 0.25), transparent 60%), linear-gradient(160deg, #1d2552, #121836); color: #f5f7ff; }
  .tile-sl h3 { color: #f5f7ff; } .tile-sl p { color: #b4bee0; } .tile-sl .go { color: #8cc2ff; }
}
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--frost-strong); border: 1px solid var(--frost-line); font-size: 0.85rem; font-weight: 700; color: var(--muted); width: max-content; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px rgba(127, 160, 90, 0.25); }
.tile-sl .pill { background: rgba(255,255,255,.6); border-color: rgba(255,255,255,.9); color: #4f5a7b; }
@media (prefers-color-scheme: dark) { .tile-sl .pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #b4bee0; } }

/* ---------- about / story ---------- */
.story { display: grid; gap: 28px; }
@media (min-width: 860px) { .story { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.story > div > h2::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.4em 0.08em 0; background: var(--leaf); border-radius: 0 75% 0 75%; transform: rotate(-25deg); vertical-align: middle; }
.story p { font-size: 1.05rem; }
.story-aside { padding: 28px; border-radius: var(--radius); }
.story-aside h3 { margin-bottom: 8px; }
.story-aside p { color: var(--muted); font-size: .97rem; }
.story-aside p + h3 { margin-top: 22px; }

/* ---------- app page hero ---------- */
.hero-app { display: grid; gap: 32px; align-items: center; padding: 20px 0 48px; }
.hero-app .mascot { display: flex; flex-direction: column; align-items: center; padding: 28px 20px 24px; border-radius: 32px; background: radial-gradient(80% 70% at 50% 20%, rgba(255, 253, 248, 0.55), transparent 70%), var(--olive-tint); border: 1px solid var(--frost-line); }
.hero-app .tagline { font-family: var(--serif); font-size: clamp(1.45rem, 4vw, 2.1rem); line-height: 1.2; color: var(--olive); margin-top: 10px; }
.hero-app .lead { margin-top: 18px; max-width: 48ch; }
@media (min-width: 860px) { .hero-app { grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 40px 0 72px; } .hero-app .mascot { order: 2; } }
@media (prefers-color-scheme: dark) { .hero-app .mascot { background: radial-gradient(80% 70% at 50% 20%, rgba(255, 255, 255, 0.05), transparent 70%), var(--olive-tint); } }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--muted); font-weight: 700; font-size: .95rem; background: var(--frost); }
.stores + .note { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* Ollie Guard: the reminder card, a stylised notification (an illustration, not a screenshot). */
.notice { width: min(100%, 360px); margin: 22px auto 0; padding: 14px 16px 16px; border-radius: 18px; animation: slidein .9s cubic-bezier(.2, .9, .3, 1.1) .4s both; }
.notice .from { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.notice .from img { width: 18px; height: 18px; border-radius: 5px; }
.notice .from time { margin-left: auto; font-weight: 600; }
.notice strong { display: block; font-size: 1rem; }
.notice p { color: var(--muted); font-size: .95rem; line-height: 1.4; }
@keyframes slidein { from { transform: translateY(-24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ---------- features: frosted cards ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 960px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.features > li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 22px; border-radius: var(--radius); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
.features > li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.features .glyph { width: 46px; height: 46px; border-radius: 15px; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; }
.features .glyph svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 1.15rem; margin-bottom: 4px; }
.features p { color: var(--muted); font-size: .97rem; }

/* ---------- screenshots ---------- */
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 16px 28px; margin: 0 -16px; scrollbar-width: thin; }
@media (min-width: 760px) { .shots { margin: 0; padding-left: 4px; padding-right: 4px; } }
.phone { flex: none; width: 236px; aspect-ratio: 9 / 19.5; scroll-snap-align: start; border-radius: 36px; border: 7px solid #2B2E26; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.phone::after { content: ""; position: absolute; left: 50%; top: 10px; width: 72px; height: 7px; margin-left: -36px; border-radius: 999px; background: #2B2E26; opacity: .9; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-empty { display: grid; place-items: center; align-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--muted); font-weight: 700; font-size: .9rem; border: 0; box-shadow: none; }
.phone-empty img { width: 72px; height: 72px; border-radius: 17px; box-shadow: var(--shadow-s); }
.shots-note { color: var(--muted); font-size: .9rem; }

/* ---------- price ---------- */
.price { display: grid; gap: 28px; }
@media (min-width: 860px) { .price { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.price-big { font-family: var(--serif); font-size: clamp(3.4rem, 10vw, 5.4rem); line-height: 1; color: var(--red); letter-spacing: -0.03em; }
.price-sub { color: var(--muted); margin-top: 10px; max-width: 30ch; }

/* ---------- FAQ: one frosted panel ---------- */
.faq { border-radius: var(--radius); padding: 4px 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { padding: 30px 26px; border-radius: var(--radius); display: grid; gap: 8px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--glow-1), transparent 70%); pointer-events: none; }
.contact a.mail { font-family: var(--serif); font-size: clamp(1.4rem, 4.5vw, 2rem); color: var(--ink); text-decoration-color: var(--olive); word-break: break-all; }
.contact p { color: var(--muted); max-width: 52ch; }
@media (min-width: 760px) { .contact { padding: 44px; } }

/* ---------- legal pages ---------- */
.legal { max-width: 70ch; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal .meta { color: var(--muted); margin: 10px 0 24px; }
.legal h2 { font-size: 1.45rem; margin: 36px 0 8px; }
.legal li { margin-bottom: 6px; }
.summary { background: var(--frost); border: 1px solid var(--frost-line); border-left: 5px solid var(--olive); border-radius: var(--radius-s); padding: 18px 20px; margin-bottom: 8px; box-shadow: var(--shadow-s); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }

/* ---------- footer ---------- */
footer { margin-top: 24px; padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.foot { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; } }
.foot h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { margin-bottom: 10px; }
footer .fine { font-size: .85rem; }
.foot ~ .fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }


/* ---------- Ollie Guard theme: warm cream, navy ink, coral and gold, like the pouch ---------- */
.theme-ollie-guard {
  --bg: #FFF4EA;
  --surface: #FFFBF6;
  --surface-2: #FBEBDD;
  --frost: rgba(255, 251, 246, 0.74);
  --frost-strong: rgba(255, 251, 246, 0.92);
  --frost-line: rgba(255, 255, 255, 0.95);
  --ink: #1B1C33;
  --muted: #5B5D78;
  --line: #EBDCCB;
  --red: #AD5233;
  --red-deep: #8E3F25;
  --olive: #3B3D78;
  --olive-tint: #EFE6F2;
  --leaf: #F2B23E;
  --stem: #3B3D78;
  --focus: #3B3D78;
  --glow-1: rgba(242, 178, 62, 0.28);
  --glow-2: rgba(242, 140, 106, 0.26);
  --glow-3: rgba(59, 61, 120, 0.14);
}
@media (prefers-color-scheme: dark) {
  .theme-ollie-guard {
    --bg: #15162B;
    --surface: #1E1F38;
    --surface-2: #26284A;
    --frost: rgba(30, 31, 56, 0.72);
    --frost-strong: rgba(30, 31, 56, 0.92);
    --frost-line: rgba(255, 255, 255, 0.09);
    --ink: #F6F2EC;
    --muted: #B9B8CB;
    --line: #33355A;
    --red: #F28C6A;
    --red-deep: #F6A98E;
    --olive: #F2B23E;
    --olive-tint: #2B2D5E;
    --leaf: #F2B23E;
    --stem: #8A8CC0;
    --focus: #F2B23E;
    --glow-1: rgba(242, 178, 62, 0.14);
    --glow-2: rgba(242, 140, 106, 0.14);
    --glow-3: rgba(140, 142, 200, 0.14);
  }
}
.theme-ollie-guard .btn-primary { background: linear-gradient(180deg, #F28C6A, #D9704F); color: #1B1C33; box-shadow: 0 8px 20px rgba(217, 112, 79, 0.32); }
.theme-ollie-guard .btn-primary:hover { color: #1B1C33; }
.theme-ollie-guard .hero-app .mascot { background: radial-gradient(80% 70% at 50% 20%, rgba(255, 255, 255, 0.6), transparent 70%), #FBE3D2; }
@media (prefers-color-scheme: dark) { .theme-ollie-guard .hero-app .mascot { background: radial-gradient(80% 70% at 50% 20%, rgba(255, 255, 255, 0.05), transparent 70%), #26284A; } }
.theme-ollie-guard .features .glyph { background: #FBE3D2; color: #3B3D78; }
@media (prefers-color-scheme: dark) { .theme-ollie-guard .features .glyph { background: #2B2D5E; color: #F2B23E; } }
.theme-ollie-guard .price-big { color: #D9704F; }

/* ---------- Superloop theme: light glass and ice blues, like the app ---------- */
.theme-superloop {
  --bg: #F6F9FF;
  --surface: #FFFFFF;
  --surface-2: rgba(255, 255, 255, .78);
  --frost: rgba(255, 255, 255, .5);
  --frost-strong: rgba(255, 255, 255, .8);
  --frost-line: rgba(255, 255, 255, .9);
  --ink: #1B2442;
  --muted: #4F5A7B;
  --line: rgba(79, 90, 123, .22);
  --red: #1A52BF;
  --red-deep: #0A3F9E;
  --olive: #1F5FD9;
  --olive-tint: rgba(255, 255, 255, .5);
  --leaf: #5AA8F2;
  --stem: #4F5A7B;
  --focus: #1F5FD9;
  --glow-1: rgba(124, 196, 255, .55);
  --glow-2: rgba(185, 167, 255, .40);
  --glow-3: rgba(127, 227, 245, .45);
  --shadow: 0 8px 32px rgba(31, 38, 135, .15);
  --shadow-s: 0 6px 20px rgba(31, 38, 135, .10);
  --yes: #047857; --no: #BE123C;
  background: linear-gradient(180deg, #FBFDFF, #EEF2FF) fixed;
  background-color: #EEF2FF;
}
@media (prefers-color-scheme: dark) {
  .theme-superloop {
    --bg: #121836;
    --surface: #232C5C;
    --surface-2: rgba(43, 52, 110, .72);
    --frost: rgba(255, 255, 255, .09);
    --frost-strong: rgba(43, 52, 110, .8);
    --frost-line: rgba(255, 255, 255, .2);
    --ink: #F5F7FF;
    --muted: #B4BEE0;
    --line: rgba(255, 255, 255, .14);
    --red: #8CC2FF;
    --red-deep: #B4D7FF;
    --olive: #8CC2FF;
    --olive-tint: rgba(255, 255, 255, .08);
    --leaf: #7CBCF7;
    --stem: #B4BEE0;
    --glow-1: rgba(124, 196, 255, .22);
    --glow-2: rgba(185, 167, 255, .20);
    --glow-3: rgba(127, 227, 245, .16);
    --shadow: 0 8px 32px rgba(0, 0, 0, .35);
    --shadow-s: 0 6px 20px rgba(0, 0, 0, .28);
    --yes: #6EE7B7; --no: #FDA4AF;
    background: linear-gradient(180deg, #1D2552, #121836) fixed;
    background-color: #121836;
  }
}
.theme-superloop .glows span:nth-child(4) { background: rgba(255, 194, 226, .45); }
@media (prefers-color-scheme: dark) { .theme-superloop .glows span:nth-child(4) { background: rgba(255, 194, 226, .14); } }
.theme-superloop .top { background: rgba(246, 249, 255, .6); }
@media (prefers-color-scheme: dark) { .theme-superloop .top { background: rgba(18, 24, 54, .6); } }
.theme-superloop .lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.theme-superloop .btn-primary { background: linear-gradient(180deg, #6CB2F5, #5AA8F2); color: #012A64; box-shadow: 0 8px 20px rgba(90, 168, 242, .35); }
.theme-superloop .btn-primary:hover { color: #012A64; }
.theme-superloop .brand small { color: var(--muted); }
.theme-superloop .hero-app .tagline { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; font-size: .9rem; }
.theme-superloop .hero-app .mascot { background: transparent; border: 0; padding: 0; }
.theme-superloop .phone { border-color: #27306A; }
.theme-superloop .store { border-color: rgba(79, 90, 123, .4); }
body.theme-superloop::after { opacity: 0.03; }
.glass { border-radius: 28px; position: relative; }
.glass::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); pointer-events: none; }
.theme-superloop .features .glyph { background: var(--frost-strong); color: var(--olive); }

.bergie { width: min(240px, 60vw); animation: float 3s ease-in-out infinite; }
.yes { color: var(--yes); font-weight: 700; }
.no { color: var(--no); font-weight: 700; }

/* Superloop page pieces */
.mark-sl { width: 150px; height: auto; margin-bottom: 8px; }
.bergie-card { display: grid; gap: 20px; align-items: center; padding: 28px; margin-top: 8px; border-radius: 28px; }
.bergie-card + .bergie-card { margin-top: 16px; }
.bergie-card img { width: min(220px, 55vw); height: auto; margin: 0 auto; }
.bergie-card p { margin-bottom: 12px; }
.bergie-card p:last-child { margin-bottom: 0; }
.bubble { display: inline-block; padding: 10px 18px; border-radius: 22px 22px 22px 6px; background: var(--frost-strong); border: 1px solid var(--frost-line); font-weight: 700; }
@media (min-width: 760px) {
  .bergie-card { grid-template-columns: 220px 1fr; padding: 36px; }
  .bergie-card.second { grid-template-columns: 1fr 220px; }
  .bergie-card.second img { order: 2; }
}

/* Superloop: the swipe deck, a stylised loop of three cards (an illustration, not a screenshot). */
.deck { position: relative; width: min(100%, 300px); height: 300px; margin: 8px auto 0; }
.deck .card { position: absolute; inset: 0; border-radius: 28px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; background: var(--surface-2); border: 1px solid var(--frost-line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: 12s ease-in-out infinite; }
.deck .card .ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; background: rgba(255, 255, 255, .7); }
.deck .card strong { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.deck .card em { font-style: normal; color: var(--muted); font-size: .95rem; }
.deck .stamp { position: absolute; top: 22px; left: 22px; padding: 6px 12px; border: 3px solid var(--yes); color: var(--yes); border-radius: 8px; font-weight: 800; letter-spacing: .08em; transform: rotate(-14deg); opacity: 0; animation: 12s ease-in-out infinite; }
.deck .stamp.nope { left: auto; right: 22px; border-color: var(--no); color: var(--no); transform: rotate(14deg); }
.deck .c1 { animation-name: card1; z-index: 3; }
.deck .c2 { animation-name: card2; z-index: 2; transform: translateY(24px) scale(.92); opacity: .7; }
.deck .c3 { animation-name: card3; z-index: 1; transform: translateY(48px) scale(.84); opacity: .4; }
.deck .c1 .stamp.done { animation-name: stamp1; }
.deck .c3 .stamp.nope { animation-name: stamp3; }
@keyframes card1 {
  0%, 27% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; z-index: 3; }
  34% { transform: translate(170%, 10px) rotate(16deg) scale(1); opacity: 0; z-index: 3; }
  35% { transform: translateY(48px) scale(.84); opacity: 0; z-index: 1; }
  40%, 60% { transform: translateY(48px) scale(.84); opacity: .4; z-index: 1; }
  67%, 94% { transform: translateY(24px) scale(.92); opacity: .7; z-index: 2; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; z-index: 3; }
}
@keyframes card2 {
  0%, 27% { transform: translateY(24px) scale(.92); opacity: .7; z-index: 2; }
  34%, 60% { transform: translate(0, 0) scale(1); opacity: 1; z-index: 3; }
  67% { transform: translate(170%, 10px) rotate(16deg) scale(1); opacity: 0; z-index: 3; }
  68% { transform: translateY(48px) scale(.84); opacity: 0; z-index: 1; }
  73%, 94% { transform: translateY(48px) scale(.84); opacity: .4; z-index: 1; }
  100% { transform: translateY(24px) scale(.92); opacity: .7; z-index: 2; }
}
@keyframes card3 {
  0%, 27% { transform: translateY(48px) scale(.84); opacity: .4; z-index: 1; }
  34%, 60% { transform: translateY(24px) scale(.92); opacity: .7; z-index: 2; }
  67%, 94% { transform: translate(0, 0) scale(1); opacity: 1; z-index: 3; }
  100% { transform: translate(-170%, 10px) rotate(-16deg) scale(1); opacity: 0; z-index: 3; }
}
@keyframes stamp1 { 0%, 20% { opacity: 0; } 26%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes stamp3 { 0%, 88% { opacity: 0; } 93%, 99% { opacity: 1; } 100% { opacity: 0; } }
.deck-caption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 10px; }
/* the live deck (site.js): the visitor swipes the cards; the CSS loop above only runs without JavaScript */
.deck.live { touch-action: none; user-select: none; -webkit-user-select: none; }
.deck.live .card, .deck.live .stamp { animation: none; }
.deck.live .card { transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; cursor: grab; }
.deck.live .card.drag { transition: none; cursor: grabbing; }
.deck.live .card.pos-0 { transform: none; opacity: 1; z-index: 3; }
.deck.live .card.pos-1 { transform: translateY(24px) scale(.92); opacity: .7; z-index: 2; pointer-events: none; }
.deck.live .card.pos-2 { transform: translateY(48px) scale(.84); opacity: .4; z-index: 1; pointer-events: none; }
.deck.live .card.gone { opacity: 0; pointer-events: none; z-index: 4; }
.deck.live .card.gone.right { transform: translate(170%, 10px) rotate(16deg); }
.deck.live .card.gone.left { transform: translate(-170%, 10px) rotate(-16deg); }
.deck.live .card.off { display: none; }
.deck.live .stamp { opacity: 0; transition: opacity .15s ease; }
.deck .loop-closed { z-index: 5; }
.deck .loop-closed img { width: 120px; height: auto; }
.deck .loop-closed .again { margin-top: 6px; padding: 10px 20px; border-radius: 999px; border: 0; font: 700 .95rem var(--sans); background: #5AA8F2; color: #012A64; cursor: pointer; }
.deck-buttons { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.deck-buttons button { display: grid; place-items: center; border: 1px solid var(--frost-line); border-radius: 50%; cursor: pointer; background: var(--frost-strong); color: var(--no); box-shadow: var(--shadow-s); transition: transform .15s ease, opacity .2s ease; padding: 0; }
.deck-buttons button:active { transform: scale(.9); }
.deck-buttons button:disabled { opacity: .35; cursor: default; }
.deck-buttons svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.deck-buttons .no-btn { width: 56px; height: 56px; } .deck-buttons .no-btn svg { width: 24px; height: 24px; }
.deck-buttons .undo-btn { width: 40px; height: 40px; color: var(--muted); background: var(--frost); } .deck-buttons .undo-btn svg { width: 18px; height: 18px; }
.deck-buttons .yes-btn { width: 64px; height: 64px; color: #fff; background: linear-gradient(160deg, #6CB2F5, #1F5FD9, #0A5BD6); border: 0; box-shadow: 0 8px 24px rgba(31, 95, 217, .35); } .deck-buttons .yes-btn svg { width: 28px; height: 28px; }
.deck-buttons:not(.ready) { display: none; }


/* ---------- scroll reveal (site.js adds .reveal, then .in when the block enters the screen) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--i, 0) * 80ms), transform .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 80ms); }

/* ---------- 404 ---------- */
.notfound { padding: 48px 0 80px; }
.notfound > img { width: 96px; margin-bottom: 20px; }

/* ---------- motion: respect the system setting ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition: none !important; }
  .branch .stem { stroke-dashoffset: 0; animation: none; }
  .branch .leaf, .branch .pop { transform: none; animation: none; }
  .branch .sway, .ollie-float, .bergie, .glows span, .ollie-shadow, .notice, .deck .card, .deck .stamp { animation: none; }
  .deck .c1 .stamp.done { opacity: 1; }
  .tile:hover, .features > li:hover, .btn:hover, .subnav a:hover { transform: none; }
  .branch .olive-link:hover .hover { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
