/* RunBrella website. Brand: coral #E5583A, teal #0F6E6A, cream #FFF3EE. No external fonts, no cookies. */
:root {
  --coral: #E5583A;
  --coral-soft: #FFDBD1;
  --teal: #0F6E6A;
  --teal-soft: #CDEDEA;
  --cream: #FFF3EE;
  --bg: #FBF8F6;
  --surface: #F4EFEC;
  --surface-2: #EDE6E2;
  --text: #1D1B1A;
  --muted: #5E5753;
  --line: #E2DAD5;
  --on-coral: #FFFFFF;
  --shadow: 0 20px 50px -24px rgba(60, 30, 20, .35);
  --radius: 24px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --coral: #FF8E73;
    --coral-soft: #5C2416;
    --teal: #7FD6CF;
    --teal-soft: #1C4F4B;
    --bg: #121110;
    --surface: #1C1A19;
    --surface-2: #26231F;
    --text: #EDE6E2;
    --muted: #C7BEB9;
    --line: #34302D;
    --on-coral: #2A0D06;
    --shadow: 0 20px 50px -24px rgba(0, 0, 0, .8);
    --frame: #3A3532;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--coral); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.3px; }
.logo svg { width: 36px; height: 36px; border-radius: 10px; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a, details.menu nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
nav.main a:hover, nav.main a[aria-current] { color: var(--text); background: var(--surface); }
.lang { font-weight: 650; font-size: 14px; color: var(--text); text-decoration: none; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 12px; color: var(--text); }
details.menu summary::-webkit-details-marker { display: none; }
details.menu summary svg { width: 24px; height: 24px; }
details.menu nav { position: absolute; right: 0; top: 48px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 8px; min-width: 220px; display: grid; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  nav.main { display: none; }
  details.menu { display: block; }
  .lang { margin-left: auto; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--coral); color: var(--on-coral); border-color: transparent; }
.btn.soon { cursor: default; opacity: .92; }
.btn.soon:hover { transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 72px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.8px; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.2px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--coral); }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
.trust .icon svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Hero art: the brand mark opening above a drawn phone */
.art { position: relative; display: flex; justify-content: center; }
.art::before { content: ""; position: absolute; inset: 8% 4% 4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--coral) 28%, transparent), transparent); filter: blur(10px); }
.phone { position: relative; width: min(330px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--frame, #161413); padding: 12px; box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.screen { height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.ptop { display: flex; align-items: center; gap: 8px; }
.ptop b { font-size: 22px; letter-spacing: -.4px; }
.pplus { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; }
.pgap { flex: 1; }
.ptop .icon svg { width: 20px; height: 20px; color: var(--muted); }
.pchips { display: flex; gap: 6px; }
.pchip { border: 1px solid var(--line); padding: 4px 10px; border-radius: 10px; font-weight: 600; font-size: 12px; }
.pchip.on { background: var(--teal); color: #fff; border-color: transparent; }
.psect { color: var(--muted); font-weight: 650; font-size: 12px; margin-top: 4px; }
.pcard { display: flex; gap: 12px; background: var(--surface); border-radius: 20px; padding: 12px; }
.pdate { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pdate .mon, .pdate .day { background: var(--coral-soft); color: var(--text); width: 46px; text-align: center; }
.pdate .mon { border-radius: 12px 12px 0 0; font-size: 10px; font-weight: 700; padding-top: 6px; }
.pdate .day { border-radius: 0 0 12px 12px; font-size: 20px; font-weight: 700; margin-top: -6px; padding-bottom: 4px; }
.pdate .sky { width: 46px; height: 46px; border-radius: 12px; }
.pbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pbody b { font-size: 14px; }
.ptag { align-self: flex-start; font-size: 10px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 2px 8px; border-radius: 999px; }
.pline { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar { height: 5px; border-radius: 3px; background: var(--surface-2); margin-top: 4px; }
.pbar i { display: block; height: 100%; border-radius: 3px; background: var(--coral); }
.pgoing { font-size: 10.5px; color: var(--muted); align-self: flex-end; }

/* Skies */
.sky { display: inline-grid; place-items: center; border-radius: 14px; }
.sky svg { width: 64%; height: 64%; }
.sky-morning { background: linear-gradient(#FFEDE4, #FFCDB8); }
.sky-midday { background: linear-gradient(#FFF6E3, #FFE2B3); }
.sky-afternoon { background: linear-gradient(#E6F5F3, #C4E6E1); }
.sky-evening { background: linear-gradient(#1C4F4B, #0F2F2D); }
@media (prefers-color-scheme: dark) {
  .sky-morning { background: linear-gradient(#5E2A1E, #8A3E26); }
  .sky-midday { background: linear-gradient(#5C4416, #7A5A1C); }
  .sky-afternoon { background: linear-gradient(#1C4F4B, #266560); }
  .sky-evening { background: linear-gradient(#0E2A2E, #07171B); }
}

/* Icons: a sane default size everywhere; cards and panels size them up */
.icon { display: inline-grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.panel > .icon { width: 56px; height: 56px; border-radius: 18px; background: var(--bg); color: var(--teal); }
.panel > .icon svg { width: 30px; height: 30px; }

/* Cards and grids */
.grid { display: grid; gap: 16px; margin-top: 36px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--coral-soft); color: var(--coral); margin-bottom: 16px; }
.card .icon svg { width: 26px; height: 26px; }
.card.teal .icon { background: var(--teal-soft); color: var(--teal); }
.step { position: relative; }
.step .num { position: absolute; top: 24px; right: 28px; font-size: 44px; font-weight: 800; color: var(--surface-2); line-height: 1; }

/* Day-time band */
.skies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.skies figure { margin: 0; text-align: center; }
.skies .sky { width: 100%; aspect-ratio: 1; border-radius: 28px; }
.skies figcaption { margin-top: 10px; font-weight: 650; }
.skies small { display: block; color: var(--muted); font-weight: 400; }
@media (max-width: 600px) { .skies { grid-template-columns: repeat(2, 1fr); } }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%230F6E6A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Our own photo: one calm full-width band, caption below, nothing layered on top */
.band { padding: 24px 0; }
.photo-band { margin: 0 auto; }
.photo-band img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.photo-band figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }
@media (max-width: 600px) { .photo-band img { aspect-ratio: 4 / 3; } }

/* Price / companion panel */
.panel { background: var(--teal-soft); border-radius: 32px; padding: 40px; }
.panel .price { font-size: 48px; font-weight: 800; letter-spacing: -1px; color: var(--teal); }
.note { font-size: 14px; color: var(--muted); }

/* Final call to action */
.cta { background: var(--coral); color: var(--on-coral); border-radius: 36px; padding: 56px 32px; text-align: center; }
.cta h2 { color: inherit; }
.cta p { margin: 0 auto; max-width: 560px; opacity: .92; }
.cta .btn.primary { background: var(--on-coral); color: var(--coral); }
.cta .logo-mark svg { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 20px; }

/* FAQ */
.faq details { background: var(--surface); border-radius: 20px; padding: 20px 24px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Page header for sub pages */
.pagehead { padding: 64px 0 8px; }

/* Legal documents */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: 40px; letter-spacing: -1px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -.3px; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc .muted, .doc .updated { color: var(--muted); font-size: 15px; }
.doc .card { padding: 18px 22px; margin: 18px 0; }

/* 404 */
.notfound { text-align: center; padding: 96px 20px; }
.notfound svg { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 26px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 48px 0 24px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer.site nav { display: grid; gap: 8px; align-content: start; }
footer.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
footer.site nav a:hover { color: var(--text); }
footer.site .fbrand p { color: var(--muted); margin: 12px 0 0; }
footer.site .copy { display: block; color: var(--muted); font-size: 14px; margin-top: 32px; }
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}
