/* Wayly landing page – Forest design tokens. */
:root {
  --forest: #1F6F5C; --forest-deep: #12463A; --lime: #C6F36B; --sky: #5AA9E6; --ink: #142420;
  --cream: #F7F3EA; --midnight: #0F1A2A;
  --bg: var(--cream); --surface: #FFFFFF; --text: var(--ink); --muted: #4F5E59; --line: rgba(20, 36, 32, .1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Nunito", "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--midnight); --surface: #172438; --text: #EEF2EC; --muted: #AEBCB7; --line: rgba(238, 242, 236, .1); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--rounded); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #F4F7F1;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(198, 243, 107, .18), transparent 60%),
              linear-gradient(160deg, #24806A 0%, var(--forest) 40%, var(--forest-deep) 100%);
  padding-bottom: 72px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; position: relative; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem var(--rounded); }
.logo img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.logo.small { font-size: 1.05rem; }
.logo.small img { border-radius: 7px; box-shadow: none; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.route path { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 0.1 26; opacity: .28;
  animation: travel 22s linear infinite; }
@keyframes travel { to { stroke-dashoffset: -520; } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 28px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--lime); padding: 6px 12px; border-radius: 99px; margin: 0 0 22px; }
.eyebrow.dark { background: var(--forest); color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.hero h1 span { color: var(--lime); }
.lead { font-size: 1.2rem; max-width: 32em; margin: 22px 0 32px; color: rgba(244, 247, 241, .86); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0B1210; color: #fff; padding: 10px 20px 10px 16px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; font: 600 1.15rem/1.1 var(--rounded); }
.store small { font: 500 .7rem var(--font); opacity: .75; }
.ghost { text-decoration: none; font-weight: 600; padding: 14px 20px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .35); }
.ghost:hover { background: rgba(255, 255, 255, .08); }
.phones { position: relative; height: 600px; }
.phone { position: absolute; margin: 0; width: 270px; border-radius: 46px; padding: 9px; background: #0B1210;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 38px; width: 100%; height: auto; }
.phone.back { left: 4%; top: 40px; transform: rotate(-7deg); opacity: .96; }
.phone.front { right: 4%; top: 0; transform: rotate(5deg); }

/* Features */
.features { padding-top: 96px; padding-bottom: 40px; }
.features h2, .privacy h2, .premium h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: 0 1px 2px rgba(20, 36, 32, .05), 0 12px 32px rgba(20, 36, 32, .07);
  transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 36, 32, .05), 0 20px 44px rgba(20, 36, 32, .12); }
.card.lime { background: var(--lime); color: var(--ink); }
.card.lime p { color: rgba(20, 36, 32, .8); }
.icon { font-size: 2rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: rgba(31, 111, 92, .1); margin-bottom: 18px; }
.card.lime .icon { background: rgba(20, 36, 32, .08); }
.icon svg { width: 28px; height: 28px; color: var(--forest, #1F6F5C); }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

/* Privacy */
.privacy { margin: 72px 0; background: var(--ink); color: #EEF2EC; }
.privacy-inner { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.privacy li { padding-left: 36px; position: relative; color: rgba(238, 242, 236, .82); }
.privacy li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 5px rgba(198, 243, 107, .18); }
.privacy strong { color: #fff; }

/* Premium */
.premium { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 96px; }
.premium-copy p { color: var(--muted); font-size: 1.1rem; }
.premium-copy .note { color: var(--forest); font-weight: 700; }
@media (prefers-color-scheme: dark) { .premium-copy .note { color: var(--lime); } }
.price-card { background: linear-gradient(160deg, #24806A, var(--forest-deep)); color: #fff; border-radius: 32px; padding: 34px;
  box-shadow: 0 30px 60px rgba(18, 70, 58, .3); }
.price { display: flex; align-items: baseline; gap: 8px; }
.amount { font: 800 2.8rem var(--rounded); letter-spacing: -0.03em; }
.price.alt .amount { font-size: 1.6rem; opacity: .85; }
.per { opacity: .75; }
.trial { display: inline-block; margin: 16px 0 20px; background: var(--lime); color: var(--ink); font-weight: 700; padding: 6px 14px; border-radius: 99px; font-size: .9rem; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 5px; border-left: 2.5px solid; border-bottom: 2.5px solid; transform: rotate(-45deg); color: var(--lime); font-weight: 800; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer .logo { color: var(--text); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer p { margin: 0; }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .phone.front { animation: float-front 1s cubic-bezier(.2, .8, .2, 1) .2s both; }
  .phone.back { animation: float-back 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
}
@media (prefers-reduced-motion: reduce) { .route path { animation: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float-front { from { opacity: 0; transform: translateY(40px) rotate(5deg); } }
@keyframes float-back { from { opacity: 0; transform: translateY(60px) rotate(-7deg); } }

/* Smaller screens */
@media (max-width: 900px) {
  .hero-inner, .privacy-inner, .premium { grid-template-columns: 1fr; }
  .phones { height: 470px; max-width: 420px; margin: 8px auto 0; width: 100%; }
  .phone { width: 210px; border-radius: 36px; padding: 7px; }
  .phone img { border-radius: 30px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .phones { height: 400px; }
  .phone { width: 180px; }
  .phone.back { left: 0; }
  .phone.front { right: 0; }
  .features { padding-top: 64px; }
}
