/* Genspark for Marketing: landing page. Same visual language as the earlier AI Slides for Teams page (design tokens, buttons, sticky header, light and dark bands, FAQ, footer, pop-up), laid out for the marketing brief. */
:root{
  --ink:#0a0f1f;
  --ink-2:#2b3350;
  --muted:#5d6788;
  --line:#e6e9f4;
  --bg:#ffffff;
  --bg-soft:#f4f6fc;
  --blue:#2457ff;
  --blue-d:#173dd1;
  --sky:#dfe8ff;
  --violet:#6b4dff;
  --danger:#b4233f;
  --radius:20px;
  --shadow:0 30px 60px -28px rgba(20,35,100,.28), 0 6px 18px -8px rgba(20,35,100,.12);
  --font:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --display:"Inter Tight","Inter",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html.modal-open{overflow:hidden}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(1200px,100% - 48px);margin-inline:auto}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}
section{scroll-margin-top:100px}

h1,h2,h3{font-family:var(--display);letter-spacing:-.03em;line-height:1.06}
h2{font-size:clamp(2rem,4.2vw,3.2rem);font-weight:700}
h3{font-size:1.2rem;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:14px}
.lede{font-size:1.2rem;color:var(--ink-2);max-width:36em;margin-top:18px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:600;text-decoration:none;border-radius:999px;transition:transform .2s,box-shadow .2s,background .2s,border-color .2s;min-height:44px;padding:0 24px;cursor:pointer;white-space:nowrap}
.btn-primary{background:var(--blue);color:#fff;border:0;box-shadow:0 12px 28px -10px rgba(36,87,255,.7)}
.btn-primary:hover{background:var(--blue-d);transform:translateY(-1px)}
.btn-quiet{background:#fff;color:var(--ink-2);border:1px solid #cfd5ea;font-weight:600}
.btn-quiet:hover{border-color:var(--ink-2);color:var(--ink);background:var(--bg-soft)}
.btn-sm{min-height:44px;padding:0 20px;font-size:.95rem}
.btn-lg{min-height:56px;padding:0 34px;font-size:1.05rem}
/* Grey secondary button (hero playbook download). Quieter than the blue primary; turns blue on hover and keyboard focus. */
.btn-grey{background:#eceef3;color:#4b5563;border:1px solid #dde1ea;font-weight:600}
.btn-grey:hover,.btn-grey:focus-visible{background:#e3eaff;color:var(--blue);border-color:#b9c9ff}

/* Navigation bar (sticky) */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:84px}
.brand{display:inline-flex;align-items:center;text-decoration:none}
.logo-img{display:block;height:28px;width:auto;max-width:none;flex:none}
/* The supplied logo is black on a transparent background. On dark bands it is turned white. */
.logo-img.on-dark{filter:brightness(0) invert(1)}

/* 1. HERO */
.hero{padding:clamp(36px,5vw,72px) 0 clamp(44px,5.5vw,80px);background:radial-gradient(900px 480px at 85% 10%,#e8eeff 0%,transparent 70%),#fff}
/* Copy column 1.1fr, image column .9fr (was 1.25 / .75). The copy column cannot go much narrower: the widest headline line is about 589px at 1280px and the button row 473px. */
.hero-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,3.2vw,48px);align-items:center}
/* The hero H1 must stay larger than every section H2 (h2 is clamp(2rem,4.2vw,3.2rem); the contact H2 is clamp(2.1rem,4.2vw,3.4rem)), so each of its three values is above the matching H2 value */
.hero h1{font-size:clamp(2.2rem,4.6vw,3.8rem);font-weight:800;letter-spacing:-.04em;line-height:1.04}
.hero-sub{font-size:clamp(1.02rem,1.4vw,1.2rem);color:var(--ink-2);margin-top:24px;max-width:31em}
/* Primary button with the grey playbook button directly to its right. They wrap onto two lines only if the column is too narrow. */
.hero-actions{margin-top:32px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px}
.hero-trust{margin-top:28px;font-size:.82rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
/* Hero video: a 16:9 YouTube embed in a rounded frame with a thin border and soft shadow. It replaced the hero diagram image (the .hero-image rules were removed with it). */
.hero{overflow-x:clip}
.hero-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#0a0f1f;border:1px solid var(--line);box-shadow:var(--shadow)}
.hero-video iframe,.hero-video video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
/* The player is a native <video> (user-supplied MP4). contain keeps the whole picture visible even if the file is not exactly 16:9; the black frame fills any gap. */
.hero-video video{object-fit:contain;background:#000}
/* Cover state: the user's thumbnail (1024 x 580, opaque, with white corners baked in) fills the frame; the frame's own rounded corners hide those white corners.
   The image is scaled up 1% so the thin light edge the file has on each side is cropped too. A custom round blue play button sits in the middle. */
.hero-video-btn{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;display:block;font:inherit;color:inherit}
.hero-video-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.012);transition:transform .5s ease}
.hero-video-play{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue),var(--violet));border:3px solid rgba(255,255,255,.95);box-shadow:0 18px 40px -8px rgba(36,87,255,.65),0 4px 14px rgba(10,15,31,.25);transition:transform .25s ease,box-shadow .25s ease}
.hero-video-play svg{display:block;margin-left:4px}
.hero-video-btn:hover .hero-video-play,.hero-video-btn:focus-visible .hero-video-play{transform:scale(1.08);box-shadow:0 22px 46px -8px rgba(36,87,255,.8),0 4px 14px rgba(10,15,31,.3)}
.hero-video-btn:hover .hero-video-thumb{transform:scale(1.03)}
.hero-video-btn:focus-visible{outline:3px solid var(--blue);outline-offset:-3px;border-radius:var(--radius)}
.hero-video-fallback{position:absolute;inset:auto 12px 12px 12px;text-align:center;background:#fff;color:var(--ink);font-weight:600;padding:10px 14px;border-radius:12px;text-decoration:none}
@media (max-width:600px){
  .hero-video-play{width:64px;height:64px;margin:-32px 0 0 -32px;border-width:2.5px}
  .hero-video-play svg{width:24px;height:24px;margin-left:3px}
}
@media (prefers-reduced-motion:reduce){
  .hero-video-thumb,.hero-video-play{transition:none}
}

/* Image placeholders. Each one is a div.media.ph with a data-ph label; screen readers skip it (aria-hidden).
   To use a real picture, replace the div with <div class="media media-why"><img src="..." alt="..."></div> (keep the media-* class: it sets the shape). */
.media{position:relative;display:block;overflow:hidden;border-radius:14px;aspect-ratio:16/9;background:#e8eeff}
.media > img{display:block;width:100%;height:100%;object-fit:cover}
.media.ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#e8eeff 0%,#dfe8ff 45%,#ece6ff 100%);border:1.5px dashed #b9c9ff;color:#5d6dab}
.media.ph::before{content:"";width:40px;height:40px;background:url("../assets/ph-image.svg") center/contain no-repeat;opacity:.8}
.media.ph::after{content:attr(data-ph);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-align:center;padding:0 12px;line-height:1.35}

/* Shared section rhythm (a little tighter than before so the page reads shorter) */
.why,.platform,.story,.usecases,.faq{padding:clamp(48px,6vw,80px) 0}
.section-head{margin-bottom:clamp(28px,4vw,52px)}
.section-head.center{text-align:center}
.section-head h2{max-width:18em}
.section-head.center h2,.section-head.center .lede{margin-inline:auto}
/* Centered section subheads run wider than the default 36em so they wrap onto fewer lines (about 960px at desktop sizes). Headlines keep their own 18em limit. */
.section-head.center .lede{max-width:50em}
/* Second paragraph of a two-paragraph subheadline sits a little closer than the first one does to the headline */
.section-head .lede + .lede{margin-top:14px}

/* 2. WHY MARKETING TEAMS CHOOSE GENSPARK */
.why{background:var(--bg-soft)}
/* Cards on the left (smaller text), picture on the right (larger), with a wide gap between them. The "Put Genspark to work" section (.uc-layout)
   uses the same column split, gap and card text sizes so the two sections match. On tablet and phone the picture goes on top and the cards follow. */
.why-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,72px);align-items:center}
.why-grid{display:grid;grid-template-columns:1fr;gap:clamp(12px,1.4vw,16px)}
.why-image{display:block;width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow)}
/* Desktop: the picture is 80% of its column (20% smaller) and centered in it. The column itself keeps its width (.9fr / 1.1fr above).
   The portrait collage is taller than the three cards, so the card stack grows to the picture's height: the row is as tall as the picture,
   the stack stretches to fill it, the three cards share that height equally, and each card's text is centred vertically inside it.
   If the cards need more room than the picture (narrow desktop widths, about 1100px and below), the row follows the cards and the picture is centred against them. */
@media (min-width:981px){
  .why-layout{align-items:stretch}
  .why-image{width:80%;margin-inline:auto;align-self:center}
  .why-grid{grid-template-rows:repeat(3,1fr)}
  .why-item{display:flex;flex-direction:column;justify-content:center}
}
.why-item,.uc-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.uc-card::before{content:"";display:block;width:32px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--blue),var(--violet));margin-bottom:12px}
/* Why cards: compact, stacked */
.why-item::before{content:"";display:block;width:32px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--blue),var(--violet));margin-bottom:10px}
.why-item{padding:clamp(16px,1.8vw,22px);box-shadow:0 18px 40px -30px rgba(20,35,100,.35)}
.why-item h3{font-size:1rem;font-weight:700;line-height:1.25;margin-bottom:5px}
.why-item p{color:var(--ink-2);font-size:.88rem;line-height:1.5}
/* 3. ONE CONNECTED AI PLATFORM (dark band): six compact cards (3 x 2 on desktop, 2 x 3 on tablet, 1 column on phones), then the interactive map (iframe) */
.platform{background:var(--ink);color:#fff}
.platform .lede{color:#c7cee8}
.platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,20px)}
.platform-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:clamp(14px,1.6vw,20px)}
/* Icon tile (simple line icon in an inline SVG) beside the heading */
.platform-head{display:flex;align-items:center;gap:12px}
.platform-icon{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#a9c8ff;background:linear-gradient(135deg,rgba(43,179,255,.22),rgba(107,77,255,.3));border:1px solid rgba(255,255,255,.14)}
.platform-icon svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.platform-card h3{font-size:1.05rem;font-weight:700;line-height:1.25;color:#fff}
.platform-card p{margin-top:10px;font-size:.92rem;line-height:1.5;color:#c7cee8}
.map-wrap{margin-top:clamp(28px,4vw,48px);border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:#070b1a}
.map-frame{display:block;width:100%;height:680px;border:0}

/* 4. CUSTOMER STORIES: three snapshots. Each card is a flex column so the quote and link line up along the bottom of the row. */
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,28px)}
.story-card{display:flex;flex-direction:column;background:var(--bg-soft);border:1px solid var(--line);border-radius:24px;padding:clamp(14px,1.6vw,20px) clamp(14px,1.6vw,20px) clamp(20px,2.2vw,26px);box-shadow:0 24px 50px -32px rgba(20,35,100,.35)}
/* Story graphics are 1024 x 440, but only the top 386px is the blue panel: below it the PNGs are transparent and the JPG is black.
   The frame is cropped to the panel (1024:386) and the picture is anchored to the top, so no bar shows. The frame's own rounded corners hide the picture's corners. */
.media-story{aspect-ratio:1024/386;margin-bottom:16px}
.media-story > img{object-position:top}
.story-card > :not(.media){padding-inline:6px}
/* The quote needs extra left padding for its blue bar. This selector is more specific than the rule above, so it wins. */
.story-card > .story-quote{padding-left:24px}
.story-tag{font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:12px}
.story-card h3{font-size:clamp(1.2rem,1.6vw,1.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.18}
.story-body{margin-top:12px;color:var(--ink-2);font-size:.96rem;line-height:1.5}
.story-quote{margin:18px 0 0;margin-top:auto;padding:16px 0 0 24px;position:relative}
.story-quote::before{content:"";position:absolute;left:6px;top:18px;bottom:2px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--blue),var(--violet))}
.story-quote blockquote p{font-family:var(--display);font-weight:600;font-size:1.06rem;letter-spacing:-.01em;line-height:1.3}
.story-quote figcaption{margin-top:12px;display:flex;flex-direction:column;gap:2px;font-size:.92rem}
.pq-name{font-weight:600}
.pq-role{color:var(--muted);font-size:.9rem}
.story-link{margin-top:16px}
/* "Read the Story" links: small, dark grey, underlined; blue on hover and keyboard focus */
.story-link a{color:#4b5563;font-size:.9rem;font-weight:500;text-underline-offset:4px;text-decoration-thickness:1px;transition:color .2s}
.story-link a:hover,.story-link a:focus-visible{color:var(--blue)}
/* Desktop (cards side by side): the three cards share six row tracks (image, tag, heading, paragraph, quote, link) through subgrid,
   so each part starts at the same height in every card. Headings and paragraphs of different lengths no longer push the quotes out of line.
   Without subgrid support, or at 980px and below (one column), the cards keep the flex-column layout above. */
@media (min-width:981px){
  @supports (grid-template-rows:subgrid){
    .story-grid{grid-template-rows:repeat(6,auto);row-gap:0}
    .story-card{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
    .story-quote{margin-top:18px;align-self:start}
    .media-story{align-self:start}
  }
}

/* 5. USE CASES */
.usecases{background:var(--bg-soft)}
/* Same layout as the "One AI investment" section: six compact cards (2 columns x 3 rows) on the left, the image (placeholder for now) on the right.
   Same column split (.9fr / 1.1fr), same gap and same card text sizes as .why-layout. On tablet and phone the image goes on top. */
.uc-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,72px);align-items:center}
.uc-image{display:block;width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow)}
.uc-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.4vw,16px)}
.uc-card{padding:clamp(16px,1.8vw,22px);box-shadow:0 18px 40px -30px rgba(20,35,100,.35)}
.uc-card h3{font-size:1rem;font-weight:700;line-height:1.25;margin-bottom:5px}
.uc-card p{color:var(--ink-2);font-size:.88rem;line-height:1.5}
/* Desktop: the same treatment as .why-layout. The image is 80% of its column and centered in it. The portrait collage sets the row height,
   the card grid stretches to that height, the six cards sit in two equal columns and three equal rows (so they are all the same size),
   and each card's content starts at the top (accent bar and heading at the same offset from the card top in every card, so the left and right cards line up row by row). If the cards need more room than the image (narrow desktop widths), the row follows the cards and the image is centred against them. */
@media (min-width:981px){
  .uc-layout{align-items:stretch}
  .uc-image{width:80%;margin-inline:auto;align-self:center}
  .uc-grid{grid-template-rows:repeat(3,minmax(0,1fr))}
  .uc-card{display:flex;flex-direction:column;justify-content:flex-start;padding:18px clamp(16px,1.8vw,22px)}
}
/* Narrower desktop (981 to 1279px): the cards get narrow and their text wraps more, so they need more height than an 80% image has.
   The image fills its column here, which makes it tall enough for the cards to fit, so the two stay the same height. */
@media (min-width:981px) and (max-width:1279px){
  .uc-image{width:100%}
}
@media (min-width:981px) and (max-width:1100px){
  .uc-card{padding:12px 14px}
  .uc-card::before{margin-bottom:8px}
  .uc-card h3{font-size:.95rem}
  .uc-card p{font-size:.82rem;line-height:1.45}
}

/* 6. FAQ: native accordion, keyboard and screen reader friendly */
.faq-list{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;padding:22px 4px;font-family:var(--display);font-weight:600;font-size:1.2rem;letter-spacing:-.015em;line-height:1.3}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:12px;height:12px;border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);transform:rotate(45deg) translateY(-3px);transition:transform .25s}
.faq-list details[open] summary::after{transform:rotate(-135deg) translateY(-3px)}
.faq-list summary:hover{color:var(--blue)}
.faq-a{padding:0 4px 24px;max-width:46em;color:var(--ink-2);animation:faqIn .3s ease}
@keyframes faqIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* 7. CLOSING CTA AND FORM (dark band) */
.contact{background:radial-gradient(800px 420px at 20% 0%,#1d3bb8 0%,transparent 70%),var(--ink);color:#fff;padding:clamp(64px,8vw,104px) 0}
/* Columns: copy 1.05fr, form 0.95fr (was .9 / 1.1). The form is a little narrower so the first paragraph fits on two lines on desktop. */
.contact-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,72px);align-items:center}
.contact h2{font-size:clamp(2.1rem,4.2vw,3.4rem);font-weight:800;letter-spacing:-.04em}
.contact-copy p{margin-top:22px;color:#c7cee8;font-size:1.12rem;max-width:36em}
/* "With Genspark for Business, you get:" intro line and its four bullets */
.contact-copy .contact-list-intro{color:#fff;font-weight:600;margin-bottom:-6px}
.contact-list{list-style:none;margin-top:16px;max-width:30em;display:grid;gap:12px}
.contact-list li{position:relative;padding-left:30px;color:#c7cee8;font-size:1.08rem;line-height:1.5}
.contact-list li::before{content:"";position:absolute;left:2px;top:.5em;width:12px;height:6px;border-left:2.5px solid #2BB3FF;border-bottom:2.5px solid #2BB3FF;transform:rotate(-45deg)}
.form-card{background:#fff;color:var(--ink);border-radius:24px;padding:clamp(20px,3vw,36px);box-shadow:0 50px 120px -40px rgba(6,9,22,.7);min-height:240px}

/* HubSpot forms (inline and pop-up): HubSpot draws the fields, validation and thank-you message inside its own frame */
.form-loading{color:var(--muted);font-size:.95rem}
.form-banner{margin-top:14px;padding:12px 14px;border-radius:12px;background:#fdecef;border:1px solid #f4c3cd;color:var(--danger);font-size:.95rem}
.form-loading[hidden],.form-banner[hidden]{display:none}
.form-retry{font:inherit;color:inherit;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.form-mount{min-height:120px}
.form-mount .hs-form-frame{width:100%}
.form-mount iframe{max-width:100%}

/* Footer */
.site-footer{background:var(--ink);color:#8d97bb;border-top:1px solid rgba(255,255,255,.1);padding:28px 0;font-size:.88rem}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}
.site-footer .logo-img{height:24px}
.site-footer .brand:focus-visible{outline-color:#fff}

/* Ebook pop-up */
.modal{border:0;padding:0;margin:auto;width:min(660px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 50px 120px -30px rgba(6,9,22,.7);overflow:hidden}
.modal::backdrop{background:rgba(6,9,22,.72);backdrop-filter:blur(6px)}
.modal[open]{animation:modalIn .28s cubic-bezier(.2,.7,.2,1)}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.modal-panel{position:relative;max-height:calc(100dvh - 32px);overflow-y:auto;padding:44px clamp(22px,4vw,44px) 32px}
.modal-close{position:absolute;top:14px;right:14px;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink-2);display:grid;place-items:center;cursor:pointer;transition:background .2s}
.modal-close:hover{background:var(--bg-soft);color:var(--ink)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .modal[open],.faq-a{animation:none}
  .btn{transition:none}
}

/* Tablet */
@media (max-width:980px){
  .platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-inner{grid-template-columns:1fr}
  .hero-video{max-width:680px}
  .why-layout{grid-template-columns:1fr;max-width:680px;margin-inline:auto}
  .why-image{order:-1}
  .story-grid{grid-template-columns:1fr;max-width:680px;margin-inline:auto}
  .uc-layout{grid-template-columns:1fr;max-width:680px;margin-inline:auto}
  .uc-image{order:-1}
  .contact-inner{grid-template-columns:1fr}
  .contact-copy{max-width:640px}
  .form-card{max-width:680px}
}

/* Mobile */
@media (max-width:600px){
  .header-inner{height:76px}
  .wrap{width:calc(100% - 36px)}
  .logo-img{height:24px}
  .site-footer .logo-img{height:22px}
  .btn{white-space:normal;text-align:center;line-height:1.25;padding-block:10px}
  .btn-lg{padding-inline:22px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
  .uc-grid{grid-template-columns:1fr}
  .platform-grid{grid-template-columns:1fr}
  /* The platform headline has a manual line break (two sentences). A slightly smaller size lets each sentence stay on one line on a phone. */
  #platform-title{font-size:clamp(1.55rem,7.2vw,2rem)}
  .map-wrap{border-radius:14px}
  .map-frame{height:720px}
  .faq-list summary{font-size:1.08rem;padding:18px 2px}
  .footer-inner{flex-direction:column;text-align:center}

  /* Pop-up: full-height panel */
  .modal{top:0;left:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0}
  .modal-panel{height:100%;max-height:none;padding:68px 20px 28px}
  .modal[open]{animation-name:modalInMobile}
  @keyframes modalInMobile{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
}

@media (max-width:360px){
  .logo-img{height:20px}
  .btn-sm{padding:0 12px}
  .header-inner{gap:8px}
  .btn-lg{padding-inline:18px;font-size:1rem}
}
