/* ---------------------------------------------------------
   LYLA CSS CHEAT SHEET (MINIMAL – FOR MAKING NEW SECTIONS)
   ---------------------------------------------------------

   USE THESE CLASSES TO BUILD:
   - new sections
   - new section headers
   - new grids (rows of boxes)
   - new cards (white boxes)
   - CTAs (buttons)

   ---------------------------------------------------------
   1. SECTION STRUCTURE
   ---------------------------------------------------------

   .section
     - A standard block of vertical spacing.
     - Use this for EVERY new section.

     HTML:
       <section class="section">...</section>


   .section-alt
     - Same as .section but with a light tinted background.
     - Great for visual separation.

     HTML:
       <section class="section section-alt">...</section>


   .section-header
     - Proper spacing & width for section title + description.

     HTML:
       <div class="section-header">
         <h2>Title</h2>
         <p>Description text.</p>
       </div>


   ---------------------------------------------------------
   2. GRID LAYOUTS (rows of cards/boxes)
   ---------------------------------------------------------

   .grid-2
     - Two columns on desktop → one on mobile.

     HTML:
       <div class="grid-2">
         <div class="card">Box 1</div>
         <div class="card">Box 2</div>
       </div>


   .grid-3
     - Three equal-sized columns (becomes one column on mobile).

     HTML:
       <div class="grid-3">
         <div class="card">Box 1</div>
         <div class="card">Box 2</div>
         <div class="card">Box 3</div>
       </div>


   ---------------------------------------------------------
   3. CARDS (white boxes)
   ---------------------------------------------------------

   .card
     - White box with rounded corners + shadow.
     - Use this for ANY content box.

     HTML:
       <div class="card">
         <h3>Box Title</h3>
         <p>Info text...</p>
       </div>


   .feature-card
     - Optional: extra spacing/text styling inside a card.

     HTML:
       <div class="card feature-card">
         <h3>Feature Title</h3>
         <p>Some text...</p>
       </div>


   ---------------------------------------------------------
   4. TEXT HELPERS
   ---------------------------------------------------------

   .eyebrow
     - Small uppercase label above a title.

     HTML:
       <p class="eyebrow">Label</p>


   ---------------------------------------------------------
   5. BUTTONS (optional for section CTAs)
   ---------------------------------------------------------

   .btn .btn-primary
     - Electric-blue main button.

     HTML:
       <a class="btn btn-primary">Click me</a>

   .btn .btn-ghost
     - Transparent bordered button.

     HTML:
       <a class="btn btn-ghost">Learn more</a>


   ---------------------------------------------------------
   6. MOST USEFUL PATTERN (copy this often)
   ---------------------------------------------------------

   <section class="section">

     <div class="section-header">
       <h2>My New Section</h2>
       <p>Short description for this section.</p>
     </div>

     <div class="grid-3">
       <div class="card feature-card">
         <h3>Card One</h3>
         <p>Some text...</p>
       </div>

       <div class="card feature-card">
         <h3>Card Two</h3>
         <p>Some text...</p>
       </div>

       <div class="card feature-card">
         <h3>Card Three</h3>
         <p>Some text...</p>
       </div>
     </div>

   </section>

   ---------------------------------------------------------
   END CHEAT SHEET
   --------------------------------------------------------- */
/* THEME VARIABLES */
:root {
    --color-primary: #007AFF;       /* Electric blue */
    --color-accent: #14D2C5;        /* Teal */
    --bg-offwhite: #F6F9FC;
    --bg-white: #FFFFFF;
    --text-dark: #0A0A0A;
    --text-muted: #4B5563;
    --border-subtle: #E2E8F0;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* GLOBAL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-offwhite);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

main {
    padding: 0 24px 64px;
    max-width: 1120px;
    margin: 0 auto;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 24px;
    background-color: var(--bg-offwhite);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    font-size: 0.9rem;
}

.logo-text {
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.25);
}

.btn-primaryOnBlue {
    background-color: #ffffff;
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.btn-primaryOnBlue:hover {
    background-color: #f0f4ff;         /* soft blue hover */
    color: var(--color-primary);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #0061d1;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 122, 255, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background-color: var(--bg-white);
}

/* HERO minmax(0, 1.3fr) minmax(0, 1fr)*/
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;                  /* center horizontally */
    justify-content: center;              /* center vertically */
    text-align: center;
    min-height: calc(100vh - 70px);       /* full screen minus header height */
    padding: 40px 16px;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin: 8px 0 16px;
}

.hero-subtitle {
    margin: 0 0 20px;
    color: var(--text-muted);
    max-width: 520px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(20, 210, 197, 0.35);
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.9);
}

/* HERO VISUAL */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.app-card {
    background-color: var(--bg-white);
    border-radius: 22px;
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 320px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pill {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.04);
}

.in-range {
    background-color: rgba(61, 255, 143, 0.16);
    color: #047857;
}

.hr {
    background-color: rgba(20, 210, 197, 0.16);
    color: #0f766e;
}

.card-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.card-subtitle {
    margin: 0 0 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chart-placeholder {
    position: relative;
    height: 120px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fafb, #edf2ff);
    overflow: hidden;
    margin-bottom: 16px;
}

.chart-line {
    position: absolute;
    width: 140%;
    height: 3px;
    border-radius: 999px;
    top: 40%;
}

.chart-line-blue {
    background-color: var(--color-primary);
    transform: translateX(-20%) rotate(-3deg);
}

.chart-line-teal {
    background-color: var(--color-accent);
    top: 65%;
    transform: translateX(-10%) rotate(2deg);
}

.metric-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.metric-list li {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.metric-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #edf2ff1c;
    border-radius: 20px;
    padding-inline: 16px;
}

.section-header {
    max-width: 640px;
    margin-bottom: 24px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
}

/* GRIDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* CARDS */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;   /* center horizontally */
}

/* HOW IT WORKS STEPS */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, var(--color-accent), var(--color-primary));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.step h3 {
    margin: 0 0 4px;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA / WAITLIST */
.cta-section {
    display: flex;
    justify-content: center;
}

.cta-card {
    background-color: var(--color-primary);
    color: white;
    padding: 26px 22px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 45px rgba(0, 122, 255, 0.35);
    max-width: 640px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;

}

.cta-card h2 {
    margin: 0 0 10px;
}

.cta-card p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
}

.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.waitlist-form input {
    flex: 1 1 180px;
    padding: 10px 12px;
    border-radius: 999px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.waitlist-form input::placeholder {
    color: #6b7280;
}

.waitlist-form .btn-primary {
    background-color: var(--bg-white);
    color: var(--color-primary);
    box-shadow: none;
}

.waitlist-form .btn-primary:hover {
    background-color: #e5edff;
}

.tiny-note {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 16px 24px 20px;
    background-color: var(--bg-offwhite);
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-logo {
    font-weight: 600;
}

/* RESPONSIVE */
.small-only {
    display: inline-flex;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none; /* super simple mobile nav for now */
    }
}

@media (max-width: 480px) {
    main {
        padding-inline: 16px;
    }

    .header {
        padding-inline: 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-card {
        padding-inline: 18px;

    }
}
