*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --orange: #FF6B2B; --gold: #FFB800; --cream: #FFF8EE; --brown: #3D1F00; --light-orange: #FFF0E6; --shadow: 0 8px 32px rgba(61,31,0,0.12); }
html { scroll-behavior: smooth; }
body { font-family: "Nunito", sans-serif; background: var(--cream); color: var(--brown); overflow-x: hidden; }
h1, h2, .nav-logo, .footer-logo, .about-label, .btn-primary { font-family: "Chewy", sans-serif; letter-spacing: 0.02em; }
h1, h2 { font-family: "Chewy", sans-serif; }
h3, h4 { font-family: "Nunito", sans-serif; font-weight: 700; letter-spacing: 0; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: rgba(255,248,238,0.95); backdrop-filter: blur(12px); border-bottom: 2px solid rgba(255,184,0,0.2); }
.nav-logo { font-family: "Chewy", sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--orange); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--brown); text-decoration: none; font-weight: 600; font-size: 0.9rem; opacity: 0.75; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 0.55rem 1.3rem; border-radius: 50px; font-weight: 700 !important; opacity: 1 !important; box-shadow: 0 4px 12px rgba(255,107,43,0.3); }

.hero-about { padding: 9rem 2rem 5rem; background: linear-gradient(135deg, #FFF9F0 0%, var(--cream) 100%); text-align: center; }
.about-label { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,184,0,0.15); color: #7A5200; border-radius: 50px; padding: 0.35rem 1rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.hero-about h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--brown); max-width: 680px; margin: 0 auto 1.2rem; line-height: 1.2; }
.hero-about p { font-size: 1.05rem; color: #5A3A10; line-height: 1.75; max-width: 560px; margin: 0 auto; }

.main-story { max-width: 860px; margin: 0 auto; padding: 4rem 2rem; }

.story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.story-photo { width: 100%; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; }
.story-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--brown); margin-bottom: 1.2rem; line-height: 1.25; }
.story-text p { font-size: 0.98rem; color: #5A3A10; line-height: 1.85; margin-bottom: 1rem; }
.story-text p strong { color: var(--brown); }

.divider { height: 2px; background: linear-gradient(90deg, transparent, rgba(255,184,0,0.3), transparent); margin: 3rem 0; }

.what-section { background: white; border-radius: 28px; padding: 3rem; box-shadow: var(--shadow); border: 2px solid rgba(255,184,0,0.15); margin-bottom: 2rem; }
.what-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--brown); margin-bottom: 1.2rem; }
.what-section p { font-size: 0.98rem; color: #5A3A10; line-height: 1.85; margin-bottom: 1rem; }
.what-section p:last-child { margin-bottom: 0; }

.lessons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.lesson-card { background: var(--light-orange); border-radius: 16px; padding: 1.3rem; border: 1.5px solid rgba(255,184,0,0.2); }
.lesson-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--brown); margin-bottom: 0.4rem; }
.lesson-card p { font-size: 0.84rem; color: #6B4F2A; line-height: 1.6; margin: 0; }

.bank-section { background: var(--brown); border-radius: 28px; padding: 2.5rem; margin-bottom: 2rem; }
.bank-section h2 { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 1rem; }
.bank-section p { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 0.8rem; }
.bank-section p:last-child { margin-bottom: 0; }
.bank-section strong { color: var(--gold); }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.product-card { background: var(--light-orange); border-radius: 16px; padding: 1.3rem; border: 1.5px solid rgba(255,184,0,0.2); }
.product-card h3 { font-size: 1rem; font-weight: 700; color: var(--brown); margin-bottom: 0.4rem; }
.product-card p { font-size: 0.85rem; color: #6B4F2A; line-height: 1.6; margin: 0; }
.product-card a { color: var(--orange); text-decoration: none; font-weight: 700; font-size: 0.82rem; }

.ai-note { background: var(--light-orange); border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0; padding: 1.3rem 1.5rem; margin-top: 1.5rem; }
.ai-note h3 { font-size: 0.95rem; font-weight: 700; color: var(--brown); margin-bottom: 0.4rem; }
.ai-note p { font-size: 0.88rem; color: #5A3A10; line-height: 1.7; margin: 0; }

.studio-section { background: white; border-radius: 28px; padding: 3rem; box-shadow: var(--shadow); border: 2px solid rgba(255,184,0,0.15); margin-bottom: 2rem; }
.studio-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--brown); margin-bottom: 1.2rem; }
.studio-section p { font-size: 0.98rem; color: #5A3A10; line-height: 1.85; margin-bottom: 1rem; }

.cta-block { background: var(--brown); border-radius: 28px; padding: 3rem; text-align: center; }
.cta-block h2 { font-size: 1.7rem; font-weight: 800; color: white; margin-bottom: 0.8rem; }
.cta-block p { color: rgba(255,255,255,0.7); font-size: 0.98rem; line-height: 1.7; max-width: 500px; margin: 0 auto 2rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--orange); color: white; padding: 0.9rem 2rem; border-radius: 50px; font-family: "Chewy", sans-serif; font-weight: 700; font-size: 1rem; text-decoration: none; transition: all 0.2s; box-shadow: 0 6px 20px rgba(255,107,43,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255,107,43,0.45); }

footer { background: var(--brown); color: rgba(255,255,255,0.75); padding: 2.5rem 2rem; text-align: center; }
.footer-logo { font-family: "Chewy", sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--gold); margin-bottom: 0.4rem; }
footer p { font-size: 0.82rem; line-height: 1.7; }
footer a { color: var(--gold); text-decoration: none; }
.footer-social { display: flex; justify-content: center; gap: 1.5rem; margin: 1rem 0 0.5rem; }
.social-icon { color: rgba(255,255,255,0.75); transition: color 0.2s; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-decoration: none; }
.social-icon:hover { color: rgba(255,255,255,1); }
.social-label { font-size: 0.65rem; font-weight: 600; }
.footer-coming-soon { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }
.footer-contact { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 400px; margin: 0 auto; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .lessons-grid { grid-template-columns: 1fr; }
  nav { padding: 0.9rem 1.2rem; }
  .nav-links { display: none; }
  .main-story { padding: 2.5rem 1.5rem; }
  .what-section, .bank-section, .studio-section, .cta-block { padding: 2rem; }
}

.ali-pulse { animation: ali-pulse 2s ease-in-out infinite; }
.ali-sway { animation: ali-sway 3s ease-in-out infinite; }
@keyframes ali-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ali-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ---- /learn additions (existing tokens only) ---- */
.nav-logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav-logo img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.crumbs { position: static; display: block; padding: 0; background: none; border: 0; backdrop-filter: none; font-size: 0.82rem; color: #6B4F2A; margin-bottom: 1rem; }
.crumbs a { color: var(--orange); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-about .byline { font-size: 0.92rem; color: #5A3A10; margin: 0.6rem auto 0; }
.byline a { color: var(--orange); font-weight: 700; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.hero-about .updated { font-size: 0.82rem; color: #6B4F2A; margin: 0.3rem auto 0; }
.learn-wrap { max-width: 860px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }
.learn-wrap .ai-note { margin: 0 0 2rem; }
.reading { background: white; border-radius: 28px; padding: 3rem; box-shadow: var(--shadow); border: 2px solid rgba(255,184,0,0.15); margin-bottom: 2rem; }
.reading h2 { font-size: 1.6rem; font-weight: 800; color: var(--brown); margin: 2.2rem 0 1rem; line-height: 1.25; }
.reading > h2:first-child { margin-top: 0; }
.reading p { font-size: 0.98rem; color: #5A3A10; line-height: 1.85; margin-bottom: 1rem; }
.reading ul { margin: 0 0 1rem 1.4rem; color: #5A3A10; font-size: 0.98rem; line-height: 1.85; }
.reading a { color: var(--orange); font-weight: 700; text-decoration: none; }
.reading a:hover { text-decoration: underline; }
.reading .signoff { font-weight: 700; color: var(--brown); }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1.5px solid rgba(255,184,0,0.35); background: white; margin: 1.5rem 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; }
.table-wrap caption { position: absolute; left: -9999px; }
.table-wrap th { background: var(--brown); color: white; font-family: "Nunito", sans-serif; font-weight: 700; text-align: left; padding: 0.8rem 1rem; font-size: 0.95rem; }
.table-wrap td { padding: 0.8rem 1rem; font-size: 0.9rem; color: #5A3A10; line-height: 1.6; vertical-align: top; border-top: 1px solid rgba(255,184,0,0.25); }
.table-wrap td:first-child { font-weight: 700; color: var(--brown); }
.table-wrap tbody tr:nth-child(even) td { background: var(--light-orange); }
.visual { background: var(--light-orange); border: 1.5px solid rgba(255,184,0,0.25); border-radius: 16px; padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.visual h3 { font-size: 1rem; font-weight: 700; color: var(--brown); margin-bottom: 0.8rem; }
.reading .visual .caption { font-size: 0.82rem; color: #6B4F2A; line-height: 1.6; margin: 0.8rem 0 0; }
.example-tag { display: inline-block; background: rgba(255,184,0,0.15); color: #7A5200; border-radius: 50px; padding: 0.2rem 0.8rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.check-card ul { list-style: none; margin: 0; padding: 0; }
.check-card li { position: relative; padding: 0.35rem 0 0.35rem 2rem; font-size: 0.95rem; color: #5A3A10; line-height: 1.6; }
.check-card li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 1.1rem; height: 1.1rem; border: 2px solid var(--gold); border-radius: 5px; background: white; }
.steps { display: flex; gap: 0.3rem; }
.steps .step { flex: 1; height: 24px; border-radius: 6px; background: white; border: 1.5px solid rgba(255,184,0,0.4); }
.steps .step.on { background: var(--orange); border-color: var(--orange); }
.steps-scale { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: var(--brown); margin-top: 0.4rem; }
.split { display: flex; height: 56px; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(255,184,0,0.4); }
.split div { display: flex; align-items: center; justify-content: center; font-family: "Chewy", sans-serif; font-size: 0.95rem; text-align: center; padding: 0 0.4rem; }
.split .s-save { background: var(--orange); color: white; }
.split .s-spend { background: var(--gold); color: var(--brown); }
.split .s-share { background: var(--brown); color: white; }
.learn-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
.learn-card { position: relative; background: white; border-radius: 20px; padding: 1.6rem 1.8rem; box-shadow: var(--shadow); border: 2px solid rgba(255,184,0,0.15); transition: transform 0.2s; }
.learn-card:hover { transform: translateY(-3px); }
.learn-card h2 { font-family: "Nunito", sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.5rem; }
.learn-card h2 a { color: var(--brown); text-decoration: none; }
.learn-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.learn-card p { font-size: 0.92rem; color: #5A3A10; line-height: 1.7; margin: 0; }
@media (max-width: 768px) {
  .learn-wrap { padding: 1.5rem 1.2rem 3rem; }
  .reading { padding: 1.6rem; }
  .visual { padding: 1.1rem; }
  .hero-about { padding: 7rem 1.2rem 3rem; }
  .split div { font-size: 0.8rem; }
}

/* ---- refresh pass 1: mobile menu, tap targets, focus ---- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-right { display: none; align-items: center; gap: 0.5rem; }
.nav-toggle { background: none; border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; border-radius: 12px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--brown); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
footer a:not(.social-icon) { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; }
.social-icon { min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 768px) {
  .nav-right { display: flex; }
  .nav-right .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9rem; text-decoration: none; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.2rem 1rem; background: var(--cream); border-bottom: 2px solid rgba(255,184,0,0.2); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-links .nav-cta { display: none; }
}

[hidden] { display: none !important; }
