/* SKIP LINK */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--navy); color: white; padding: 8px 16px; border-radius: 0 0 8px 8px; font-size: 0.875rem; text-decoration: none; z-index: 200; transition: top 0.2s; }
.skip-link:focus { top: 0; outline: none; }

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

:root {
  --mint: #3ecf8e;
  --mint-light: #d1f5e4;
  --mint-dark: #1a9e63;
  --navy: #0f1923;
  --navy-soft: #1c2d3a;
  --off: #f5f7f4;
  --text: #0f1923;
  --muted: #6b7c8a;
  --white: #ffffff;
  --border: rgba(15,25,35,0.08);
  --radius: 16px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem; display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-dot { width: 10px; height: 10px; background: var(--mint); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; color: var(--muted); text-decoration: none; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { background: var(--navy) !important; color: var(--white) !important; padding: 9px 22px; border-radius: 100px; font-weight: 500 !important; font-size: 0.875rem !important; transition: opacity 0.2s !important; }
.nav-cta:hover { opacity: 0.85 !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--navy); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BREADCRUMB (shared) */
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }

/* TABLE OF CONTENTS (shared) */
.toc { background: var(--off); border-radius: var(--radius); padding: 1.5rem 2rem; margin-bottom: 3rem; }
.toc h3 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.toc ol { padding-left: 1.2rem; }
.toc ol li { font-size: 0.88rem; color: var(--muted); line-height: 1.9; }
.toc ol li a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.toc ol li a:hover { color: var(--mint-dark); }

/* HIGHLIGHT BOX (shared) */
.highlight-box { background: var(--mint-light); border-left: 3px solid var(--mint-dark); border-radius: 0 10px 10px 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.highlight-box p { color: var(--mint-dark) !important; font-weight: 400 !important; margin: 0; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--mint-dark); color: white; text-decoration: none; font-family: var(--font-body); font-weight: 500; font-size: 1rem; padding: 15px 30px; border-radius: 100px; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,158,99,0.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--navy); text-decoration: none; font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; padding: 15px 26px; border-radius: 100px; border: 1px solid var(--border); transition: background 0.2s; cursor: pointer; }
.btn-secondary:hover { background: var(--off); }

/* SECTION BASICS */
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-dark); margin-bottom: 0.75rem; }
h2.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--muted); font-weight: 300; line-height: 1.75; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--navy); }
.footer-copy { font-size: 0.8rem; color: var(--muted); width: 100%; text-align: center; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* PHONE MOCKUP */
.phone-frame { width: 270px; background: var(--navy); border-radius: 40px; padding: 12px; box-shadow: 0 50px 100px rgba(15,25,35,0.28), 0 0 0 1px rgba(255,255,255,0.04); flex-shrink: 0; }
.phone-notch { width: 80px; height: 22px; background: var(--navy); border-radius: 0 0 14px 14px; margin: 0 auto 0; position: relative; z-index: 2; }
.phone-screen { background: #f8faf8; border-radius: 30px; overflow: hidden; }
.phone-screen img { width: 100%; display: block; }
.phone-screen-inner { padding: 22px 14px 18px; }
.phone-status { display: flex; justify-content: space-between; font-size: 0.6rem; color: #9aaba9; margin-bottom: 18px; font-weight: 500; }

/* SCREENSHOT PLACEHOLDER */
.screenshot-placeholder {
  background: linear-gradient(145deg, #f0faf6 0%, #e8f5f0 100%);
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 9/19;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--mint-dark); font-size: 0.75rem; font-weight: 500;
  border: 2px dashed rgba(26,158,99,0.25);
  padding: 20px; text-align: center;
}
.screenshot-placeholder .ss-icon { font-size: 2rem; margin-bottom: 4px; }
.screenshot-placeholder .ss-label { font-size: 0.7rem; color: var(--muted); }

/* INNER PAGES */
.inner-hero { background: var(--off); padding: 70px 3rem 60px; }
.inner-hero-inner { max-width: 860px; margin: 0 auto; }
.inner-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.inner-hero p { font-size: 1rem; color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 520px; }
.page-date { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }

.content-wrap { max-width: 860px; margin: 0 auto; padding: 60px 3rem 100px; }
.content-wrap h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 0.75rem; }
.content-wrap p { font-size: 0.95rem; color: #3a4a52; line-height: 1.85; font-weight: 300; margin-bottom: 1rem; }
.content-wrap ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.content-wrap ul li { font-size: 0.95rem; color: #3a4a52; line-height: 1.85; font-weight: 300; margin-bottom: 0.4rem; }
.content-wrap a { color: var(--mint-dark); text-decoration: none; }
.content-wrap a:hover { text-decoration: underline; }
.content-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 32px rgba(0,0,0,0.08); z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.875rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; color: var(--navy); }
  .nav-links li:last-child a { border-bottom: none; margin-top: 0.5rem; text-align: center; }
  .nav-cta { border-radius: 100px !important; display: block; }
  footer { padding: 2rem 1.25rem; }
  .inner-hero { padding: 50px 1.25rem 40px; }
  .content-wrap { padding: 40px 1.25rem 80px; }
}
