/* Easy Gym Log — one stylesheet, system fonts (no web fonts: nothing blocks the first paint). */

:root {
  --col: 1120px;
  --bg: #f4f5f3;
  --card: #ffffff;
  --ink: #0e1311;
  --muted: #5d6863;
  --line: #e3e6e3;
  --green: #16a34a;
  --green-2: #22c55e;
  --green-soft: #e3f5e9;
  --dark: #0d1216;
  --dark-2: #151c21;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::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: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip {
  position: absolute; left: -999px; top: 8px; padding: 8px 14px;
  background: var(--card); color: var(--ink); border-radius: 10px; z-index: 10;
}
.skip:focus { left: 8px; }

.fa { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }

/* Header: sits on the dark hero on the home page, on the light background elsewhere. */
.site-header { position: relative; z-index: 2; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.logo img { border-radius: 10px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.home .site-header { background: var(--dark); }
.home .logo { color: #fff; }
.home .nav a { color: #a9b5b0; }
.home .nav a:hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(34, 197, 94, 0.22), transparent 70%),
    var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.eyebrow { margin: 0 0 14px; color: var(--green-2); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero h1 span { color: var(--green-2); display: block; }
.lead { margin: 22px 0 0; font-size: 19px; color: #c3cdc8; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px;
  border: 1px solid #39433f; border-radius: 14px; color: #dfe6e2; background: rgba(255, 255, 255, 0.04);
}
.store-badge svg { width: 24px; height: 28px; }
.store-badge span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.1; }
.store-badge small { font-size: 11px; font-weight: 500; color: #98a39e; }
.cta-note { margin: 0; color: #8e9a95; font-size: 15px; }

/* Device frames (CSS only) */
.hero-devices { position: relative; display: flex; justify-content: center; min-height: 520px; }
.phone {
  width: min(300px, 70vw); padding: 9px; margin: 0;
  background: #050708; border-radius: 52px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px #2a3136;
}
.phone img { border-radius: 44px; }
.watch {
  width: 190px; padding: 14px; background: #262b2f; border-radius: 54px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #3a4045;
}
.watch img { border-radius: 40px; }
.hero-devices .watch { position: absolute; left: max(0px, 50% - 270px); bottom: 10px; }

/* Sections */
section { scroll-margin-top: 16px; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 12px auto 0; max-width: 38em; }

.steps { padding: 88px 0 24px; }
.step-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-list li { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step-icon, .feature-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--green-soft); color: var(--green); font-size: 22px; margin-bottom: 16px;
}
.step-icon .fa, .feature-icon .fa { width: 26px; height: 26px; }
.step-list h3, .feature h3 { font-size: 20px; }
.step-list p, .feature p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

.features { padding: 72px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }

.watch-band { background: var(--dark); color: #fff; padding: 88px 0; }
.watch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.watch-shots { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.watch-shots .watch:last-child { margin-top: 64px; }
.watch-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.watch-copy p { color: #c3cdc8; margin: 16px 0 0; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.plan .check-list .fa { color: var(--green); margin-right: 6px; width: 18px; height: 18px; }

.screens { padding: 88px 0 40px; }
.screen-row { display: flex; justify-content: center; gap: 28px; margin-top: 44px; }
.phone.small { width: 250px; border-radius: 44px; padding: 8px; box-shadow: 0 24px 50px rgba(14, 19, 17, 0.18), 0 0 0 1px #d5dad7; }
.phone.small img { border-radius: 37px; }
.shot { margin: 0; }
.shot figcaption { color: var(--muted); text-align: center; font-size: 15px; margin-top: 16px; }

.not-coach { padding: 72px 0; }
.not-coach h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-align: center; }
.x-list { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.x-list li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.x-list .fa { color: #c2410c; flex: none; width: 20px; height: 20px; }

.pricing { padding: 72px 0; }
.plan-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; margin: 40px auto 0; max-width: 900px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.plan h3 { font-size: 22px; }
.price { font-size: 30px; font-weight: 800; margin: 10px 0 0; letter-spacing: -0.02em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price .or { font-size: 16px; color: var(--muted); font-weight: 500; margin: 0 6px; }
.plan-pro { border: 2px solid var(--green-2); box-shadow: 0 20px 40px rgba(22, 163, 74, 0.12); }
.plan-pro .check-list li { padding-left: 0; }
.plan-pro .check-list li::before { display: none; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

.faq { padding: 72px 0 96px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; }
.faq details:first-of-type { margin-top: 36px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; position: relative; padding-right: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Text pages: privacy, terms, impressum, 404 */
.doc { max-width: 760px; padding: 40px 0 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.doc .meta { color: var(--muted); margin: 12px 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #2b332f; }
.doc table { border-collapse: collapse; width: 100%; margin-top: 16px; }
.doc th, .doc td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { width: 40%; color: var(--muted); font-weight: 500; padding-right: 16px; }

/* Footer */
.site-footer { background: var(--dark); color: #8e9a95; padding: 40px 0; font-size: 15px; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #c3cdc8; }
.footer-brand img { border-radius: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #c3cdc8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-note { grid-column: 1 / -1; margin: 0; font-size: 13px; }

/* Phone */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid, .watch-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 24px 0 56px; gap: 40px; }
  .hero-devices { min-height: 0; padding-left: 70px; }
  .hero-devices .phone { width: 240px; }
  .hero-devices .watch { width: 140px; padding: 10px; border-radius: 40px; left: 0; bottom: -10px; }
  .hero-devices .watch img { border-radius: 30px; }
  .step-list, .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .x-list { grid-template-columns: 1fr 1fr; }
  .screen-row { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 0 4px 8px; margin-inline: -16px; padding-inline: 16px; }
  .shot { scroll-snap-align: center; flex: none; }
  .phone.small { width: 220px; }
  .watch-shots .watch { width: 150px; padding: 11px; border-radius: 44px; }
  .watch-shots .watch img { border-radius: 33px; }
  .footer-row { grid-template-columns: 1fr; }
  .steps, .watch-band, .screens { padding-top: 64px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .x-list { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
}
