@charset "utf-8";
/* CSS Document */

 /* ============================================================
       DESIGN TOKENS — SAFEPATH TEAL THEME
       ============================================================ */
    :root {
      --bg: #F1F8F9;                
      --surface: #FFFFFF;           
      --surface-2: #E3F0F1;         
      --border: rgba(45, 139, 150, 0.15); 
      
      --text: #112C30;              
      --text-secondary: #4B6A6F;    
      --text-tertiary: #7B969B;     

      --accent: #2D8B96;            
      --accent-soft: rgba(45, 139, 150, 0.10);
      
      --btn-bg: #0F4C56;            
      --btn-text: #FFFFFF;
      --btn-hover: #0A363E;
      
      --field-bg: #F7FAFB;
      --field-border: #CFE4E6;
      
      --success: #1A9E76;

      --radius-sm: 10px;
      --radius-md: 24px;            
      --radius-lg: 32px;
      --radius-full: 999px;
      --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      
      --shadow-sm: 0 4px 12px rgba(17, 44, 48, 0.04);
      --shadow-lg: 0 24px 48px -12px rgba(17, 44, 48, 0.15);
      --shadow-glow: 0 12px 24px -8px rgba(15, 76, 86, 0.4);
      --max-width: 1120px;
      --gutter: 20px;

      --header-h: 69px;
    }

    /* ============================================================
       RESET & BASE
       ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      color-scheme: light;
    }

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }
    ul { list-style: none; }

    /* ============================================================
       LAYOUT UTILITIES
       ============================================================ */
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }

    .section { padding-block: 72px; }
    @media (min-width: 768px) { .section { padding-block: 96px; } }

    .section-header {
      max-width: 100%;
      margin-bottom: 48px;
    }

    .section-header h2 {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin-bottom: 12px;
      color: var(--text);
    }

    .section-header p {
      color: var(--text-secondary);
      font-size: 1.0625rem;
    }

    /* ============================================================
       BUTTONS
       ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 52px;
      padding: 0 28px;
      border-radius: var(--radius-full);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: -0.01em;
      transition: all 0.25s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: var(--btn-bg);
      color: var(--btn-text);
      box-shadow: 0 4px 12px rgba(15, 76, 86, 0.2);
    }

    .btn-primary:hover {
      background: var(--btn-hover);
      transform: translateY(-1px);
      box-shadow: var(--shadow-glow);
    }

    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1.5px solid var(--field-border);
    }

    .btn-ghost:hover {
      background: var(--surface);
      border-color: var(--accent);
      color: var(--accent);
    }

    .btn-sm {
      min-height: 44px;
      padding: 0 20px;
      font-size: 0.9rem;
    }

    /* ============================================================
       HEADER / NAV
       ============================================================ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(241, 248, 249, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    body.menu-open .site-header {
      background: var(--bg);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: -0.03em;
      z-index: 101;
      color: var(--text);
    }

    .logo-mark {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      background: var(--accent-soft);
      border: 1px solid rgba(45, 139, 150, 0.3);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 800;
    }

    .logo span { color: var(--accent); }
    .logo .logo-text { color: var(--text); }

    .nav-toggle {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 10px;
      border-radius: 10px;
      z-index: 101;
    }

    .nav-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all 0.25s ease;
      transform-origin: center;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-links { display: none; align-items: center; gap: 32px; }
    .nav-links a {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--accent); }

    .nav-actions { display: none; align-items: center; gap: 12px; }
    .nav-actions .btn-ghost { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }

    /* ============================================================
       MOBILE MENU
       ============================================================ */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 99;
      background: var(--bg);
      padding: 100px var(--gutter) 40px;
      flex-direction: column;
      gap: 8px;
      overflow-y: auto;
    }

    .mobile-menu.is-open { display: flex; }
    
    /* Apply bottom border only to non-button links */
    .mobile-menu a:not(.btn) {
      display: flex;
      align-items: center;
      min-height: 56px;
      padding: 0 16px;
      border-radius: var(--radius-sm);
      font-size: 1.125rem;
      font-weight: 500;
      color: var(--text-secondary);
      border-bottom: 1px solid var(--border);
    }
    
    .mobile-menu .btn {
      margin-top: 12px;
      width: 100%;
    }
    
    .mobile-menu .btn-primary {
      margin-top: 24px;
      color: #FFFFFF !important;
    }

    @media (min-width: 860px) {
      .nav-toggle { display: none; }
      .nav-links { display: flex; }
      .nav-actions { display: flex; }
      .mobile-menu { display: none !important; }
    }

    /* ============================================================
       HERO (pure CSS texture background)
       ============================================================ */
    .hero {
      position: relative;
      isolation: isolate;
      display: flex;
      align-items: flex-end;
      min-height: clamp(640px, 92vh, 900px);
      padding-block: 88px 56px;
      overflow: hidden;
      background-color: var(--accent);
      background-image: 
        radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(45, 139, 150, 1) 0%, rgba(45, 139, 150, 0.9) 60%, rgba(241, 248, 249, 1) 100%);
      background-size: 20px 20px, 100% 100%;
      background-position: center, center;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      display: grid;
      gap: 40px;
      align-items: center;
    }

    .hero-content { max-width: 620px; }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #FFFFFF;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      margin-bottom: 24px;
      backdrop-filter: blur(4px);
    }

    .hero-eyebrow::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #FFF;
    }

    .hero h1 {
      font-size: clamp(2.15rem, 6vw, 3.6rem);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1.08;
      margin-bottom: 20px;
      color: #FFFFFF;
      text-shadow: 0 2px 10px rgba(0, 50, 50, 0.2);
    }

    .hero h1 .accent-line { display: block; color: #FFFFFF; }

    .hero-sub {
      font-size: 1.0625rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 48ch;
      margin-bottom: 32px;
    }

    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
    
    .hero-actions .btn-ghost {
      color: #FFFFFF;
      border-color: rgba(255, 255, 255, 0.4);
    }
    .hero-actions .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: #FFFFFF;
    }

    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 20px;
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.9);
    }
    .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
    .hero-trust svg { width: 16px; height: 16px; color: #FFFFFF; }

    /* ============================================================
       SEARCH PANEL
       ============================================================ */
    .hero-search {
      width: 100%;
      max-width: 440px;
      margin-inline: auto;
      padding: 24px 24px 20px; 
      border-radius: var(--radius-lg);
      background: var(--surface);
      box-shadow: 0 20px 40px rgba(10, 50, 55, 0.15);
    }

    .search-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 2px;
      color: var(--text);
      text-align: center;
    }

    .search-sub {
      font-size: 0.8rem;
      color: var(--text-secondary);
      margin-bottom: 16px;
      text-align: center;
    }

    .search-form { display: grid; gap: 12px; }
    .field { display: grid; gap: 6px; }

    .field-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--text-tertiary);
    }

    .field-control {
      appearance: none;
      -webkit-appearance: none;
      width: 100%;
      min-height: 42px; 
      padding: 0 34px 0 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--field-border);
      background-color: var(--field-bg);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232D8B96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px 16px;
      color: var(--text);
      font-family: inherit;
      font-size: 0.9rem;
      font-weight: 500;
      transition: all 0.2s;
      cursor: pointer;
    }

    .field-control:hover { border-color: #A3CFD3; }
    .field-control:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-soft);
      background-color: #FFFFFF;
    }
    .field-control option { background: #FFFFFF; color: var(--text); }
    .field-control:invalid { color: var(--text-tertiary); }

    /* Disabled state styles */
    .field-control:disabled {
      background-color: var(--surface-2);
      border-color: transparent;
      color: var(--text-tertiary);
      cursor: not-allowed;
      opacity: 0.7;
      background-image: none;
    }

    .field-group { border: 0; padding: 0; margin: 0; }
    .chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
    .chip { position: relative; display: inline-flex; }
    .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

    .chip label {
      display: inline-flex;
      align-items: center;
      min-height: 32px; 
      padding: 0 12px;
      border-radius: var(--radius-full);
      border: 1px solid var(--field-border);
      background: var(--field-bg);
      color: var(--text-secondary);
      font-size: 0.8rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .chip label:hover { border-color: #A3CFD3; color: var(--text); }
    .chip input:checked + label {
      background: var(--btn-bg);
      border-color: var(--btn-bg);
      color: #FFFFFF;
      font-weight: 600;
    }

    .age-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
    .age-row .field-control { padding-right: 30px; background-position: right 10px center; }
    .age-sep { font-size: 0.75rem; color: var(--text-tertiary); }

    .row-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .search-submit {
      width: 100%;
      margin-top: 4px;
      min-height: 46px;
      font-size: 1rem;
    }

    .search-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      margin-top: 8px;
      font-size: 0.7rem;
      color: var(--text-secondary);
    }
    .search-note svg { width: 14px; height: 14px; color: var(--accent); }

    /* ============================================================
       RESPONSIVE HERO
       ============================================================ */
    @media (max-width: 1023.98px) {
      .hero { 
        align-items: flex-start;
        min-height: calc(100vh - var(--header-h)); 
        padding-block: 32px 56px; 
      }
      .hero-content { display: none; }
      .hero-search { margin-inline: auto; }
    }

    @media (min-width: 1024px) {
      .hero {
        --hero-pad: clamp(20px, 4vh, 56px);
        align-items: center;
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100svh - var(--header-h));
        padding-block: var(--hero-pad);
      }
      .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
      .hero-search {
        margin-inline: 0;
        justify-self: end;
      }
    }

    /* ============================================================
       TRUST STRIP & SECTIONS
       ============================================================ */
    .trust-strip { border-block: 1px solid var(--border); background: var(--surface); }
    .trust-strip-inner {
      display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px;
      padding-block: 24px; font-size: 0.85rem; color: var(--text-secondary); text-align: center;
    }
    .trust-strip-item { display: inline-flex; align-items: center; gap: 8px; }
    .trust-strip-item svg { width: 20px; height: 20px; color: var(--accent); }

    .features-grid { display: grid; gap: 24px; }
    @media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 960px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s;
    }
    .feature-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .feature-icon {
      display: grid; place-items: center; width: 56px; height: 56px;
      border-radius: 16px; background: var(--surface-2); color: var(--accent); margin-bottom: 24px;
    }
    .feature-icon svg { width: 28px; height: 28px; }
    .feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
    .feature-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

    /* ============================================================
       STATS & HOW IT WORKS
       ============================================================ */
    .stats-section { background: var(--surface-2); border-block: 1px solid var(--border); }
    .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; text-align: center; }
    @media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
    .stat-number { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--btn-bg); line-height: 1; margin-bottom: 8px; }
    .stat-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

    .steps-grid { display: grid; gap: 24px; counter-reset: step; }
    @media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
    .step {
      position: relative; padding: 32px 28px; background: var(--surface);
      border-radius: var(--radius-md); border: 1px solid var(--border);
      box-shadow: var(--shadow-sm); counter-increment: step;
    }
    .step::before {
      content: counter(step, decimal-leading-zero);
      display: block; font-size: 0.85rem; font-weight: 700; color: var(--accent);
      letter-spacing: 0.1em; margin-bottom: 16px;
    }
    .step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; color: var(--text); }
    .step p { font-size: 0.95rem; color: var(--text-secondary); }

    /* ============================================================
       FINAL CTA
       ============================================================ */
    .cta-section {
      position: relative;
      overflow: hidden;
      text-align: center;
      background: var(--btn-bg); 
      color: #FFFFFF;
    }
    .cta-section .section-header { margin-inline: auto; text-align: center; }
    .cta-section h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #FFFFFF; }
    .cta-section p { max-width: 52ch; margin-inline: auto; color: rgba(255, 255, 255, 0.85); }
    
    .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
    
    .cta-section .btn-primary { background: #FFFFFF; color: var(--btn-bg); }
    .cta-section .btn-primary:hover { background: var(--surface-2); color: var(--btn-bg); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
    .cta-section .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.4); }
    .cta-section .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #FFFFFF; }
    
    .cta-note { margin-top: 24px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

    /* ============================================================
       FOOTER
       ============================================================ */
    .site-footer { padding-block: 64px 32px; font-size: 0.85rem; color: var(--text-tertiary); background: var(--bg); }
    .footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
    @media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; align-items: start; } }
    
    .footer-brand p { max-width: 36ch; margin-top: 16px; line-height: 1.7; }
    .footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
    .footer-col a { display: block; padding-block: 8px; color: var(--text-secondary); transition: color 0.2s; }
    .footer-col a:hover { color: var(--accent); }

    .footer-app-note { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 16px; max-width: 26ch; }
    .footer-app-list { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    
    .footer-app .app-btn {
      display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
      padding: 8px 18px 8px 16px; border-radius: 12px;
      border: 1px solid var(--border); background: var(--surface);
      box-shadow: var(--shadow-sm); transition: all 0.2s;
    }
    .footer-app .app-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
    .footer-app .app-btn svg { width: 24px; height: 24px; color: var(--btn-bg); }
    .footer-app .app-btn-text { display: grid; gap: 2px; line-height: 1.1; text-align: left; }
    .footer-app .app-btn-text small { font-size: 0.6rem; font-weight: 500; text-transform: uppercase; color: var(--text-tertiary); }
    .footer-app .app-btn-text strong { font-size: 0.9rem; font-weight: 600; color: var(--text); }

    .footer-bottom {
      display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
      gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem;
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }

/* Preserve keyboard focus visibility and identify the unavailable store link. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.app-btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.form-error { color: #a32935; margin-block: 0 12px; }
.form-error[hidden] { display: none; }
