/* simplestoreapps.com. The same look as simplereels.io (Robert, 18 Oct 2026: "copy all settings and css from
   Reels, buttons and tiles"): its colours, Outfit, buttons, tiles, labels, ticks, questions, header and footer,
   taken from Reel Engine/app/(site)/[locale]/site.css. Outfit is stored on this site (no calls to Google). */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Simple Reels' colours */
:root {
  --bg: #ffffff; --bg2: #f5f6ff; --text: #1e1b4b; --muted: #475569; --line: #e2e8f0;
  --brand: #4f46e5; --brand2: #6366f1; --soft: #eef2ff; --card: #ffffff; --deep: #1e1b4b;
  /* the demos take the "heading font" from here, like they would from a shop theme */
  --font-heading-family: "Outfit", system-ui, sans-serif;
  color-scheme: light;
}
/* Dark: follows the device unless the visitor chose with the switch (same as simplereels.io) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b1120; --bg2: #0f1730; --text: #f1f5f9; --muted: #b6c2d4; --line: #263247; --brand: #a5b4fc; --brand2: #818cf8; --soft: #1c1b45; --card: #131b2c; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0b1120; --bg2: #0f1730; --text: #f1f5f9; --muted: #b6c2d4; --line: #263247; --brand: #a5b4fc; --brand2: #818cf8; --soft: #1c1b45; --card: #131b2c; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Outfit", system-ui, sans-serif; font-size: 17px;
  background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
img, svg { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 20; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 14px 22px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: #4f46e5; color: #fff; box-shadow: 0 8px 24px rgba(79,70,229,.35); }
.btn-primary:hover { background: #4338ca; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--brand2); outline-offset: 2px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.3px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.site-header nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.site-header nav a.link { text-decoration: none; color: var(--muted); }
.site-header nav a.link:hover, .site-header nav a.link[aria-current="page"] { color: var(--text); }

/* Light / dark switch: the moon in light mode, the sun in dark mode */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, var(--soft), transparent 60%), var(--bg); padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .85rem; padding: 5px 11px; border-radius: 6px; margin-bottom: 18px; }
a.eyebrow:hover { border-color: var(--muted); color: var(--text); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.07; letter-spacing: -1.5px; margin: 0 0 18px; font-weight: 800; text-wrap: balance; }
h1 span { color: var(--brand); }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 30px; max-width: 34rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
p { margin: 0 0 1em; }

/* Sections */
section { padding: 84px 0; scroll-margin-top: 68px; }
.alt { background: var(--bg2); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -1px; margin: 0 0 12px; font-weight: 800; line-height: 1.15; text-wrap: balance; }
h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.3; }
.sub { color: var(--muted); font-size: 1.12rem; margin: 0 0 44px; max-width: 42rem; }

/* Tiles */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ic { width: 44px; height: 44px; border-radius: 8px; background: var(--soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.ic svg { width: 24px; height: 24px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.plan.best { border: 2px solid #4f46e5; box-shadow: 0 20px 50px rgba(79,70,229,.15); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--card); color: var(--text); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .btn, .plan .more { margin-top: auto; }
.trialbar { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); }
.trialbar b { color: var(--text); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: 0 20px 50px rgba(30,27,75,.08); }

/* Ticks (✓ lists) */
.ticks, .points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li, .points li { display: flex; gap: 10px; }
.ticks li::before, .points li::before { content: "✓"; color: #22c55e; font-weight: 800; }
.points { margin: 0 0 30px; }
.points li { color: var(--muted); }
.nos li::before { content: "✕"; color: #94a3b8; }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Questions */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 46rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.3px; margin-top: 2em; }
.legal li { margin-bottom: .4em; }
.legal a, .narrow a, .lead a { color: var(--brand); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .95rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; font-size: .85rem; }
.foot-legal p { margin: 0 0 4px; }

/* The pretend shop (live demo). It stays light in dark mode, like a picture of a real shop. */
.demo, .demo-panel {
  --text: #0b1120; --muted: #475569; --card: #ffffff; --line: #e7e3d8;
  color: var(--text); color-scheme: light; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  box-shadow: 0 30px 60px rgba(30,27,75,.18); overflow: hidden;
}
.demo-panel { padding: 24px; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.demo-top small { font-family: "Outfit", system-ui, sans-serif; color: var(--muted); font-size: .85rem; }
.demo-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; padding: 22px; }
.demo [data-slot="delivery"] { padding: 0 12px; }
/* a simple drawn loaf: crust, a lighter top and a few seeds */
.demo-pic { aspect-ratio: 4 / 5; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(160deg, #f3ede1, #e7dfcd); }
.demo-pic::before { content: ""; position: absolute; left: 14%; right: 14%; top: 34%; bottom: 22%;
  border-radius: 46% 46% 14% 14% / 52% 52% 14% 14%; background: linear-gradient(180deg, #c8955a, #a8733f); box-shadow: 0 10px 18px rgba(80,50,20,.18); }
.demo-pic::after { content: ""; position: absolute; left: 22%; right: 22%; top: 38%; height: 16%; border-radius: 50%;
  background: radial-gradient(circle, #f4e3c4 0 2px, transparent 2.5px) 0 0 / 14px 10px, radial-gradient(circle, #5b3d22 0 1.6px, transparent 2px) 7px 5px / 14px 10px; opacity: .9; }
.demo-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; margin: 0 0 4px; }
.demo-price { margin: 0 0 14px; color: var(--muted); }
.demo-add { width: 100%; }
.demo-total { margin: 10px 0 0; font-size: .9rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.demo-total button { all: unset; cursor: pointer; color: #4f46e5; text-decoration: underline; text-underline-offset: 3px; }
.demo-total button[hidden] { display: none; }
.demo-panel input[type="range"] { width: 100%; accent-color: #4f46e5; margin-top: 14px; }
.demo-note { margin: 14px 4px 0; font-size: .88rem; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .features, .plans { grid-template-columns: 1fr 1fr; }
  .site-header nav a.link.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .features, .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .site-header nav { gap: 14px; }
}
/* phones: a wider, shorter product picture so Add to basket stays in view */
@media (max-width: 520px) { .demo-body { grid-template-columns: 1fr; } .demo-pic { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .btn, .btn-primary:hover { transition: none; transform: none; } html { scroll-behavior: auto; } }
