/* =========================================================
   SaaS Launch — Premium Startup / SaaS Template
   Easy to customize: change the variables below to rebrand.
   ========================================================= */

:root {
  --brand:     #6366f1;   /* primary             */
  --brand-2:   #22d3ee;   /* accent / gradient   */
  --bg:        #0a0b15;   /* page background     */
  --bg-2:      #0f1120;   /* alt sections        */
  --card:      #14162a;   /* card background     */
  --line:      #232645;   /* borders             */
  --ink:       #f4f5fb;   /* headings            */
  --body:      #a7abc9;   /* body text           */
  --muted:     #6b6f93;   /* secondary           */
  --radius:    18px;
  --maxw:      1140px;
  --font:      'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #8b5cf6); color: #fff; box-shadow: 0 12px 30px -10px rgba(99,102,241,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(99,102,241,.7); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; }

.eyebrow { display: inline-block; font-family: var(--font); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.grad { background: linear-gradient(110deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----- Header ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,11,21,.7); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font); font-weight: 700; font-size: 21px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--body); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.login-link { color: var(--ink) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ----- Hero ----- */
.hero { position: relative; padding: 90px 0 70px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 760px; height: 560px; background: radial-gradient(circle at center, rgba(99,102,241,.35), transparent 62%); filter: blur(20px); pointer-events: none; }
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.pill { display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); background: rgba(255,255,255,.03); margin-bottom: 26px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; margin-bottom: 22px; }
.hero .lead { font-size: 19px; color: var(--body); max-width: 600px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-sub { font-size: 14px; color: var(--muted); margin-bottom: 56px; }

/* hero window mockup */
.hero-window { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); text-align: left; }
.window-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: #2c2f52; }
.window-bar span:nth-child(1){ background:#ff5f57; } .window-bar span:nth-child(2){ background:#febc2e; } .window-bar span:nth-child(3){ background:#28c840; }
.window-body { display: grid; grid-template-columns: 190px 1fr; min-height: 280px; }
.wb-sidebar { padding: 24px 20px; border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.wb-line { height: 12px; border-radius: 6px; background: #20233f; }
.wb-main { padding: 26px 26px; display: grid; gap: 16px; align-content: start; }
.wb-row { display: flex; align-items: center; gap: 14px; }
.wb-chip { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex: none; }
.wb-chip.alt { background: linear-gradient(135deg,#f472b6,#8b5cf6); }
.wb-bar { height: 14px; border-radius: 7px; background: #20233f; }
.wb-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 8px; }
.wb-cards span { height: 70px; border-radius: 12px; background: linear-gradient(160deg,#1b1e38,#20233f); border: 1px solid var(--line); }
.w40{width:40%}.w50{width:50%}.w60{width:60%}.w70{width:70%}.w80{width:80%}.w90{width:90%}

/* ----- Logos ----- */
.logos { padding: 18px 0 36px; }
.logos p { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.logo-row span { font-family: var(--font); font-weight: 700; font-size: 18px; color: #3a3e63; }

/* ----- Sections ----- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 620px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px,4vw,42px); font-weight: 700; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--body); }

/* ----- Features ----- */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .25s, border-color .25s; }
.feature:hover { transform: translateY(-5px); border-color: var(--brand); }
.f-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; font-size: 22px; background: rgba(99,102,241,.12); border: 1px solid var(--line); margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 9px; }
.feature p { font-size: 15px; }

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-family: var(--font); font-weight: 700; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 15px; }

/* ----- Stats ----- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 44px 24px; }
.stats-band strong { display: block; font-family: var(--font); font-size: clamp(28px,4vw,40px); color: var(--ink); }
.stats-band span { font-size: 14px; color: var(--muted); }

/* ----- Quote ----- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--font); font-size: clamp(22px,3vw,30px); font-weight: 500; color: var(--ink); line-height: 1.45; margin-bottom: 22px; }
.quote footer { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--body); font-size: 15px; }
.q-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#f472b6,#8b5cf6); }

/* ----- Pricing ----- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; position: relative; transition: transform .25s; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 30px 70px -30px rgba(99,102,241,.5); transform: scale(1.03); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: var(--font); font-weight: 600; font-size: 12px; padding: 6px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 12px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.price .amount { font-family: var(--font); font-size: 42px; font-weight: 700; color: var(--ink); }
.price .per { font-size: 16px; color: var(--muted); }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.price-card li { position: relative; padding-left: 28px; font-size: 15px; color: var(--body); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }

/* ----- FAQ ----- */
.faq-wrap { max-width: 760px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 14px; background: var(--card); }
.faq-list summary { font-family: var(--font); font-weight: 600; font-size: 17px; color: var(--ink); padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--brand-2); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; font-size: 15px; color: var(--body); }

/* ----- Final CTA ----- */
.final-cta { padding: 100px 0; text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(99,102,241,.22), transparent 60%); }
.final-cta h2 { font-size: clamp(30px,4.5vw,48px); font-weight: 700; margin-bottom: 16px; }
.final-cta p { font-size: 18px; color: var(--body); max-width: 520px; margin: 0 auto 30px; }

/* ----- Footer ----- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-tag { margin-top: 14px; max-width: 240px; font-size: 15px; color: var(--muted); }
.footer-col h4 { color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--body); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .features-grid, .steps, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .window-body { grid-template-columns: 150px 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 24px 22px; transform: translateY(-130%); transition: transform .35s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .features-grid, .steps, .pricing-grid, .stats-band, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* =========================================================
   MULTI-PAGE ADDITIONS (appended — do not edit rules above)
   ========================================================= */

/* ----- Active nav link ----- */
.nav a.active { color: var(--ink); position: relative; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px; }
@media (max-width: 720px) { .nav a.active::after { display: none; } .nav a.active { color: var(--brand-2); } }

/* ----- Page banner + breadcrumb ----- */
.page-banner { position: relative; overflow: hidden; padding: 84px 0 64px; text-align: center; background: radial-gradient(620px 320px at 50% -10%, rgba(99,102,241,.22), transparent 65%); border-bottom: 1px solid var(--line); }
.page-banner .eyebrow { margin-bottom: 16px; }
.page-banner h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 700; margin-bottom: 18px; }
.page-banner .banner-lead { font-size: 18px; color: var(--body); max-width: 620px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; font-family: var(--font); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--body); transition: color .2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--brand-2); }

/* ----- Feature category blocks ----- */
.feature-cat { margin-bottom: 64px; }
.feature-cat:last-child { margin-bottom: 0; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-head .f-icon { margin-bottom: 0; }
.cat-head h2 { font-size: clamp(22px, 3vw, 30px); }
.cat-head p { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ----- Split / media-text rows ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 80px; }
.split:last-child { margin-bottom: 0; }
.split.reverse .split-media { order: 2; }
.split-text h2 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 16px; }
.split-text p { font-size: 16px; margin-bottom: 22px; }
.split-list { list-style: none; display: grid; gap: 12px; }
.split-list li { position: relative; padding-left: 30px; font-size: 15px; color: var(--body); }
.split-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-2); font-weight: 700; }
.split-media { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.8); }
.media-stack { display: grid; gap: 14px; }
.media-stack .ms-row { display: flex; align-items: center; gap: 14px; }
.media-stack .ms-chip { width: 38px; height: 38px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.media-stack .ms-chip.alt { background: linear-gradient(135deg,#f472b6,#8b5cf6); }
.media-stack .ms-chip.c3 { background: linear-gradient(135deg,#22d3ee,#34d399); }
.media-stack .ms-bar { height: 14px; border-radius: 7px; background: #20233f; flex: 1; }
.media-stack .ms-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 6px; }
.media-stack .ms-cards span { height: 64px; border-radius: 12px; background: linear-gradient(160deg,#1b1e38,#20233f); border: 1px solid var(--line); }

/* ----- Integrations grid ----- */
.integrations-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.integration { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; transition: transform .25s, border-color .25s; }
.integration:hover { transform: translateY(-4px); border-color: var(--brand); }
.integration .int-logo { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(99,102,241,.12); border: 1px solid var(--line); }
.integration strong { display: block; font-family: var(--font); color: var(--ink); font-size: 15px; }
.integration span { font-size: 13px; color: var(--muted); }

/* ----- Comparison table ----- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-table thead th { font-family: var(--font); color: var(--ink); font-size: 15px; background: rgba(255,255,255,.02); }
.compare-table thead th.col-feat { text-align: center; }
.compare-table thead th.col-feat.hi { color: var(--brand-2); }
.compare-table td.center, .compare-table th.center { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--ink); font-weight: 500; }
.compare-table .yes { color: var(--brand-2); font-weight: 700; }
.compare-table .no { color: var(--muted); }
.compare-table .grp td { background: rgba(255,255,255,.02); font-family: var(--font); color: var(--brand-2); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* ----- Pricing toggle ----- */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 44px; font-family: var(--font); }
.price-toggle .pt-label { font-size: 15px; color: var(--body); cursor: pointer; transition: color .2s; }
.price-toggle .pt-label.active { color: var(--ink); }
.pt-switch { position: relative; width: 56px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; padding: 0; }
.pt-switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); transition: transform .25s; }
.pt-switch.annual .knob { transform: translateX(26px); }
.pt-save { font-size: 12px; font-weight: 600; color: var(--brand-2); background: rgba(34,211,238,.12); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.price .amount .annual-price { display: none; }
.pricing-grid.annual .monthly-price { display: none; }
.pricing-grid.annual .annual-price { display: inline; }

/* ----- Security grid ----- */
.security-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.sec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sec-card .f-icon { margin-bottom: 16px; }
.sec-card h3 { font-size: 18px; margin-bottom: 8px; }
.sec-card p { font-size: 15px; }
.badge-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.badge-row .cert { font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--body); border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px 22px; }

/* ----- Values grid ----- */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.value .f-icon { margin-bottom: 16px; }
.value h3 { font-size: 19px; margin-bottom: 9px; }
.value p { font-size: 15px; }

/* ----- Team grid ----- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.member { text-align: center; }
.member .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 1px solid var(--line); }
.member .avatar.a2 { background: linear-gradient(135deg,#f472b6,#8b5cf6); }
.member .avatar.a3 { background: linear-gradient(135deg,#22d3ee,#34d399); }
.member .avatar.a4 { background: linear-gradient(135deg,#fbbf24,#f472b6); }
.member strong { display: block; font-family: var(--font); color: var(--ink); font-size: 17px; }
.member span { font-size: 14px; color: var(--muted); }

/* ----- Timeline (story) ----- */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.tl-item .tl-year { font-family: var(--font); font-weight: 700; color: var(--brand-2); font-size: 14px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 8px; }
.tl-item p { font-size: 15px; }

/* ----- Contact layout ----- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label { display: block; font-family: var(--font); font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .2s; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input.invalid, .form-row textarea.invalid, .form-row select.invalid { border-color: #f87171; }
.field-error { display: none; color: #f87171; font-size: 13px; margin-top: 6px; }
.field-error.show { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-success { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: rgba(34,211,238,.1); border: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.form-success.show { display: block; }
.contact-info { display: grid; gap: 18px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card .f-icon { margin-bottom: 14px; }
.info-card h3 { font-size: 17px; margin-bottom: 6px; }
.info-card p { font-size: 15px; }
.info-card a { color: var(--brand-2); }

/* ----- Office grid ----- */
.office-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.office { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.office h3 { font-size: 18px; margin-bottom: 8px; }
.office p { font-size: 15px; }
.office .flag { font-size: 28px; display: block; margin-bottom: 12px; }

/* ----- Responsive additions ----- */
@media (max-width: 960px) {
  .integrations-grid, .team-grid { grid-template-columns: repeat(2,1fr); }
  .security-grid, .office-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; margin-bottom: 56px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .values-grid, .integrations-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
}

/* ----- Photo helpers (wired-in real images) ----- */
.has-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* hero window: let the dashboard image fill the body */
.hero-window .window-body.photo-body { display: block; min-height: 0; padding: 0; }
.hero-window .window-body.photo-body img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* split media: drop the card padding so the photo fills edge-to-edge */
.split-media.photo-media { padding: 0; overflow: hidden; }
.split-media.photo-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
