/* ═══════════════════════════════════════════════════════════════
   Vire Landing Page — Premium CSS
   Mobile-first, käytännössä testattu
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #4ade80;
  --green-bright: #86efac;
  --green-dim:    #16a34a;
  --bg:           #030a05;
  --bg1:          #060e08;
  --bg2:          #0a1a0d;
  --bg3:          #0d2010;
  --card:         #0c1a0f;
  --card-hover:   #112215;
  --border:       rgba(74,222,128,.1);
  --border-hover: rgba(74,222,128,.25);
  --text:         #f0fdf4;
  --muted:        #6b7280;
  --muted-lt:     #9ca3af;
  --radius:       18px;
  --radius-lg:    28px;
  /* Safe area insets — Dynamic Island, Face ID, home indicator */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}

html {
  scroll-behavior: smooth;
  /* Estä yliveto-efekti iOS:lla */
  overscroll-behavior-y: none;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Poista sininen flash napautuessa (iOS) */
  -webkit-tap-highlight-color: transparent;
  /* Tekstin koko ei skaalaudu automaattisesti iOS:lla kun landscape */
  -webkit-text-size-adjust: 100%;
}

/* ── Saavutettavuus: focus-näkyvyys ── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reveal-animaatiot ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,.68,0,1.2),
              transform .6s cubic-bezier(.22,.68,0,1.2);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Kunnioita käyttäjän liike-asetuksia */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════ NAV ════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  /* Safe area: Dynamic Island -tuki */
  padding: calc(18px + var(--safe-top)) 32px 18px;
  display: flex; align-items: center; gap: 32px;
  transition: padding .3s, background .3s, border-color .3s;
}
nav.scrolled {
  padding: calc(12px + var(--safe-top)) 32px 12px;
  background: rgba(3,10,5,.9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.3rem; font-weight: 800; color: var(--green);
  letter-spacing: -.5px; text-decoration: none;
  margin-right: auto;
  /* Min touch target */
  min-height: 44px; align-items: center;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted-lt); font-size: .88rem; font-weight: 500;
  text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--green); color: #000;
  font-size: .85rem; font-weight: 700;
  padding: 12px 22px; border-radius: 50px;
  text-decoration: none;
  transition: box-shadow .25s, transform .2s;
  min-height: 44px; /* Touch target */
}

/* Hover-efektit VAIN oikella hover-tuella (ei kosketusnäytöt) */
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
  .nav-cta:hover {
    box-shadow: 0 0 24px rgba(74,222,128,.4);
    transform: translateY(-1px);
  }
}

/* ════════════════════════════════ HERO ════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(110px + var(--safe-top)) 20px 60px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; pointer-events: none;
  width: 700px; height: 700px; border-radius: 50%;
  top: -250px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(74,222,128,.1) 0%, transparent 65%);
  will-change: transform;
}
.hero-glow-2 {
  width: 350px; height: 350px;
  top: auto; bottom: -80px; left: 15%;
  background: radial-gradient(circle, rgba(74,222,128,.06) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(74,222,128,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 780px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.2);
  color: var(--green); font-size: .78rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px; margin-bottom: 32px;
  letter-spacing: .3px;
}
.badge-dot {
  width: 7px; height: 7px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.grad-text {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 50%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(.98rem, 2.4vw, 1.25rem);
  color: var(--muted-lt); max-width: 500px;
  margin: 0 auto 36px; font-weight: 400; line-height: 1.72;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 44px;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #000;
  font-size: 1rem; font-weight: 700;
  padding: 16px 32px; border-radius: 50px;
  text-decoration: none;
  transition: box-shadow .25s, transform .2s;
  box-shadow: 0 0 40px rgba(74,222,128,.2), 0 4px 16px rgba(74,222,128,.15);
  position: relative; overflow: hidden;
  min-height: 52px; /* Touch target */
  -webkit-user-select: none; user-select: none;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 55%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 0 60px rgba(74,222,128,.4), 0 8px 24px rgba(74,222,128,.25);
    transform: translateY(-2px);
  }
  .btn-primary:hover .btn-arrow { transform: translateX(4px); }
}
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-xl { font-size: 1.05rem; padding: 18px 36px; }

.btn-arrow { margin-left: 2px; transition: transform .2s; display: inline-block; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--muted-lt); font-size: .95rem; font-weight: 600;
  padding: 16px 28px; border-radius: 50px; text-decoration: none;
  min-height: 52px; -webkit-user-select: none; user-select: none;
  transition: background .2s, border-color .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: rgba(255,255,255,.09); color: var(--text); border-color: rgba(255,255,255,.2); }
}
.btn-ghost:active { transform: scale(.97); }

.hero-trust {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: .8rem; font-weight: 500;
}
.trust-divider { color: rgba(74,222,128,.2); }

/* ═══════════════════════════════ SCREENSHOTS ═══════════════════════════════ */
.screenshots {
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg), var(--bg2));
  /* Mahdollista GPU-kiihdytys */
  transform: translateZ(0);
}
.section-head {
  text-align: center; padding: 0 20px; margin-bottom: 48px;
}
.eyebrow {
  color: var(--green); font-size: .76rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.08;
}
.section-sub {
  color: var(--muted-lt); font-size: 1rem; line-height: 1.7;
  max-width: 440px; margin: 0 auto;
}

/* Puhelin-track: scroll-snap mobiilissa */
.phones-track {
  width: 100%; overflow-x: auto; padding: 16px 20px 36px;
  /* Smooth momentum scroll iOS:lla */
  -webkit-overflow-scrolling: touch;
  /* Scroll-snap: jokainen puhelin napsahtaa kohdilleen */
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(74,222,128,.2) transparent;
}
.phones-track::-webkit-scrollbar { height: 3px; }
.phones-track::-webkit-scrollbar-track { background: transparent; }
.phones-track::-webkit-scrollbar-thumb { background: rgba(74,222,128,.2); border-radius: 2px; }

.phones-row {
  display: flex; gap: 20px;
  justify-content: safe center; align-items: flex-end;
  min-width: max-content; padding: 16px 20px;
}

.phone-item {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  /* Snap-kohta */
  scroll-snap-align: center;
}
.phone-featured { transform: scale(1.1); transform-origin: bottom center; }
.phone-featured .iphone-frame {
  box-shadow: 0 0 0 1px rgba(74,222,128,.3),
              0 30px 80px rgba(0,0,0,.7),
              0 0 60px rgba(74,222,128,.1);
}
.phone-label { display: flex; align-items: center; gap: 8px; }
.phone-num { font-size: .68rem; font-weight: 700; color: var(--green); opacity: .6; }
.phone-name { font-size: .78rem; font-weight: 600; color: var(--muted-lt); }

/* ── iPhone-kehys ── */
.iphone-frame {
  width: 175px; height: 354px;
  background: #0a1409;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 42px;
  position: relative; overflow: visible;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  /* Estä layout-thrashing animaatioissa */
  will-change: transform;
}
.iphone-frame.iphone-sm {
  width: 218px; height: 442px; border-radius: 48px;
}
/* Dynamic Island */
.iphone-di {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 27px;
  background: #000; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.07);
  z-index: 10;
}
.iphone-di::after {
  content: '';
  position: absolute; top: 50%; right: 18px; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: #0d1b10; border: 1px solid rgba(255,255,255,.06);
}
.iphone-screen {
  position: absolute; inset: 6px; border-radius: 37px; overflow: hidden;
  background: var(--bg3);
}
.iphone-frame.iphone-sm .iphone-screen { border-radius: 43px; }
.iphone-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Parempi renderöinti pienillä resoluutioilla */
  image-rendering: -webkit-optimize-contrast;
}
/* Sivupainikkeet */
.iphone-btn { position: absolute; background: rgba(255,255,255,.12); border-radius: 2px; }
.iphone-vol-up { width: 3px; height: 28px; left: -3px; top: 90px; border-radius: 2px 0 0 2px; }
.iphone-vol-dn { width: 3px; height: 28px; left: -3px; top: 126px; border-radius: 2px 0 0 2px; }
.iphone-power  { width: 3px; height: 42px; right: -3px; top: 100px; border-radius: 0 2px 2px 0; }

/* ═══════════════════════════════ FEATURES ═══════════════════════════════ */
.features {
  padding: 60px 20px; max-width: 1160px; margin: 0 auto;
  /* Mahdollista selaimen voi skipata renderöintiä kunnes näkyvissä */
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row-rev .feature-text { order: 2; }
.feature-row-rev .feature-visual { order: 1; }
.feature-icon-wrap {
  font-size: 2rem; width: 58px; height: 58px;
  background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.15);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-text h3 {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -.7px;
  margin-bottom: 14px; line-height: 1.2;
}
.feature-text p {
  color: var(--muted-lt); font-size: .98rem; line-height: 1.75;
  margin-bottom: 22px; max-width: 420px;
}
.feature-bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feature-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--muted-lt); line-height: 1.5;
}
.feature-bullets li::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.feature-visual {
  display: flex; align-items: center; justify-content: center; position: relative;
}
.feature-phone { position: relative; display: inline-flex; }
.feature-phone-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at center, rgba(74,222,128,.12) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}

/* ═══════════════════════════════ WATCH ═══════════════════════════════ */
.watch-section {
  background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 24px;
  content-visibility: auto; contain-intrinsic-size: 0 500px;
}
.watch-content {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center;
}
.watch-text h2 { margin-bottom: 18px; }
.watch-text > p { color: var(--muted-lt); font-size: 1rem; margin-bottom: 28px; max-width: 440px; }
.watch-bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.watch-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .92rem; color: var(--muted-lt); line-height: 1.5;
}
.wb-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.watch-visual { position: relative; }
.watch-frame {
  width: 155px; height: 180px; background: #080f09;
  border: 2px solid rgba(255,255,255,.12); border-radius: 40px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(74,222,128,.12), 0 20px 50px rgba(0,0,0,.6);
  position: relative;
}
.watch-frame::before {
  content: ''; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 9px; background: rgba(255,255,255,.08); border-radius: 5px;
}
.watch-screen { text-align: center; display: flex; flex-direction: column; gap: 7px; }
.watch-time { font-size: 1.7rem; font-weight: 800; letter-spacing: -1px; color: var(--text); }
.watch-bpm  { font-size: .7rem; font-weight: 600; color: #f87171; }
.watch-set  { font-size: .66rem; font-weight: 600; color: var(--green); letter-spacing: .5px; }
.watch-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(74,222,128,.1) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
}

/* ═══════════════════════════════ STATS ═══════════════════════════════ */
.stats { padding: 64px 20px; background: var(--bg); }
.stats-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--card); padding: 36px 24px; text-align: center;
  transition: background .2s;
}
@media (hover: hover) and (pointer: fine) {
  .stat-item:hover { background: var(--card-hover); }
}
.stat-num {
  font-size: 2.2rem; font-weight: 900; color: var(--green);
  letter-spacing: -1px; margin-bottom: 7px; line-height: 1.1;
}
.stat-label { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* ════════════════════════════════ CTA ════════════════════════════════ */
.cta-section {
  padding: 100px 20px; text-align: center;
  position: relative; overflow: hidden; background: var(--bg1);
  /* Safe area: home-indikaattorin yläpuolelle */
  padding-bottom: calc(100px + var(--safe-bottom));
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 650px; height: 450px;
  background: radial-gradient(ellipse, rgba(74,222,128,.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 18px; }
.cta-sub {
  color: var(--muted-lt); font-size: 1.02rem; line-height: 1.72;
  max-width: 440px; margin: 0 auto 40px;
}
.cta-note { margin-top: 20px; font-size: .8rem; color: var(--muted); }
.cta-note a { color: var(--green); text-decoration: none; }

/* ═══════════════════════════════ FOOTER ════════════════════════════════ */
footer {
  border-top: 1px solid var(--border); padding: 44px 24px;
  /* Safe area: home-indikaattori */
  padding-bottom: calc(44px + var(--safe-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: var(--bg);
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 800; color: var(--green);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: .85rem;
  min-height: 44px; display: inline-flex; align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--text); }
}
.footer-copy { color: var(--muted); font-size: .78rem; text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile first
   ═══════════════════════════════════════════════════════════════ */

/* Tablet ja pienemmät pöytäkoneet (≤900px) */
@media (max-width: 900px) {
  nav { padding: calc(14px + var(--safe-top)) 20px 14px; }
  nav.scrolled { padding: calc(10px + var(--safe-top)) 20px 10px; }
  .nav-links { display: none; }

  .hero { padding: calc(100px + var(--safe-top)) 20px 60px; }

  .feature-row {
    grid-template-columns: 1fr; gap: 40px; padding: 56px 0;
  }
  .feature-row-rev .feature-text { order: 0; }
  .feature-row-rev .feature-visual { order: 1; }
  .feature-text p { max-width: 100%; }

  .watch-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .watch-text > p { max-width: 100%; }
  .watch-visual { justify-self: center; }
  .watch-bullets { text-align: left; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Puhelin (≤600px) */
@media (max-width: 600px) {
  h1 { letter-spacing: -1.5px; }

  /* Herobadge: lyhyempi teksti ei rivitä */
  .hero-badge { font-size: .73rem; padding: 7px 14px; }

  /* Hero-napit: pino pystyyn, lähes koko leveys */
  .hero-actions {
    flex-direction: column; align-items: stretch; gap: 10px;
    width: 100%; max-width: 320px; margin-left: auto; margin-right: auto;
    margin-bottom: 36px;
  }
  .btn-primary, .btn-ghost {
    width: 100%; text-align: center; justify-content: center;
  }

  /* Puhelimet: pienempi kehys, isompi snap-alue */
  .phones-track { padding: 12px 16px 32px; }
  .phones-row { gap: 14px; padding: 12px 8px; }
  .iphone-frame { width: 148px; height: 300px; border-radius: 36px; }
  .iphone-frame.iphone-sm { width: 185px; height: 375px; border-radius: 42px; }
  .iphone-screen { border-radius: 31px; }
  .iphone-frame.iphone-sm .iphone-screen { border-radius: 37px; }
  .iphone-di { width: 72px; height: 22px; top: 8px; }
  .phone-featured { transform: scale(1.07); }

  /* Features: enemmän tilaa pystysuunnassa */
  .features { padding: 40px 16px; }
  .feature-row { padding: 44px 0; gap: 32px; }
  .feature-text h3 { font-size: 1.35rem; }

  /* Watch */
  .watch-section { padding: 60px 16px; }

  /* Stats */
  .stats { padding: 48px 16px; }

  /* CTA */
  .cta-section { padding: 80px 20px calc(80px + var(--safe-bottom)); }
  .cta-section .btn-primary {
    width: 100%; max-width: 340px;
    font-size: 1rem; padding: 17px 28px;
  }

  /* Footer */
  footer { padding: 36px 20px calc(36px + var(--safe-bottom)); gap: 16px; }
  .footer-links { gap: 20px; }
}

/* Pienet puhelimet (≤390px, iPhone SE jne.) */
@media (max-width: 390px) {
  h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); letter-spacing: -1px; }
  .hero-sub { font-size: .95rem; }

  .stats-inner { grid-template-columns: 1fr; }

  .hero-trust { flex-direction: column; gap: 8px; align-items: center; }
  .trust-divider { display: none; }

  .iphone-frame { width: 132px; height: 268px; border-radius: 32px; }
  .iphone-frame.iphone-sm { width: 165px; height: 334px; border-radius: 38px; }
  .iphone-screen { border-radius: 27px; }
  .iphone-frame.iphone-sm .iphone-screen { border-radius: 33px; }
  .phone-featured { transform: scale(1.05); }
}

/* Landscape-mobiili */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(80px + var(--safe-top)) 20px 40px;
  }
  h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
}

/* Korkea kontrasti */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(74,222,128,.3);
    --muted-lt: #d1d5db;
    --muted: #9ca3af;
  }
}

/* Tumma moodiin (jo tumma, mutta varmistetaan) */
@media (prefers-color-scheme: dark) {
  /* Tarvittaessa override tähän */
}
