/* Gpeto Planning AI — parish and town councils */
:root {
  --navy: #0F3754;
  --ink: #0B2A42;
  --orange: #FC6800;
  --orange-deep: #E25D00;
  --orange-wash: #FFF1E6;
  --blue: #2E7DAB;
  --blue-wash: #E8F2F8;
  --green: #1F7A3A;
  --green-wash: #E6F4E9;
  --amber: #8A5200;
  --amber-wash: #FFF3D9;
  --white: #FFFFFF;
  --mist: #F5F8FA;
  --line: #DCE5EC;
  --muted: #47627A;
  --on-navy: #C8D9E6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 42, 66, .06), 0 12px 32px -8px rgba(11, 42, 66, .14);
  --shadow-lg: 0 2px 4px rgba(11, 42, 66, .06), 0 32px 64px -20px rgba(11, 42, 66, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #B7C6D2 var(--mist); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; color: var(--navy); }
p { text-wrap: pretty; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.2;
  padding: 16px 26px; border-radius: 10px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 42, 66, .2), 0 8px 20px -8px rgba(226, 93, 0, .7); }
.btn-primary:hover { background: #FF7A1F; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: var(--orange-deep); }
.btn-quiet { color: var(--navy); border-color: var(--line); background: var(--white); }
.btn-quiet:hover { border-color: var(--navy); }
.btn-sm { font-size: 15px; padding: 10px 18px; border-radius: 8px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(11, 42, 66, .3); }
.bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 32px; height: 27px; background: var(--navy); -webkit-mask: url(assets/gpeto-logo.png) top center / 32px auto no-repeat; mask: url(assets/gpeto-logo.png) top center / 32px auto no-repeat; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .01em; white-space: nowrap; }
.brand-name span { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--navy); }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 520px at 85% 0%, var(--blue-wash), transparent 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.07; }
.lede { margin-top: 22px; font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 54ch; }
.lede strong { color: var(--navy); font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.stats li { padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy); }
.stats span { font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stats li { gap: 2px; }
  .stats b { font-size: 1.1rem; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.terms { margin-top: 14px; font-size: 15px; color: var(--muted); }
.users { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.users b { color: var(--navy); font-weight: 600; }

.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.600 2.600L13 6.200' fill='none' stroke='%231F7A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Product shot */
.shot { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .9s var(--ease) both; }
@keyframes rise { from { transform: translateY(18px) scale(.985); } }
.shot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--navy); color: var(--white); }
.shot-title { font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.shot-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.shot-main { padding: 20px 20px 22px; }
.ref { font-size: 12.5px; font-weight: 600; color: #1D5A7E; }
.shot-h { font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; margin-top: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; line-height: 1.3; }
.tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tag-ok { background: var(--green-wash); color: var(--green); }
.tag-warn { background: var(--amber-wash); color: var(--amber); }
.tag-plain { background: rgba(255, 255, 255, .16); color: var(--white); }
.shot-sub { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 18px; letter-spacing: 0; }
.grounds li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.grounds li:first-child { margin-top: 8px; }
.grounds b { display: block; color: var(--navy); font-size: 14px; }
.grounds span { color: var(--muted); }
.shot-map { border-left: 1px solid var(--line); background: var(--mist); display: flex; flex-direction: column; }
.shot-map svg { width: 100%; height: auto; flex: 1; min-height: 0; }
.legend { padding: 12px 16px; display: grid; gap: 5px; font-size: 12.5px; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }
.legend li { display: flex; align-items: center; gap: 8px; }
.k { width: 14px; height: 10px; border-radius: 2px; flex: none; }
.k-site { background: rgba(252, 104, 0, .22); border: 2px solid var(--orange); }
.k-gb { background: repeating-linear-gradient(45deg, #8CC492 0 2px, #E3F1E4 2px 5px); }
.k-ca { background: rgba(46, 125, 171, .14); border: 1.5px dashed var(--blue); }

/* Sections */
.section { padding: 104px 0; }
.tint { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2, .pricing-copy h2, .judgement h2, .close h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* Tour */
.tour-section { padding-top: 72px; }
.tour { background: var(--navy); border-radius: 20px; padding: 14px 14px 22px; box-shadow: var(--shadow-lg); }
.tour-screen { position: relative; aspect-ratio: 1380 / 466; border-radius: 10px; overflow: hidden; background: #E7EEF3; }
.tour-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ox) var(--oy); opacity: 0; transform: scale(1.001); transform-origin: var(--ox) var(--oy); transition: opacity .7s var(--ease); }
.tour-frame.is-active { opacity: 1; animation: tour-zoom 6.5s linear both; }
.tour.is-paused .tour-frame.is-active { animation-play-state: paused; }
@keyframes tour-zoom { from { transform: scale(1); } to { transform: scale(1.14); } }
.tour-controls { display: flex; align-items: flex-start; gap: 14px; padding: 18px 10px 0; }
.tour-toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(200, 217, 230, .5); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.tour-toggle:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.tour-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tour-toggle .i-play { display: none; fill: currentColor; stroke-width: 1.5; }
.tour.is-paused .i-play { display: block; }
.tour.is-paused .i-pause { display: none; }
.tour-steps { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tour-step { font: inherit; text-align: left; background: none; border: 0; padding: 0 0 4px; cursor: pointer; color: var(--on-navy); display: grid; gap: 10px; }
.tour-step b { font-size: 15px; font-weight: 600; line-height: 1.3; transition: color .2s; }
.tour-step.is-active b, .tour-step:hover b { color: var(--white); }
.tour-progress { display: block; height: 4px; border-radius: 4px; background: rgba(200, 217, 230, .28); overflow: hidden; }
.tour-progress i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.tour-caption { margin: 16px 10px 0 64px; color: var(--white); font-size: 1.05rem; max-width: 70ch; min-height: 3.2em; }
@media (max-width: 680px) {
  .tour { padding: 10px 10px 18px; border-radius: 16px; }
  .tour-screen { aspect-ratio: 4 / 3; }
  .tour-controls { padding: 14px 4px 0; gap: 10px; }
  .tour-steps { gap: 6px; }
  .tour-step b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tour-step { padding: 18px 0; }
  .tour-caption { margin: 4px 4px 0; font-size: 1rem; min-height: 6.4em; }
}

/* Roles */
.roles { border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.role h3 { font-size: 1.45rem; max-width: 12ch; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.before, .after { padding: 24px 26px; border-radius: var(--radius); }
.before { background: var(--mist); }
.after { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.col-label { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.before .col-label { color: var(--muted); }
.after .col-label { color: #A84300; }
.role li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; }
.role li + li { margin-top: 10px; }
.before li { color: var(--muted); }
.before li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 10px; height: 2px; background: #9FB2C1; border-radius: 2px; }
.after li::before { content: ""; position: absolute; left: 2px; top: .34em; width: 14px; height: 14px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.3l2.2 2.2 4.6-5' fill='none' stroke='%230B2A42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.cell h3 { font-size: 1.25rem; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.cell-wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.cell-map { padding: 0; overflow: hidden; align-items: stretch; }
.cell-map .cell-text { padding: 34px 0 34px 30px; align-self: center; }
.mini { margin-top: auto; }
.docs { display: grid; gap: 8px; margin: 0; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--mist); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; color: var(--navy); }
.doc em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--green-wash); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ticks { margin-top: auto; padding-top: 22px; display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); }
.ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ticks .y { background: var(--green-wash); color: var(--green); }
.ticks .y::before { background: var(--green); }
.ticks .n { background: var(--amber-wash); color: var(--amber); }
.ticks .n::before { background: #D98A00; }
.pills { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--orange-wash); color: #8A3A00; }
.pills-blue span { background: var(--blue-wash); color: #1D5A7E; }
.layers { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.layers li { font-size: 14px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--white); }
.map { margin: 0; height: 100%; min-height: 260px; }
.map svg { width: 100%; height: 100%; }

.real { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); }
.real img { display: block; }
.real-fade { height: 270px; position: relative; box-shadow: var(--shadow); }
.real-fade img { height: 270px; width: auto; max-width: none; }
.real-fade::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 90px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); }
.real-map { border: 0; border-left: 1px solid var(--line); border-radius: 0; height: 100%; min-height: 300px; }
.real-map img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.steps li { position: relative; }
.num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 18px; position: relative; box-shadow: 0 0 0 8px var(--white); }
.steps li:last-child .num { background: var(--orange); color: var(--ink); }
.steps h3 { font-size: 1.2rem; margin-top: 24px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Trust */
.trust { padding: 0 0 96px; }
.trust h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 26ch; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); }
.trust-item { padding: 30px 36px 0 0; }
.trust-item + .trust-item { padding-left: 36px; border-left: 1px solid var(--line); }
.trust-item svg { width: 34px; height: 34px; fill: none; stroke: var(--orange-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-size: 1.2rem; margin-top: 16px; }
.trust-item p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .trust { padding-bottom: 68px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 26px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* Supporters */
.partners { background: var(--navy); padding: 40px 0 46px; }
.partners p { color: var(--on-navy); font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.partners ul { display: flex; align-items: center; justify-content: space-between; gap: 24px 36px; }
.partners li { flex: 0 1 auto; min-width: 0; }
.partners img { display: block; height: 42px; width: auto; max-width: 100%; object-fit: contain; }
.partners img.is-svg { height: 54px; filter: brightness(0) invert(1); }
@media (max-width: 1020px) {
  .partners ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
}
@media (max-width: 680px) {
  .partners { padding: 34px 0 38px; }
  .partners ul { grid-template-columns: repeat(2, auto); gap: 26px 24px; }
  .partners img { height: 34px; }
  .partners img.is-svg { height: 46px; }
}

/* Quotes */
.quote blockquote p { font-family: var(--serif); color: var(--navy); }
.quote figcaption { margin-top: 20px; display: grid; gap: 2px; font-size: 15px; }
.quote figcaption b { color: var(--navy); font-weight: 700; }
.quote figcaption span { color: var(--muted); }
.quote-lead { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 56px; }
.quote-lead blockquote { grid-row: span 2; }
.quote-lead blockquote p { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.35; }
.quote-lead blockquote p::before { content: "\201C"; }
.quote-lead blockquote p::after { content: "\201D"; }
.quote-lead figcaption { margin-top: 0; align-content: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.quote-more { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 20px; }
.quotes .quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quotes blockquote p { font-size: 1.08rem; line-height: 1.5; }
.quotes blockquote p::before { content: "\201C"; }
.quotes blockquote p::after { content: "\201D"; }
.quotes figcaption { margin-top: auto; padding-top: 22px; }

/* Judgement */
.judgement { background: var(--navy); color: var(--on-navy); padding: 96px 0; }
.judgement h2 { color: var(--white); }
.judgement-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.judgement-grid > div p { margin-top: 18px; font-size: 1.1rem; max-width: 56ch; }
.quote-dark { border: 1px solid rgba(200, 217, 230, .28); border-radius: var(--radius); padding: 34px; background: rgba(255, 255, 255, .05); }
.quote-dark blockquote p { color: var(--white); font-size: 1.2rem; line-height: 1.5; }
.quote-dark blockquote p::before { content: "\201C"; }
.quote-dark blockquote p::after { content: "\201D"; }
.quote-dark figcaption b { color: var(--on-navy); font-weight: 600; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pricing-copy p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.pricing-copy .backers { font-size: 15px; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); }
.plan { background: var(--white); border: 1.5px solid var(--navy); border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); }
.plan-name { font-weight: 700; color: var(--navy); font-size: 16px; }
.plan-price { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.phase { display: grid; gap: 2px; }
.amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.period { font-size: 15px; color: var(--muted); font-weight: 500; }
.then { font-size: 14px; font-weight: 600; color: var(--muted); padding: 4px 12px; border-radius: 999px; background: var(--mist); align-self: flex-start; margin-top: 14px; }
.plan-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.2' fill='none' stroke='%231F7A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.was { color: var(--muted); font-weight: 500; text-decoration-thickness: 1.5px; }
.amount .was { font-size: .5em; font-weight: 600; letter-spacing: 0; margin-right: 8px; vertical-align: .55em; }
.plan-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.plan-note { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--muted); }

/* Consultation */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.consult-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.consult-copy p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.consult-list { margin-top: 26px; display: grid; gap: 12px; }
.consult-list li { position: relative; padding-left: 30px; line-height: 1.45; }
.consult-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.2' fill='none' stroke='%231F7A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.consult-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 1px solid #B9C7D3; border-radius: 10px; background: var(--white); color: var(--ink); caret-color: var(--orange); }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consult-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-status { font-size: 15px; font-weight: 600; margin: -4px 0 0; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: var(--green); }
.form-status[data-kind="error"] { color: #B3261E; }
.form-small { font-size: 13.5px; color: var(--muted); margin: -6px 0 0; }
.form-small a { color: #1D5A7E; text-underline-offset: 3px; }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 1020px) { .consult { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 680px) { .consult-form { padding: 22px; } .field-row { grid-template-columns: 1fr; } .close-actions .btn { width: 100%; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq-wrap .section-head { margin: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: #1D5A7E; }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 66ch; }

/* Close */
.close { padding: 104px 0; text-align: center; background: radial-gradient(900px 400px at 50% 100%, var(--orange-wash), transparent 70%); }
.close-inner { max-width: 720px; }
.close p { margin: 16px 0 30px; font-size: 1.1rem; color: var(--muted); }

/* News */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.news-hero { padding: 72px 0 40px; background: radial-gradient(1200px 520px at 85% 0%, var(--blue-wash), transparent 70%); }
.news-hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); letter-spacing: -0.03em; max-width: 20ch; }
.news-hero .lede { max-width: 66ch; }
.news-updated { margin-top: 18px; font-size: 15px; color: var(--muted); }
.news-body { padding: 24px 0 96px; }
.news-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; }
.news-chip { font: inherit; font-size: 14.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.news-chip:hover { border-color: var(--navy); }
.news-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.news-search { position: relative; flex: 0 1 280px; }
.news-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.news-search input { font: inherit; font-size: 16px; width: 100%; padding: 10px 14px 10px 42px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); caret-color: var(--orange); }
.news-search input::placeholder { color: #5E7688; }
.news-search input:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
.news-count { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.news-month { font-size: 1.15rem; margin: 40px 0 14px; }
.news-list > .news-month:first-child { margin-top: 24px; }
.news-item { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: stretch; padding: 18px 64px 18px 18px; margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.news-item:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-1px); }
.news-thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mist); align-self: start; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb.is-plain { display: grid; place-items: center; padding: 12px; text-align: center; background: var(--navy); }
.news-thumb.is-plain span { color: var(--white); font-weight: 700; font-size: 15px; line-height: 1.25; }
.news-logo { position: absolute; top: 16px; right: 18px; width: 30px; height: auto; }
.news-text { display: flex; flex-direction: column; min-width: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.news-source { background: var(--blue-wash); color: #1D5A7E; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 5px 10px; border-radius: 999px; }
.news-meta time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-text h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; }
.news-text p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.news-go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: #1D5A7E; }
.news-go::after { content: " ↗"; }
.news-item:hover .news-go { text-decoration: underline; text-underline-offset: 4px; }
.news-empty { padding: 40px 0; color: var(--muted); }
.news-more { display: flex; margin: 32px auto 0; }
.news-teaser-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.news-teaser-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 22ch; }
.news-all { font-weight: 700; color: var(--navy); text-underline-offset: 5px; }
.foot-note { font-size: 13.5px; opacity: .85; }
@media (max-width: 860px) {
  .news-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 14px 16px; }
  .news-meta { padding-right: 34px; }
  .news-logo { top: 12px; right: 12px; width: 24px; }
  .news-text p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .news-search { flex-basis: 100%; }
  .news-hero { padding: 44px 0 28px; }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--on-navy); padding: 44px 0; font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.brand-light { color: var(--white); }
.brand-light .brand-mark { background: var(--white); }
.brand-light .brand-name span { color: var(--on-navy); }
.foot p { margin-top: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot nav a { text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .role { grid-template-columns: 1fr; gap: 20px; }
  .role h3 { max-width: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .quote-lead { grid-template-columns: 1fr; padding: 36px; }
  .quote-lead figcaption { margin-top: 22px; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote:first-child { grid-column: span 2; }
  .judgement-grid, .pricing, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section-head { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bar { height: 64px; gap: 12px; }
  .brand-name { font-size: 16px; }
  .hero { padding: 36px 0 28px; }
  .section, .close { padding: 68px 0; }
  .judgement { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .cta-row .btn { width: 100%; }
  .shot-body { grid-template-columns: 1fr; }
  .shot-map { border-left: 0; border-top: 1px solid var(--line); }
  .shot-map svg { aspect-ratio: 300 / 170; }
  .users { margin-top: 36px; }
  .role-cols { grid-template-columns: 1fr; gap: 12px; }
  .before, .after { padding: 20px; }
  .bento, .quotes { grid-template-columns: 1fr; }
  .cell-wide, .quotes .quote:first-child { grid-column: auto; }
  .cell-wide { grid-template-columns: 1fr; gap: 22px; }
  .cell { padding: 24px; }
  .cell-map { padding: 0; }
  .cell-map .cell-text { padding: 24px 24px 0; }
  .real-map { border-left: 0; border-top: 1px solid var(--line); min-height: 220px; }
  .real-fade, .real-fade img { height: 220px; }
  .map { min-height: 200px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps h3 { margin-top: 16px; }
  .quote-lead { padding: 26px; }
  .quotes .quote, .quote-dark { padding: 24px; }
  .plan { padding: 26px; }
  .plan-price { gap: 14px; flex-wrap: wrap; }
  .amount { font-size: 2.6rem; }
  .faq summary { font-size: 1.02rem; padding: 18px 0; }
  .faq details p { padding-right: 0; }
  .foot { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Header nav collapses before its links would wrap */
.nav a { white-space: nowrap; }
@media (max-width: 1200px) { .nav { display: none; } .bar .btn { margin-left: auto; } }
