/* shamrockcomply.com: one stylesheet for every page.
   The home page (site/home/index.html) uses the first part; the legal pages,
   the support pages and 404 (built by tools/build-site.mjs) share its header,
   footer, font and colours, and add the "Inner pages" part at the end.
   Colours and type follow ../BRAND.md. */

:root {
  --green: #0F5C3B;
  --green-dark: #0B4A2F;
  --ink: #10231A;
  --mint: #7FE0A8;
  --mint-light: #9BEABB;
  --mist: #F4F7F3;
  --white: #FFFFFF;
  --muted: rgba(16,35,26,0.75);
  --muted-strong: rgba(16,35,26,0.78);
  --line: rgba(16,35,26,0.08);
}

/* ---- Base ---- */
body{margin:0;background:var(--white)}
[hidden]{display:none !important}
a{color:var(--green)}a:hover{color:var(--ink)}
/* Keyboard focus: green on light backgrounds, mint on the dark ones. */
a:focus-visible,button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.sc-bg-green a:focus-visible,.sc-footer a:focus-visible,.page-head a:focus-visible,.sign a:focus-visible{outline-color:var(--mint)}
.sc-page{font-family:'Poppins',system-ui,sans-serif;color:var(--ink);background:var(--white);min-height:100%}
.sc-wrap{max-width:1200px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.sc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sc-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--ink);color:var(--white);padding:10px 14px;border-radius:8px;font-weight:600;text-decoration:none}
.sc-skip:focus{left:8px;color:var(--white)}

/* ---- Section backgrounds and spacing ---- */
.sc-section{padding:96px 0}
.sc-bg-white{background:var(--white)}
.sc-bg-mist{background:var(--mist)}
.sc-bg-green{background:var(--green);color:var(--white)}

/* ---- Type ---- */
.sc-eyebrow{font-size:13px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--green)}
.sc-eyebrow.sc-mint{color:var(--mint)}
.sc-kicker{font-size:13px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:var(--green)}
.sc-mint{color:var(--mint)}
.sc-h2{margin:0;font-size:40px;line-height:1.15;font-weight:700}
.sc-h2-narrow{max-width:640px}
.sc-h3{margin:0;font-size:30px;line-height:1.2;font-weight:600}
.sc-lead{margin:0;font-size:17px;line-height:1.6;color:var(--muted)}
.sc-body{margin:0;font-size:16px;line-height:1.65;color:var(--muted-strong)}
.sc-body-strong{font-weight:600;color:var(--green)}
.sc-body-lg{margin:0;font-size:17px;line-height:1.65;color:var(--muted-strong)}
.sc-section-head{display:flex;flex-direction:column;gap:12px;max-width:680px}
.sc-section-head.sc-centered{max-width:760px;margin-left:auto;margin-right:auto;text-align:center;align-items:center}
.sc-section-inner{display:flex;flex-direction:column;gap:48px}
.sc-copy-col{display:flex;flex-direction:column;gap:16px}

/* ---- Buttons ---- */
.sc-btn{text-decoration:none;font-size:16px;font-weight:600;padding:14px 24px;border-radius:8px;min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center}
.sc-btn-sm{white-space:nowrap;font-size:15px;padding:12px 20px;min-height:44px}
.sc-btn-primary,.sc-btn-primary:hover{color:var(--white);background:var(--green)}
.sc-btn-primary:hover{background:var(--green-dark)}
.sc-btn-mint,.sc-btn-mint:hover{color:var(--ink);background:var(--mint)}
.sc-btn-mint:hover{background:var(--mint-light)}
.sc-btn-ghost,.sc-btn-ghost:hover{color:var(--white);border:1.5px solid rgba(255,255,255,0.5);gap:10px}
.sc-btn-ghost:hover{background:rgba(255,255,255,0.12)}
.sc-btn-outline,.sc-btn-outline:hover{color:var(--green);border:1.5px solid var(--green)}
.sc-btn-outline:hover{background:var(--mist)}

/* ---- Header ---- */
.sc-header{position:relative;background:var(--white);border-bottom:1px solid var(--line)}
.sc-header-bar{display:flex;align-items:center;justify-content:space-between;height:76px;gap:24px}
.sc-logo-link{display:flex;align-items:center;min-height:44px}
.sc-logo{height:36px;width:auto;display:block}
.sc-nav-links{display:flex;gap:28px;align-items:center;white-space:nowrap}
.sc-nav-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-size:15px;font-weight:500;color:var(--ink)}
.sc-nav-links a:hover{color:var(--ink)}
.sc-header-actions{display:flex;align-items:center;gap:12px}
.sc-login,.sc-login:hover{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;text-decoration:none;font-size:15px;font-weight:500;color:var(--green);padding:10px 14px;border-radius:8px}
.sc-menu-btn{display:none;flex:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(16,35,26,0.15);border-radius:8px;background:var(--white);color:var(--ink);cursor:pointer}
.sc-menu-btn:focus-visible,.sc-menu a:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.sc-menu{position:absolute;top:100%;left:0;right:0;z-index:20;background:var(--white);border-bottom:1px solid rgba(16,35,26,0.12);box-shadow:0 24px 32px -24px rgba(16,35,26,0.35)}
.sc-menu[hidden]{display:none}
.sc-menu nav{display:flex;flex-direction:column;padding:8px 16px 20px}
.sc-menu a{display:flex;align-items:center;min-height:48px;font-size:17px;font-weight:500;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.sc-menu a.sc-menu-cta{justify-content:center;margin-top:16px;border:none;border-radius:8px;background:var(--green);color:var(--white);font-weight:600}

/* ---- Hero ---- */
.sc-hero{padding:88px 0 96px}
.sc-hero-grid{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));gap:32px;align-items:center}
.sc-hero-copy{grid-column:span 5;display:flex;flex-direction:column;gap:24px}
.sc-hero-video{grid-column:span 7;display:flex;flex-direction:column;gap:14px}
.sc-hero-h1{margin:0;font-size:52px;line-height:1.08;font-weight:700;letter-spacing:-0.01em}
.sc-hero-lead{margin:0;font-size:18px;line-height:1.6;color:rgba(255,255,255,0.86);max-width:460px}
.sc-hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.sc-hero-ticks{display:flex;gap:24px;flex-wrap:wrap;margin-top:8px;font-size:14px;color:rgba(255,255,255,0.75)}
.sc-hero-ticks > span{display:inline-flex;align-items:center;gap:8px}
.sc-video-frame{background:var(--ink);border-radius:16px;padding:10px;box-shadow:0 40px 80px -30px rgba(0,0,0,0.6)}
.sc-video{width:100%;height:auto;aspect-ratio:16 / 9;display:block;border-radius:10px;background:#000000}
.sc-video-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:rgba(255,255,255,0.75);padding:0 6px}
.sc-video-time{white-space:nowrap;font-weight:600;color:var(--mint)}

/* ---- Three questions ---- */
.sc-questions{padding:72px 0}
.sc-questions-inner{display:flex;flex-direction:column;gap:32px}
.sc-questions-intro{margin:0;font-size:18px;line-height:1.6;max-width:720px;color:var(--ink)}
.sc-q-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:24px}
.sc-q-card{background:var(--white);border-radius:12px;padding:28px;display:flex;flex-direction:column;gap:10px;border:1px solid var(--line)}
.sc-q-label{font-size:13px;font-weight:600;color:var(--green);letter-spacing:0.08em;text-transform:uppercase}
.sc-q-title{font-size:24px;font-weight:600;line-height:1.25}
.sc-q-text{font-size:15px;line-height:1.6;color:var(--muted)}

/* ---- How it works ---- */
.sc-steps{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:20px;list-style:none;margin:0;padding:0}
.sc-step{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:12px;background:var(--mist)}
.sc-step-num{width:40px;height:40px;border-radius:50%;background:var(--green);color:var(--white);font-weight:600;display:flex;align-items:center;justify-content:center}
.sc-step-title{font-size:18px;font-weight:600}
.sc-step-text{font-size:14px;line-height:1.55;color:var(--muted)}

/* ---- Features ---- */
.sc-features{display:flex;flex-direction:column;gap:96px}
.sc-feat{display:grid;grid-template-columns:repeat(12, minmax(0, 1fr));gap:40px;align-items:center}
.sc-feat-copy{grid-column:span 5;display:flex;flex-direction:column;gap:16px}
.sc-feat-shot{grid-column:span 7}
.sc-feat.sc-flip .sc-feat-copy{order:2}
.sc-feat.sc-flip .sc-feat-shot{order:1}
.sc-shot{width:100%;height:auto;display:block;border-radius:12px;border:1px solid rgba(16,35,26,0.12);box-shadow:0 24px 48px -24px rgba(16,35,26,0.35)}
.sc-ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.5}
.sc-ticks.sc-ticks-loose{margin-top:8px;gap:12px;line-height:normal}
.sc-ticks li{display:flex;gap:10px;align-items:flex-start}
.sc-ticks svg{flex-shrink:0;margin-top:3px}
.sc-rest{display:flex;flex-direction:column;gap:24px}
.sc-rest-title{margin:0;font-size:24px;font-weight:600}
.sc-cards{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:24px}
.sc-card{background:var(--white);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px;border:1px solid var(--line)}
.sc-card-title{font-size:18px;font-weight:600}
.sc-card-text{font-size:15px;line-height:1.55;color:var(--muted)}

/* ---- Phones ---- */
.sc-phones{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:40px;align-items:end}
.sc-phone{margin:0;display:flex;flex-direction:column;gap:16px;align-items:center}
.sc-phone-shot{width:100%;max-width:300px;height:auto;display:block;border-radius:28px;border:1px solid rgba(16,35,26,0.15);box-shadow:0 24px 48px -24px rgba(16,35,26,0.4)}
.sc-phone figcaption{text-align:center;display:flex;flex-direction:column;gap:4px}
.sc-phone-title{font-size:17px;font-weight:600}
.sc-phone-text{font-size:14px;color:rgba(16,35,26,0.7)}

/* ---- Outcomes ---- */
.sc-outcomes{padding:88px 0}
.sc-outcomes-inner{display:flex;flex-direction:column;gap:40px}
.sc-outcome{display:flex;flex-direction:column;gap:8px;padding:24px;border-radius:12px;background:rgba(255,255,255,0.06);border:1px solid rgba(127,224,168,0.3)}
.sc-outcome-title{font-size:20px;font-weight:600;color:var(--mint)}
.sc-outcome-text{font-size:15px;line-height:1.55;color:rgba(255,255,255,0.82)}

/* ---- Why we built it ---- */
.sc-why{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:48px;align-items:center}
.sc-signoff{font-size:15px;font-weight:600;color:var(--green)}
.sc-quote-panel{background:var(--mist);border-radius:16px;padding:40px;display:flex;flex-direction:column;gap:28px}
.sc-quote-icon{width:64px;height:64px;display:block}
.sc-quote{margin:0;font-size:22px;line-height:1.45;font-weight:500;color:var(--ink)}
.sc-quote-source{font-size:14px;color:rgba(16,35,26,0.7)}

/* ---- Demo form ---- */
.sc-demo{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:48px;align-items:start}
.sc-form-card{background:var(--white);border-radius:16px;padding:36px;display:flex;flex-direction:column;gap:18px;border:1px solid var(--line);box-shadow:0 24px 48px -32px rgba(16,35,26,0.3)}
.sc-form-card.sc-thanks{gap:14px}
.sc-thanks p{margin:0;font-size:16px;line-height:1.6;color:var(--muted-strong)}
.sc-form-title{font-size:20px;font-weight:600}
.sc-form-row{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px}
.sc-field{display:flex;flex-direction:column;gap:6px}
.sc-field label{font-size:14px;font-weight:500}
.sc-input{width:100%;box-sizing:border-box;height:48px;padding:0 14px;border:1px solid rgba(16,35,26,0.25);border-radius:8px;font-family:inherit;font-size:16px;color:var(--ink);background:var(--white)}
.sc-input:focus{outline:2px solid var(--green);outline-offset:1px}
.sc-form-note{margin:0;padding:12px 14px;border-radius:8px;font-size:15px;line-height:1.5}
.sc-form-error{background:#FDECEC;color:#8A1F1F}
.sc-form-error a,.sc-form-error a:hover{color:#8A1F1F}
.sc-submit{font-family:inherit;font-size:16px;font-weight:600;border:none;padding:14px 24px;border-radius:8px;min-height:48px;cursor:pointer}
.sc-form-small{font-size:13px;color:rgba(16,35,26,0.65);line-height:1.5}

/* ---- Footer ---- */
.sc-footer{background:var(--ink);color:rgba(255,255,255,0.8);padding:64px 0 40px}
.sc-footer-inner{display:flex;flex-direction:column;gap:48px}
.sc-foot{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.sc-foot-brand{display:flex;flex-direction:column;gap:16px}
.sc-foot-logo{height:36px;width:auto;display:block;align-self:flex-start}
.sc-foot-about{font-size:14px;line-height:1.6;max-width:320px}
.sc-foot-col{display:flex;flex-direction:column;gap:10px;font-size:14px}
.sc-foot-heading{font-weight:600;color:var(--white);margin-bottom:4px}
.sc-foot-col a,.sc-foot-col a:hover{color:rgba(255,255,255,0.8);text-decoration:none}
.sc-foot-col a[aria-current="page"]{color:var(--white);font-weight:600}
/* Inner pages: footer links a full 44px tall, for thumbs. */
.sc-foot-links{gap:0}
.sc-foot-links .sc-foot-heading{margin-bottom:6px}
.sc-foot-links a{display:flex;align-items:center;min-height:44px}
.sc-foot-bottom{border-top:1px solid rgba(255,255,255,0.12);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;color:rgba(255,255,255,0.6)}

/* ---- Inner pages: legal, support and 404 ----
   Their body markup (site/src/pages) is unchanged from before, so these
   rules style its class names in the home page's look. */
.sc-inner .wrap{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px;box-sizing:border-box}

/* The page title band: green, like the home page hero. The box-shadow
   carries the colour to both edges of the window without widening the page. */
.page-head{background:var(--green);color:var(--white);box-shadow:0 0 0 100vmax var(--green);clip-path:inset(0 -100vmax);padding-top:72px;padding-bottom:64px}
.page-head .eyebrow{margin:0 0 16px;font-size:13px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--mint)}
.page-head .h1{margin:0;font-size:52px;line-height:1.08;font-weight:700;letter-spacing:-0.01em;max-width:16em}
.page-head .lead{margin:24px 0 0;font-size:18px;line-height:1.6;color:rgba(255,255,255,0.86);max-width:40em}
.page-head .lead a{color:var(--white);text-decoration:underline;text-underline-offset:3px}
.page-head .lead a:hover{color:var(--mint)}
.fact-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.fact-chip{display:flex;flex-direction:column;gap:4px;box-sizing:border-box;max-width:270px;padding:14px 18px;border-radius:12px;background:rgba(255,255,255,0.06);border:1px solid rgba(127,224,168,0.3);font-size:14px;line-height:1.5}
.fact-chip strong{font-size:16px;font-weight:600;color:var(--mint)}
.fact-chip span{color:rgba(255,255,255,0.82)}
.fact-chip.plain{display:inline-flex;padding:8px 14px;border-radius:8px;font-weight:500;color:rgba(255,255,255,0.86)}

/* Legal pages: the "On this page" index beside the text. */
.fx-layout{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:64px;padding-bottom:96px}
.fx-nav{flex:1 1 240px;max-width:280px;min-width:0}
.side-index{background:var(--mist);border-radius:12px;padding:20px}
.side-title{font-size:13px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--green);padding:0 12px 8px}
.side-group{display:flex;flex-direction:column;gap:2px}
.side-group a{display:flex;align-items:center;min-height:44px;box-sizing:border-box;padding:8px 12px;border-radius:8px;font-size:14px;line-height:1.35;font-weight:500;color:var(--ink);text-decoration:none}
.side-group a:hover{background:var(--white);color:var(--ink)}
.side-group a.is-active,.side-group a.is-active:hover{background:var(--green);color:var(--white);font-weight:600}
.other-legal{display:flex;flex-direction:column;margin-top:16px;padding:16px 12px 0;border-top:1px solid rgba(16,35,26,0.12);font-size:14px}
.other-legal span{font-weight:600;padding-bottom:4px}
.other-legal a{display:flex;align-items:center;min-height:44px;color:var(--green);text-decoration:underline;text-underline-offset:3px}
.legal{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:48px;font-size:16px;line-height:1.65;color:var(--muted-strong)}
.legal section{scroll-margin-top:24px}
.legal h2{margin:0 0 16px;font-size:30px;line-height:1.2;font-weight:600;color:var(--ink)}
.legal p{margin:0 0 14px;max-width:44em}
.legal ul{margin:0 0 14px;padding-left:22px;max-width:44em}
.legal li{margin-bottom:8px}
.legal li::marker{color:var(--green)}
.legal strong{font-weight:600;color:var(--ink)}
.legal section > :last-child{margin-bottom:0}
.legal .spec{margin:0 0 14px;display:grid;grid-template-columns:max-content 1fr;gap:10px 24px;max-width:44em;padding:24px;border-radius:12px;background:var(--mist)}
.legal .spec dt{font-weight:600;color:var(--ink)}
.legal .spec dd{margin:0}
.kept-boxes{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0 20px;max-width:44em}
.kept{flex:1 1 220px;display:flex;flex-direction:column;gap:4px;border-radius:12px;padding:20px;background:var(--white);border:1px solid var(--line)}
.kept strong{font-weight:600;color:var(--ink)}
.kept span{font-size:15px;line-height:1.55;color:var(--muted)}
.kept.eu{background:var(--mist);border:2px solid var(--green)}
.kept.eu strong{color:var(--green)}

/* The closing call to action (data protection). */
.cta-section{padding-bottom:96px}
.sign{background:var(--green);color:var(--white);border-radius:16px;padding:48px}
.sign-inner{display:flex;flex-wrap:wrap;gap:24px 32px;align-items:center;justify-content:space-between}
.sign-copy{flex:1 1 420px;min-width:0}
.sign-title{margin:0;font-size:40px;line-height:1.15;font-weight:700}
.sign-copy p{margin:12px 0 0;font-size:18px;line-height:1.6;color:rgba(255,255,255,0.86)}
.btn-sign,.btn-sign:hover{text-decoration:none;font-size:16px;font-weight:600;color:var(--ink);background:var(--mint);padding:14px 24px;border-radius:8px;min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center}
.btn-sign:hover{background:var(--mint-light)}

/* 404 */
.nf{padding-bottom:96px}
.nf-sign{display:inline-flex;align-items:center;justify-content:center;margin-bottom:24px;padding:8px 18px;border-radius:12px;border:1px solid rgba(127,224,168,0.3);background:rgba(255,255,255,0.06);color:var(--mint);font-size:40px;font-weight:700;line-height:1}
.nf .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.nf .btn{text-decoration:none;font-size:16px;font-weight:600;padding:14px 24px;border-radius:8px;min-height:48px;box-sizing:border-box;display:inline-flex;align-items:center}
.nf .btn-primary,.nf .btn-primary:hover{color:var(--ink);background:var(--mint)}
.nf .btn-primary:hover{background:var(--mint-light)}
.nf .btn-outline,.nf .btn-outline:hover{color:var(--white);border:1.5px solid rgba(255,255,255,0.5)}
.nf .btn-outline:hover{background:rgba(255,255,255,0.12)}
.nf .small{margin:28px 0 0;font-size:14px;line-height:1.6;color:rgba(255,255,255,0.75)}
.nf .small a{color:var(--white);text-decoration:underline;text-underline-offset:3px}
.nf .small a:hover{color:var(--mint)}

/* The index sticks beside the text on wide screens. */
@media (min-width:1001px){
  .legal-layout .fx-nav{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto}
}

/* ---- Narrower screens (home page breakpoints first) ---- */
@media (max-width:1100px){
  .sc-nav-links{display:none}
  .sc-menu-btn{display:inline-flex}
}
@media (max-width:1000px){
  .sc-hero-grid,.sc-feat{grid-template-columns:minmax(0, 1fr)}
  .sc-hero-copy,.sc-hero-video,.sc-feat-copy,.sc-feat-shot{grid-column:1 / -1}
  .sc-feat.sc-flip .sc-feat-copy{order:1}
  .sc-feat.sc-flip .sc-feat-shot{order:2}
  .sc-steps{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .sc-foot{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .fx-nav{flex-basis:100%;max-width:none}
  .side-group{flex-direction:row;flex-wrap:wrap;gap:6px}
  .side-group a{background:var(--white)}
  .other-legal{flex-direction:row;flex-wrap:wrap;column-gap:16px}
  .other-legal span{flex:1 1 100%}
}
@media (max-width:720px){
  .sc-wrap{padding:0 16px}
  .sc-inner .wrap{padding-left:16px;padding-right:16px}
  .sc-login{display:none}
  .sc-q-grid,.sc-cards,.sc-phones,.sc-why,.sc-demo,.sc-form-row,.sc-steps,.sc-foot{grid-template-columns:repeat(1, minmax(0, 1fr))}
  .sc-hero-h1,.page-head .h1{font-size:40px}
  .sc-h2,.sign-title{font-size:32px}
  .page-head{padding-top:48px;padding-bottom:48px}
  .fx-layout{padding-top:40px;padding-bottom:72px;gap:40px}
  .legal h2{font-size:26px}
  .legal .spec{grid-template-columns:minmax(0, 1fr);gap:2px;padding:20px}
  .legal .spec dd{margin-bottom:10px}
  .sign{padding:32px 24px}
  .fact-chip{max-width:none}
}
@media (max-width:480px){
  .sc-head-cta{display:none}
}
