/* Simply Tech landing page. Colours are sampled from mockup.png (see README "Landing site"). Mobile first; no frameworks. */
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/nunito-sans-latin.woff2") format("woff2"); }

:root {
  --navy: #02307E;          /* logo wordmark, headings, card titles */
  --green-btn: #8EBF6C;     /* buttons */
  --green-icon: #86BA64;    /* card icon circles, step numbers */
  --green-accent: #7FB960;  /* "local businesses." */
  --green-line: #87C264;    /* link underline */
  --blue-body: #365EA0;     /* hero paragraph */
  --blue-sub: #4D71B3;      /* card lines, benefit and step lines */
  --blue-eyebrow: #597CB3;  /* hero eyebrow */
  --blue-eyebrow-soft: #8DA0BE; /* section eyebrow */
  --foot-text: #6C88B8;     /* footer text */
  --foot-fine: #929EB8;     /* copyright */
  --bg-page: #FCFDFD;       /* page */
  --bg-header: #FEFEFE;     /* header */
  --bg-footer: #FBFCFD;     /* footer */
  --bg-band: #F6FAF6;       /* light green band */
  --bg-circle: #EEF3F6;     /* benefit icon circles */
  --white: #FFFFFF;         /* cards, button text */
  --radius: 16px;
  --shadow: 0 6px 24px rgba(2, 48, 126, .08);
  --margin: clamp(20px, 3.3vw, 47px);
  --inset: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg-page); color: var(--blue-body); font: 400 18px/1.55 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
.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; }

/* One container, like the mockup: at 1440px it is 1346px wide with 47px margins (the mockup's 1048px of 1122px, scaled). */
.wrap { width: calc(100% - 2 * var(--margin)); max-width: 1346px; margin: 0 auto; }

/* header (mockup: 66px tall at 1122px -> 85px at 1440px) */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg-header); border-bottom: 1px solid #eef1f4; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 0 var(--inset); }
.brand img { width: 150px; height: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 30px; border: 0; border-radius: 18px;
  background: var(--green-btn); color: var(--white); font: 700 18px/1 "Nunito Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(134, 186, 100, .35); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(134, 186, 100, .45); }
.btn:focus-visible, .textlink:focus-visible, .card:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; white-space: nowrap; border-radius: 14px; }
.textlink { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green-line); padding-bottom: 3px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--blue-eyebrow); }
.eyebrow-soft { color: var(--blue-eyebrow-soft); font-size: 12px; letter-spacing: .3em; }
.accent { color: var(--green-accent); }

/* hero: text column + photo column, both inside the container (mockup: text 463px / photo 571px of 1048px) */
.hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 36px 0 44px; }
.hero-text { padding: 0 var(--inset); }
.hero h1 { margin: 18px 0 22px; font-size: clamp(38px, 9vw, 64px); line-height: 1.14; }
.lead { font-size: 19px; line-height: 1.62; max-width: 25em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 32px; }
.hero-photo img { width: 100%; aspect-ratio: 518 / 324; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

/* soft green panels (the mockup's value band): benefits, the "don't see your business" banner, the local & hands-on band */
.panel { background: var(--bg-band); border-radius: 22px; padding: 28px 24px; }
.benefits .eyebrow { margin-bottom: 22px; }
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.benefit { padding-left: 0; }
.benefit h2 { font-size: 22px; margin: 16px 0 6px; line-height: 1.2; }
.benefit p { color: var(--blue-sub); font-size: 17px; line-height: 1.45; max-width: 17em; }
.ico { display: inline-grid; place-items: center; border-radius: 50%; flex: none; }
.ico svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-soft { width: 58px; height: 58px; background: var(--bg-circle); color: var(--navy); }
.ico-green { width: 48px; height: 48px; background: var(--green-icon); color: var(--white); }

/* who we help (mockup: section eyebrow, 40px heading, 4 cards 320px wide with 4:3 photos, 22px gaps) */
.who { padding-top: 44px; }
.section-title { font-size: clamp(28px, 6vw, 40px); margin: 12px 0 28px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { display: flex; flex-direction: row; overflow: hidden; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease; scroll-margin-top: 100px; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(2, 48, 126, .13); }
.card:target { outline: 3px solid var(--green-icon); outline-offset: 4px; }
.card img { width: 132px; flex: none; object-fit: cover; min-height: 150px; height: auto; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
.card-text { display: flex; flex-direction: column; gap: 4px; }
.card-text strong { color: var(--navy); font-size: 19px; font-weight: 800; line-height: 1.2; }
.card-text span { color: var(--blue-sub); font-size: 15px; line-height: 1.4; }
.banner { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; scroll-margin-top: 100px; }
.banner h3 { margin: 10px 0 12px; font-size: clamp(24px, 5vw, 32px); }
.banner p:last-child { color: var(--blue-body); font-size: 18px; line-height: 1.55; max-width: 44em; }
.banner .btn { justify-self: start; }

/* how it works */
.how { padding-top: 40px; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
.steps .num { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--green-icon); color: var(--white); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--blue-sub); font-size: 18px; }

/* local & hands-on (about) band */
.offer-wrap { padding-top: 40px; padding-bottom: 40px; }
.offer { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.offer h2 { margin: 10px 0 12px; font-size: clamp(24px, 5vw, 32px); }
.offer-text p:not(.eyebrow) { color: var(--blue-body); font-size: 18px; line-height: 1.6; max-width: 40em; }
.offer .btn { justify-self: start; }

/* footer */
.foot { background: var(--bg-footer); padding: 36px 0 22px; }
.foot-in { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 0 var(--inset); }
.foot-brand img { width: 207px; height: auto; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--foot-text); font-size: 16px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding: 18px var(--inset) 0; border-top: 1px solid #e9eef3; font-size: 14px; }
.foot-base p { color: var(--foot-fine); }
.foot-base .community { color: var(--foot-text); }

/* privacy dialog (the chatbot's own privacy note, shown on this page) */
dialog#privacy { width: min(640px, 94vw); height: min(80vh, 640px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 60px rgba(2, 48, 126, .3); overflow: hidden; }
dialog#privacy::backdrop { background: rgba(2, 48, 126, .45); }
dialog#privacy iframe { width: 100%; height: 100%; border: 0; background: var(--white); }
.dialog-close { position: absolute; top: 8px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* tablet */
@media (min-width: 720px) {
  .top-in { min-height: 85px; }
  .brand img { width: 260px; }
  .btn-sm { min-height: 48px; padding: 12px 24px; font-size: 16px; }
  .panel { padding: 36px 40px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .benefit { padding: 0 32px; border-left: 1px solid var(--bg-circle); }
  .benefit:first-child { padding-left: 0; border-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .card { flex-direction: column; }
  .card img { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .card-body { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px 18px 22px; }
  .card-text strong { font-size: 21px; }
  .card-text span { font-size: 16px; }
  .ico-green { width: 52px; height: 52px; }
  .banner, .offer { grid-template-columns: 1fr auto; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .foot-in { grid-template-columns: auto 1fr; gap: 32px; }
  .foot-links { justify-content: flex-end; }
}

/* desktop: the mockup's proportions, scaled (1440px: 85px header, 64px headline, 320px cards in one row) */
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 38px 0 46px; }
  .hero-text { padding: 0 0 0 var(--inset); }
  .hero-photo img { border-radius: 24px; }
  .hero h1 { font-size: clamp(46px, 4.3vw, 62px); letter-spacing: -.022em; margin: 16px 0 20px; }
  .lead { font-size: clamp(19px, 1.52vw, 22px); max-width: none; }
  .btn { min-height: 60px; padding: 14px 40px; font-size: 20px; border-radius: 18px; }
  .btn-sm { min-height: 51px; padding: 12px 26px; font-size: 18px; border-radius: 16px; }
  .textlink { font-size: 19px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card-body { padding: 16px 16px 18px; gap: 12px; }
  .ico-green { width: 54px; height: 54px; }
  .ico-soft { width: 62px; height: 62px; }
  .benefit h2 { font-size: 24px; }
  .benefit p { font-size: 18px; }
  .who { padding-top: 40px; }
  .how { padding-top: 44px; }
  .offer-wrap { padding-top: 44px; padding-bottom: 40px; }
  .foot { padding-top: 40px; }
}
@media (min-width: 1200px) {
  .hero-text { padding-left: 23px; }
  .brand img { width: 357px; }
  .top-in { padding: 0 23px; }
}
