/* GOE+ – goeplus.fi. One stylesheet for every page, no build step. */

@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #01061a;
  --navy: #051a4c;
  --royal: #0b2e78;
  --plus: #27b9f2;
  --beam: #2e8cff;
  --ice: #eaf7ff;
  --text: #ffffff;
  --muted: #b9c6e0;
  --line: rgba(234, 247, 255, 0.14);
  --card: rgba(11, 46, 120, 0.28);
  --bezel: #3b4a66;
  --radius: 18px;
  --wrap: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plus); text-underline-offset: 0.18em; }
a:hover { color: var(--ice); }
:focus-visible { outline: 3px solid var(--plus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Barlow", system-ui, sans-serif; line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--ice); color: var(--ink); padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: navigation on the right; sub-pages add the logo on the left. */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 68px; }
.site-header .home { margin-right: auto; display: inline-flex; padding: 6px 0; }
.site-header .home img { width: 96px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav a {
  color: var(--text); text-decoration: none;
  font: 600 1.05rem/1 "Barlow Condensed", "Barlow", sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 2px; display: inline-block;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--plus); }
.nav .lang a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }

/* Hero: dark blue glow and a streak of light as in the app's intro. */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -68px; padding: 120px 0 72px; text-align: center;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(46, 140, 255, 0.30), transparent 70%),
    radial-gradient(90% 70% at 50% 40%, var(--royal) 0%, var(--navy) 45%, var(--ink) 100%);
}
.hero::before { /* the streak */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: url("../img/streak.svg") center 58% / max(1400px, 120%) auto no-repeat;
  opacity: 0.9;
}
.hero::after { /* fade into the page */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(transparent, var(--ink));
}
.hero .wordmark { width: min(560px, 82vw); margin: 0 auto 28px; filter: drop-shadow(0 8px 30px rgba(1, 6, 26, 0.6)); }
.hero .lead { font: 500 clamp(1.2rem, 1rem + 1.1vw, 1.65rem)/1.35 "Barlow", sans-serif; max-width: 34em; margin: 0 auto 32px; }
.hero .lead strong { display: block; font-weight: 700; color: var(--ice); font-size: 1.2em; margin-bottom: 0.2em; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 14px; text-decoration: none; font: 600 1.05rem/1 "Barlow", sans-serif;
  background: var(--ice); color: var(--ink); border: 1px solid var(--ice);
}
.btn:hover { background: var(--plus); border-color: var(--plus); color: var(--ink); }
.btn .small { display: block; font-size: 0.72em; font-weight: 500; opacity: 0.8; margin-bottom: 3px; }
.btn span { text-align: left; }
.soon { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Phones */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 4vw, 48px); margin: 56px auto 0; padding: 0 var(--gutter); }
.phone {
  margin: 0; width: min(300px, 44vw); padding: 10px; border-radius: 42px;
  background: var(--bezel); border: 1px solid rgba(234, 247, 255, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(46, 140, 255, 0.18);
}
.phone img { border-radius: 32px; width: 100%; background: #fff; }
.phone.dark img { background: #000; }
.phone:nth-child(2) { margin-top: 56px; }
.phone figcaption { font: 600 0.95rem/1.2 "Barlow Condensed", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 12px 0 4px; }

/* Disciplines */
.disciplines { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(11, 46, 120, 0.15), rgba(11, 46, 120, 0.45), rgba(11, 46, 120, 0.15)); }
.disciplines ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.disciplines li { font: 700 clamp(1.1rem, 0.9rem + 1vw, 1.5rem)/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 clamp(12px, 2.5vw, 28px); }
.disciplines li + li { border-left: 2px solid var(--plus); }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
/* The heading may use the full width (one line on desktop); the paragraph keeps its measure. */
.section-intro { margin-bottom: 40px; }
.section-intro h2 { text-wrap: balance; }
.section-intro p { color: var(--muted); font-size: 1.125rem; max-width: 46rem; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: 0.8em; }
.card .tag { font: 700 0.9rem/1 "Barlow Condensed", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plus); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px rgba(255, 77, 94, 0.8); display: inline-block; }

/* Highlight: estimated start times */
.highlight { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 85% 50%, rgba(46, 140, 255, 0.22), transparent 70%), var(--navy); border-block: 1px solid var(--line); }
.highlight .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .highlight .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.highlight p { color: var(--muted); font-size: 1.125rem; max-width: 36rem; }
.schedule { list-style: none; margin: 0; padding: 8px 0; background: rgba(1, 6, 26, 0.55); border: 1px solid var(--line); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.schedule li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; }
.schedule li + li { border-top: 1px solid var(--line); }
.schedule .who { font-weight: 600; }
.schedule .when { color: var(--ice); font: 600 1.1rem/1.4 "Barlow", sans-serif; white-space: nowrap; }
.schedule .now .when { color: #ff8793; display: inline-flex; align-items: center; gap: 8px; }
.schedule .break { color: var(--muted); font-style: italic; }
.schedule .break .when { color: var(--muted); font-weight: 500; }
.schedule-note { font-size: 0.875rem !important; color: var(--muted); margin-top: 12px; }

/* Text pages */
.page { padding: 24px 0 72px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 700; margin: 24px 0 16px; }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page h3 { margin-top: 1.6em; font-size: 1.15rem; }
.page p, .page li { color: #dbe3f3; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: 0.5em; }
.page .lead { font-size: 1.15rem; color: var(--muted); }
.page .updated { margin: -8px 0 16px; font-size: 0.95rem; color: var(--muted); }
.page .note { margin-top: 2.5em; font-size: 0.95rem; color: var(--muted); }
.page address { font-style: normal; color: #dbe3f3; margin-bottom: 1em; }
.faq dt { font: 600 1.15rem/1.3 "Barlow", sans-serif; margin-top: 1.6em; }
.faq dd { margin: 0.5em 0 0; color: #dbe3f3; }
.contact-box { margin-top: 48px; padding: 24px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.contact-box p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer .logo { width: 104px; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--plus); }
.site-footer .permission { font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }

@media (max-width: 560px) {
  .phones { gap: 12px; }
  .phone { padding: 6px; border-radius: 26px; width: 46vw; }
  .phone img { border-radius: 21px; }
  .phone:nth-child(2) { margin-top: 32px; }
  .disciplines li { padding: 0 10px; }
  .card { padding: 22px; }
  .schedule li { padding: 12px 16px; }
}
@media (max-width: 400px) {
  .site-header .home img { width: 80px; }
  .nav a { font-size: 0.95rem; }
  .disciplines ul { flex-direction: column; align-items: center; }
  .disciplines li + li { border-left: 0; }
}
.h3-like { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
.h3-like .tag { margin-bottom: 14px; }
