/* Frutiger Sports — site styles. Sky, glass and glossy buttons, like the app. No external fonts or scripts. */

:root {
  color-scheme: light;
  --sky-top: #2f8fe6;
  --sky-mid: #74c3f7;
  --sky-low: #d7f0ff;
  --grass: #7cc94a;
  --grass-deep: #4fa52f;
  --ink: #12304f;
  --ink-soft: #46627f;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --accent: #1e7fe0;
  --green-top: #6fdc5a;
  --green-bot: #2ea33a;
  --radius: 26px;
  --shadow: 0 18px 40px -18px rgba(10, 60, 120, 0.45);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 72%, #f2fbff 100%) fixed;
  background-color: var(--sky-low);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* Floating bubbles behind everything. */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles span {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0 9%, rgba(255,255,255,0.18) 22%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 6%;  width: 46px; height: 46px; animation-duration: 19s; }
.bubbles span:nth-child(2) { left: 22%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -6s; }
.bubbles span:nth-child(3) { left: 41%; width: 64px; height: 64px; animation-duration: 24s; animation-delay: -12s; }
.bubbles span:nth-child(4) { left: 63%; width: 30px; height: 30px; animation-duration: 17s; animation-delay: -3s; }
.bubbles span:nth-child(5) { left: 80%; width: 52px; height: 52px; animation-duration: 21s; animation-delay: -9s; }
.bubbles span:nth-child(6) { left: 92%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: -5s; }
@keyframes rise {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  to { transform: translateY(-115vh) translateX(30px); opacity: 0.2; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles span { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

main, header, footer { position: relative; z-index: 1; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 14px -6px rgba(0, 40, 90, 0.6); }
.brand span { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 2px 6px rgba(0, 50, 110, 0.35); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
}
.nav a:hover, .nav a:focus-visible { background: rgba(255, 255, 255, 0.3); }

/* Glass panel */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), var(--glass));
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Glossy buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 800; font-size: 1.05rem; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, var(--green-top), var(--green-bot));
  border: 1px solid rgba(20, 110, 30, 0.55);
  box-shadow: 0 10px 22px -10px rgba(20, 110, 30, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 60, 10, 0.4);
  position: relative; overflow: hidden;
}
.button::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 2px; height: 46%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.05));
}
.button:hover { filter: brightness(1.05); }
.button.blue {
  background: linear-gradient(180deg, #66b9ff, #1e7fe0);
  border-color: rgba(10, 70, 150, 0.55);
  box-shadow: 0 10px 22px -10px rgba(10, 70, 150, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: var(--ink); font-weight: 800; font-size: 0.9rem;
  border: 1px solid #fff;
}

/* Hero */
.hero { padding: 24px 0 120px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem); line-height: 1.02; margin: 0 0 16px; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 3px 0 rgba(10, 70, 150, 0.35), 0 10px 30px rgba(0, 50, 120, 0.35);
}
.hero h1 .green { color: #c8ffa9; }
.hero p.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: #fff; max-width: 34ch; margin: 0 0 26px; text-shadow: 0 1px 4px rgba(0, 50, 110, 0.35); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 150px; z-index: -1;
  background: radial-gradient(120% 100% at 50% 100%, var(--grass) 0 60%, transparent 61%),
              radial-gradient(120% 100% at 50% 100%, var(--grass-deep) 0 64%, transparent 65%);
}

/* Phones */
.phone {
  position: relative; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #2a3446, #121827);
  box-shadow: 0 30px 60px -24px rgba(0, 30, 80, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  width: min(300px, 100%); margin-inline: auto;
}
.phone img { border-radius: 33px; width: 100%; height: auto; }
.hero .phone { transform: rotate(3deg); }

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--ink-soft); margin: 0 auto 40px; max-width: 56ch; font-size: 1.08rem; }

.sport {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
  padding: 34px; margin-bottom: 30px;
}
.sport:nth-of-type(even) { grid-template-columns: 1fr 300px; }
.sport:nth-of-type(even) .phone { order: 2; }
.sport h3 { font-size: 1.9rem; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.sport .tag { color: var(--accent); font-weight: 800; margin: 0 0 14px; }
.sport ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.sport li { margin: 6px 0; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: inset 0 -2px 3px rgba(0,0,0,0.2), inset 0 2px 2px rgba(255,255,255,0.7); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 26px; }
.feature h3 { margin: 0 0 6px; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px;
  font-size: 1.6rem; color: #fff;
  background: linear-gradient(180deg, #66b9ff, #1e7fe0);
  box-shadow: 0 8px 16px -8px rgba(10, 70, 150, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact { text-align: center; padding: 44px 28px; }
.contact h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.contact p { color: var(--ink-soft); margin: 0 auto 24px; max-width: 48ch; }
.contact .email { display: block; margin-top: 16px; font-weight: 800; color: var(--ink); word-break: break-all; }

/* Document pages (privacy, support) */
.doc { padding: 40px clamp(20px, 5vw, 56px); margin: 10px auto 70px; max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 4px; letter-spacing: -0.01em; }
.doc .updated { color: var(--ink-soft); margin: 0 0 28px; }
.doc h2 { font-size: 1.35rem; margin: 34px 0 8px; }
.doc p, .doc li { color: #23405d; }
.doc ul { padding-left: 1.25em; }
.doc li { margin: 6px 0; }
.summary { background: rgba(124, 201, 74, 0.16); border: 1px solid rgba(79, 165, 47, 0.35); border-radius: 18px; padding: 16px 20px; }
.summary p { margin: 0; color: #24451a; font-weight: 600; }
.faq details { border-top: 1px solid rgba(18, 48, 79, 0.12); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid rgba(18, 48, 79, 0.12); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.faq details p { margin: 10px 0 0; }

/* Footer */
.site-footer { padding: 34px 0 44px; color: var(--ink-soft); font-size: 0.95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid #ffd54a; outline-offset: 3px; }

/* Phones and small tablets */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero .phone { transform: none; width: min(260px, 80%); }
  .sport, .sport:nth-of-type(even) { grid-template-columns: 1fr; padding: 24px 18px; gap: 26px; }
  .sport:nth-of-type(even) .phone { order: 0; }
  .sport .phone { width: min(240px, 78%); }
  .features { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .nav a { padding: 7px 11px; font-size: 0.88rem; }
  .brand span { font-size: 1.15rem; }
}
