:root{
    /* Real app colors (lib/theme/app_theme.dart), not the raw canonical brand
       spec - this page is Portugal Speaks' own landing page, so it should
       match what actually ships, not the generic multi-app brand sheet. */
    --green:#2E7D32;
    --green-deep:#1E3D25;
    --green-mid:#2A5535;
    --gold:#D4A017;
    --gold-light:#f0c94d;
    --red-deep:#6C030A;
    --red:#C0392B;
    --azulejo:#2471A3;
    --azulejo-deep:#143E59;
    --azulejo-light:#4E8FB0;
    --cream:#F5F2EB;
    --cream-2:#efe9db;
    --ink:#1A1A1A;
    --cobblestone:#6B6B5A;
    --white:#ffffff;
    --radius:14px;
    --max:1180px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'DM Sans',sans-serif;
    color:var(--ink);
    background:var(--cream);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{
    font-family:Georgia,'Times New Roman',serif;
    margin:0 0 .4em 0;
    line-height:1.15;
    font-weight:700;
  }
  p{line-height:1.6;margin:0 0 1em 0;}
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:var(--max);margin:0 auto;padding:0 28px;}
  .eyebrow{
    font-family:'DM Sans',sans-serif;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-size:12.5px;
    color:var(--gold);
  }
  section{position:relative;}
  :focus-visible{outline:3px solid var(--gold);outline-offset:2px;}

  /* ---------- flat app-style section panels ----------
     The real app has no all-over background texture - screens are flat
     cards on a solid Green/Dark, Red, or Light surface. Swapped the diagonal
     checkerboard + zigzag divider for the same flat-panel treatment, with a
     thin gold rule (matching the app header's own bottom border) standing in
     for the old zigzag divider strip. */
  .tile-bg{
    background-color:var(--green-deep);
  }
  .tile-divider{
    height:2px;
    background:var(--gold);
    opacity:.35;
  }

  /* ---------- header ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(0,51,13,.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(212,160,23,.25);
  }
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px 28px;max-width:var(--max);margin:0 auto;
  }
  .brand{display:flex;align-items:center;gap:12px;color:var(--cream);text-decoration:none;}
  .brand img{width:76px;height:76px;border-radius:18px;box-shadow:0 0 0 2px rgba(212,160,23,.4);}
  .brand-name{font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:32px;letter-spacing:.01em;}
  .brand-name .speaks{color:var(--gold-light);}
  nav.links{display:flex;gap:28px;align-items:center;}
  nav.links a{
    color:var(--cream);opacity:.85;text-decoration:none;font-weight:700;font-size:14.5px;
  }
  nav.links a:hover{opacity:1;color:var(--gold-light);}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:12px 26px;border-radius:999px;font-weight:900;font-size:14.5px;
    text-decoration:none;cursor:pointer;border:2px solid transparent;
    letter-spacing:.01em;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .btn:hover{transform:translateY(-1px);}
  .btn-gold{background:var(--gold);color:var(--green-deep);}
  .btn-gold:hover{box-shadow:0 8px 20px rgba(212,160,23,.35);}
  .btn-outline{background:transparent;border-color:rgba(245,242,235,.5);color:var(--cream);}
  .btn-outline:hover{border-color:var(--gold-light);color:var(--gold-light);}
  .btn-green{background:var(--green);color:var(--white);}
  .btn-green:hover{box-shadow:0 8px 20px rgba(46,125,50,.35);}
  .btn-sm{padding:9px 18px;font-size:13.5px;}
  .menu-toggle{display:none;background:none;border:none;color:var(--cream);font-size:26px;cursor:pointer;}

  /* ---------- hero ---------- */
  .hero{
    color:var(--cream);
    padding:76px 0 96px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;
  }
  .pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px;}
  .pill{
    font-size:12.5px;font-weight:800;letter-spacing:.04em;
    background:rgba(245,242,235,.08);border:1px solid rgba(212,160,23,.4);
    color:var(--gold-light);padding:6px 14px;border-radius:999px;
    text-transform:uppercase;
  }
  .hero h1{font-size:46px;color:var(--white);}
  .hero h1 .accent{color:var(--gold-light);}
  .hero p.lede{font-size:18px;color:rgba(245,242,235,.86);max-width:520px;}
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px;}
  .hero-note{margin-top:16px;font-size:14.5px;color:rgba(245,242,235,.62);}

  .mock-stack{position:relative;}
  .mock-collage{display:block;width:100%;max-width:560px;margin:0 auto;}

  /* ---------- section shells ---------- */
  .section{padding:88px 0;}
  .section.cream{background:var(--cream);}
  .section.deep{background:var(--green-deep);color:var(--cream);}
  .section-head{max-width:640px;margin-bottom:52px;}
  .section-head h2{font-size:33px;color:var(--ink);}
  .section.deep .section-head h2{color:var(--white);}
  .section-head p{font-size:16.5px;color:var(--cobblestone);}
  .section.deep .section-head p{color:rgba(245,242,235,.75);}
  .center{text-align:center;margin-left:auto;margin-right:auto;}

  /* why EP */
  .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  .why-card{
    background:var(--white);border:1px solid #e6e0cf;border-radius:var(--radius);
    padding:28px 24px;
  }
  .why-card .num{
    font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:700;color:var(--gold);
    letter-spacing:.05em;
  }
  .why-card h3{font-size:19px;margin-top:8px;color:var(--azulejo);}
  .why-card p{color:var(--cobblestone);font-size:16px;margin:0;}

  /* features */
  .feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
  .feat-card{
    background:rgba(245,242,235,.04);border:1px solid rgba(212,160,23,.22);
    border-radius:var(--radius);padding:24px 20px;
  }
  .feat-num{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:700;color:var(--gold-light);}
  .feat-label{font-weight:800;font-size:14.5px;margin-top:4px;}
  .feat-desc{font-size:15px;color:rgba(245,242,235,.65);margin-top:6px;margin-bottom:0;}

  /* real screenshots */
  .shots-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .shot-card{
    background:var(--white);border-radius:16px;overflow:hidden;border:1px solid #e6e0cf;
    box-shadow:0 14px 30px rgba(0,0,0,.06);
  }
  .shot-caption{padding:16px 20px 20px;border-top:1px dashed #e0dac8;}
  .shot-caption .tag{font-size:11.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--azulejo);}
  .shot-caption p{font-size:15px;color:var(--cobblestone);margin:4px 0 0;}
  .real-shot-img{width:100%;display:block;aspect-ratio:1260/952;object-fit:cover;background:#e7e2d4;}
  @media (max-width:920px){ .shots-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:600px){ .shots-grid{grid-template-columns:1fr;} }

  /* theme strip */
  .theme-strip{background:var(--white);padding:0 0 90px;}
  .theme-row{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:32px;}
  .theme-card{width:280px;border-radius:14px;overflow:hidden;border:1px solid #e6e0cf;box-shadow:0 10px 26px rgba(0,0,0,.08);}
  .theme-card img{width:100%;display:block;aspect-ratio:1260/952;object-fit:cover;}
  .theme-card .theme-label{padding:10px 14px;font-weight:800;font-size:13.5px;color:var(--azulejo);}
  .theme-card.light-card{display:flex;align-items:center;justify-content:center;background:var(--cream);aspect-ratio:1260/952;flex-direction:column;gap:8px;color:var(--cobblestone);}
  .theme-card.light-card span{font-size:28px;}

  /* pricing */
  .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1080px;margin:0 auto;}
  .price-card{
    background:var(--white);border-radius:18px;padding:30px 26px;border:1px solid #e6e0cf;
    display:flex;flex-direction:column;color:var(--ink);position:relative;
  }
  .price-card.featured{
    background:var(--green);color:var(--white);border-color:var(--green);position:relative;
    box-shadow:0 20px 40px rgba(0,102,0,.25);
  }
  .price-card.immersive{
    background:var(--red-deep);color:var(--white);border-color:var(--red-deep);position:relative;
    box-shadow:0 20px 40px rgba(122,10,24,.25);
  }
  .price-card .tier{font-weight:900;letter-spacing:.04em;text-transform:uppercase;font-size:12.5px;color:var(--gold);}
  .price-card.featured .tier{color:var(--gold-light);}
  .price-card.immersive .tier{color:var(--gold-light);}
  .price-card .amount{font-family:Georgia,'Times New Roman',serif;font-size:38px;font-weight:700;margin:6px 0 2px;}
  .price-card .amount span{font-size:15px;font-weight:700;font-family:'DM Sans',sans-serif;opacity:.7;}
  .price-card ul{list-style:none;margin:18px 0 24px;padding:0;font-size:15px;flex:1;}
  .price-card li{padding:7px 0;border-top:1px solid rgba(0,0,0,.06);}
  .price-card.featured li{border-top:1px solid rgba(255,255,255,.14);}
  .price-card.immersive li{border-top:1px solid rgba(255,255,255,.14);}
  .price-card li:first-child{border-top:none;}
  .price-card .price-note{font-size:13px;line-height:1.4;margin:-10px 0 18px;}
  .badge-onetime{
    position:absolute;top:-13px;right:24px;background:var(--gold);color:var(--green-deep);
    font-size:11.5px;font-weight:900;padding:5px 14px;border-radius:999px;letter-spacing:.03em;
  }
  .price-soon{
    display:inline-block;margin-top:2px;font-size:11.5px;font-weight:800;color:var(--red-deep);
    background:rgba(122,10,24,.08);padding:3px 10px;border-radius:999px;letter-spacing:.02em;
  }
  .price-lead-note{text-align:center;font-size:13.5px;color:var(--cream);opacity:.75;margin:-30px 0 34px;}

  /* roadmap strip */
  .roadmap-strip{
    background:var(--white);border-top:1px solid #e6e0cf;border-bottom:1px solid #e6e0cf;
    padding:26px 0;
  }
  .roadmap-inner{display:flex;align-items:center;gap:18px;justify-content:center;text-align:center;flex-wrap:wrap;}
  .roadmap-inner .roadmap-icon{font-size:26px;}
  .roadmap-inner p{margin:0;font-size:15.5px;color:var(--ink);max-width:640px;}
  .roadmap-inner strong{color:var(--azulejo);}

  /* lisbon recording modal */
  .pill-btn{font-family:inherit;cursor:pointer;text-decoration:none;display:inline-block;}
  .pill-btn:hover{background:rgba(245,242,235,.16);}
  .modal-overlay{
    position:fixed;inset:0;background:rgba(20,20,20,.55);
    display:flex;align-items:center;justify-content:center;
    padding:20px;z-index:100;
  }
  .modal-overlay[hidden]{display:none;}
  .modal-card{
    background:var(--white);border-radius:var(--radius);
    max-width:520px;width:100%;padding:32px;position:relative;
    box-shadow:0 30px 60px rgba(0,0,0,.35);
  }
  .modal-close{
    position:absolute;top:12px;right:12px;background:none;border:none;
    font-size:24px;line-height:1;cursor:pointer;color:var(--cobblestone);
    padding:6px;
  }
  .modal-close:hover{color:var(--ink);}
  .modal-card .mic{font-size:60px;display:block;margin-bottom:14px;}
  .modal-card p{margin:0;font-size:16px;color:var(--ink);}
  .modal-card p strong{color:var(--azulejo);}

  @media (max-width:920px){
    .price-grid{grid-template-columns:1fr;max-width:440px;}
  }

  /* signup */
  .signup-panel{
    background:var(--white);border-radius:22px;padding:48px;
    display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;
    box-shadow:0 22px 50px rgba(0,0,0,.08);
  }
  .signup-panel h2{color:var(--azulejo-deep);font-size:29px;}
  .signup-panel p{color:var(--cobblestone);font-size:15.5px;}
  form.signup{display:flex;flex-direction:column;gap:12px;}
  .field-row{display:flex;gap:10px;flex-wrap:wrap;}
  .field-row input[type=text],.field-row input[type=email]{
    flex:1 1 200px;padding:14px 16px;border-radius:10px;border:1.5px solid #d8d2bf;
    font-family:'DM Sans',sans-serif;font-size:15px;background:var(--cream);
  }
  .field-row input:focus{border-color:var(--gold);outline:none;}
  .check-row{display:flex;flex-direction:column;gap:8px;font-size:13.5px;color:var(--cobblestone);margin-top:2px;}
  .check-row label{display:flex;align-items:flex-start;gap:8px;cursor:pointer;}
  .check-row input{margin-top:3px;}
  .signup-fineprint{font-size:12.5px;color:var(--cobblestone);margin-top:2px;}
  #signupStatus{font-size:14px;font-weight:700;min-height:20px;}
  #signupStatus.ok{color:var(--green);}
  #signupStatus.err{color:var(--red-deep);}

  /* faq */
  .faq-list{max-width:760px;margin:0 auto;}
  details{
    background:var(--white);border:1px solid #e6e0cf;border-radius:12px;
    padding:6px 22px;margin-bottom:12px;
  }
  details summary{
    cursor:pointer;padding:16px 0;font-weight:800;font-size:16px;color:var(--azulejo-deep);
    list-style:none;display:flex;justify-content:space-between;align-items:center;
  }
  details summary::-webkit-details-marker{display:none;}
  details summary::after{content:'+';font-size:22px;color:var(--gold);font-weight:400;}
  details[open] summary::after{content:'–';}
  details p{padding-bottom:16px;margin:0;color:var(--cobblestone);font-size:15.5px;}

  /* footer */
  footer{background:var(--green-deep);color:rgba(245,242,235,.7);padding:48px 0 28px;}
  .foot-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;padding-bottom:32px;border-bottom:1px solid rgba(212,160,23,.2);}
  .foot-brand{display:flex;align-items:center;gap:12px;}
  .foot-brand img{width:64px;height:64px;border-radius:16px;}
  .foot-links{display:flex;gap:34px;flex-wrap:wrap;}
  .foot-col h4{font-size:12.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-light);margin:0 0 12px;}
  .foot-col a{display:block;font-size:14px;color:rgba(245,242,235,.72);text-decoration:none;margin-bottom:8px;}
  .foot-col a:hover{color:var(--gold-light);}
  .foot-bottom{display:flex;justify-content:space-between;padding-top:22px;font-size:12.5px;flex-wrap:wrap;gap:10px;}

  @media (max-width:920px){
    .hero-grid{grid-template-columns:1fr;}
    .mock-stack{margin-top:20px;}
    .why-grid,.feat-grid,.shots-grid{grid-template-columns:1fr 1fr;}
    .price-grid{grid-template-columns:1fr;}
    .signup-panel{grid-template-columns:1fr;padding:32px 24px;}
    nav.links{display:none;}
    .menu-toggle{display:block;}
  }
  @media (max-width:600px){
    .hero h1{font-size:34px;}
    .brand img{width:52px;height:52px;}
    .brand-name{font-size:22px;}
    .why-grid,.feat-grid,.shots-grid{grid-template-columns:1fr;}
    .section{padding:64px 0;}
    .field-row{flex-direction:column;}
  }
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    .btn{transition:none;}
  }
