:root {
  color-scheme: light;
  --night:#0b1424;
  --night-light:#101d30;
  --ink:#111d2e;
  --text:#435165;
  --rule:#dbe3eb;
  --mint:#84efd9;
  --teal:#00746a;
  --paper:#fff;
  --wash:#f3f6fa;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 1rem/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; }
[hidden] { display:none !important; }
:focus-visible { outline:3px solid #168d87; outline-offset:4px; }
.header :focus-visible,.hero :focus-visible,.contact :focus-visible,.footer :focus-visible { outline-color:var(--mint); }
h1,h2,h3 { margin:0; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.1; letter-spacing:-.035em; }
h2 { font-size:clamp(2.15rem,4.6vw,3.6rem); font-weight:800; }
h3 { font-size:1.36rem; font-weight:800; }
p { margin:0; }
.container { width:min(100% - 80px,1200px); margin-inline:auto; }
.skip { position:absolute; inset:8px auto auto 8px; transform:translateY(-150%); z-index:5; background:var(--mint); color:var(--ink); padding:8px 16px; }
.skip:focus { transform:none; }
.header { background:var(--night); color:#f5f9ff; border-bottom:1px solid #223044; }
.header-row { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; text-decoration:none; color:inherit; line-height:1.15; font-weight:750; font-size:.92rem; }
.brand-mark { width:43px; height:43px; flex:none; display:grid; place-items:center; border-radius:10px; background:var(--mint); color:var(--night); font:800 .8rem system-ui,sans-serif; letter-spacing:-.07em; }
.brand-region { display:block; color:#a7b7cb; margin-top:4px; font-size:.68rem; letter-spacing:.12em; text-transform:uppercase; font-weight:650; }
nav ul { display:flex; gap:34px; list-style:none; margin:0; padding:0; }
nav a,.footer-row > a:last-child { text-decoration:none; color:#c4d0df; font-size:.9rem; font-weight:600; }
nav a:hover,.footer-row > a:last-child:hover { color:var(--mint); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; border-radius:8px; padding:10px 17px; font-size:.88rem; line-height:1.35; font-weight:700; text-decoration:none; border:1px solid transparent; transition:background-color .18s ease,border-color .18s ease; }
.button span { font-size:1.05em; }
.button-primary { background:var(--mint); color:var(--night); }
.button-primary:hover { background:#aff9ec; }
.button-outline { border-color:#415168; color:#eef6ff; background:transparent; }
.button-outline:hover { border-color:#7ba6ac; background:#223144; }
.header .button { min-height:42px; }
.hero { background:radial-gradient(ellipse at 86% 45%,#142942,transparent 57%),var(--night); color:#f5f9ff; padding:68px 0 72px; }
.hero-grid { display:grid; grid-template-columns:1.06fr 1fr; gap:48px; align-items:center; }
.hero-copy { padding-block:12px; }
.label { color:var(--teal); text-transform:uppercase; letter-spacing:.13em; font-size:.72rem; font-weight:750; line-height:1.5; }
.location { display:flex; align-items:center; gap:9px; color:#b9cadd; margin-bottom:21px; }
.location span { width:8px; height:8px; flex:none; border-radius:50%; background:var(--mint); box-shadow:0 0 0 4px #84efd91b; }
.hero h1 { font-size:clamp(2.75rem,5.1vw,5rem); line-height:1.04; letter-spacing:-.058em; font-weight:800; }
.hero h1 em { color:var(--mint); font-style:normal; }
.hero-description { margin-top:24px; max-width:31rem; font-size:clamp(1rem,1.5vw,1.16rem); color:#bdcadd; }
.actions { display:flex; gap:10px; flex-wrap:wrap; }
.hero .actions { margin-top:29px; }
.hero-visual { aspect-ratio:1.3; position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:stretch; border-radius:16px; border:1px solid #344961; background:#17283e; }
.hero-visual img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hero-visual::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(145deg,#13484c14,transparent 48%,#090f2340); }
.section { padding:78px 0 84px; scroll-margin-top:20px; }
.section-intro { margin-bottom:32px; }
.section-intro .label,.about .label,.contact .label { margin-bottom:10px; }
.service-grid { display:grid; gap:17px; grid-template-columns:repeat(3,1fr); }
.service { min-width:0; display:flex; flex-direction:column; align-items:start; padding:26px; border:1px solid var(--rule); border-radius:12px; background:var(--paper); }
.service-icon { width:45px; height:45px; margin-bottom:22px; display:grid; place-content:center; grid-template-columns:none; position:relative; border-radius:10px; background:#e2f7f1; color:#006a61; }
.browser-icon::before { content:""; width:22px; height:17px; border:2px solid currentColor; border-radius:4px; }
.browser-icon::after { content:""; position:absolute; left:13px; right:13px; top:19px; border-top:2px solid currentColor; }
.software-icon { grid-template-columns:repeat(2,8px); gap:3px; }
.software-icon i { width:8px; height:8px; border:1.6px solid currentColor; border-radius:2px; }
.automation-icon { font-size:1.55rem; line-height:1; font-weight:700; }
.service p,.project p:not(.label) { margin-top:11px; margin-bottom:22px; color:var(--text); font-size:.95rem; }
.service a,.project-copy a { margin-top:auto; color:var(--teal); text-decoration:none; font-size:.88rem; font-weight:700; }
.service a:hover,.project-copy a:hover,.contact-email:hover { text-decoration:underline; text-underline-offset:4px; }
.service a span,.project-copy a span { margin-left:3px; }
.work { background:var(--wash); border-block:1px solid #e5ebf1; }
.work-intro { display:flex; justify-content:space-between; align-items:end; gap:18px; }
.work-intro > p { max-width:330px; color:var(--text); }
.work-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:21px; }
.project { border:1px solid var(--rule); border-radius:14px; background:var(--paper); overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.project-copy { padding:25px; flex:1; display:flex; align-items:start; flex-direction:column; }
.project-copy .label { margin-bottom:7px; }
.project-visual { height:216px; position:relative; overflow:hidden; display:grid; place-items:center; }
.joinery img { width:100%; height:100%; object-fit:cover; object-position:center 58%; }
.ticket-scene { background:linear-gradient(145deg,#10213b,#1b4256); }
.triage-scene { background:linear-gradient(135deg,#153d44,#0f5a5b); }
.terminal-scene { background:linear-gradient(145deg,#233153,#10192f); }
.mini-window { width:min(77%,360px); border-radius:9px; overflow:hidden; background:#f6fafc; box-shadow:0 15px 45px #070d2450; font-size:clamp(.62rem,1.2vw,.78rem); }
.mini-top { padding:8px 10px; background:#e2eaf2; display:flex; align-items:center; gap:13px; font-weight:700; }
.mini-dots { width:5px; height:5px; margin-right:12px; background:#88a2b6; border-radius:50%; box-shadow:8px 0 #88a2b6,16px 0 #88a2b6; }
.mini-body { padding:9px 12px 12px; }
.mini-kicker { color:#40536b; letter-spacing:.09em; font-size:.8em; font-weight:800; }
.mini-row { display:flex; align-items:center; justify-content:space-between; gap:5px; min-height:26px; border-bottom:1px solid #dfe8ee; }
.status { padding:0 5px; border-radius:10px; font-size:.76em; font-weight:700; white-space:nowrap; }
.status.open { color:#085ea4; background:#dbeefa; }
.status.pending { color:#774900; background:#f9edcc; }
.status.done { color:#12715e; background:#def5ec; }
.terminal { background:#0b1424; color:#c4d1e7; font-family:ui-monospace,monospace; }
.terminal .mini-top { background:#273653; }
.terminal .mini-row { border-color:#253349; }
.terminal .mini-row span:last-child,.terminal-command { color:var(--mint); }
.about-grid,.contact-grid { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:64px; }
.about-grid > div > p:last-child,.contact-copy > p:not(.label) { margin-top:18px; max-width:460px; }
.about-grid > div > p:last-child,.process p { color:var(--text); }
.process { margin:0; list-style:none; padding:0; border-top:1px solid var(--rule); }
.process li { display:grid; grid-template-columns:auto 1fr; gap:15px; padding:15px 0; border-bottom:1px solid var(--rule); }
.process li > span { padding-top:2px; color:var(--teal); font-weight:750; font-size:.8rem; }
.process h3 { font-size:1.06rem; }
.process p { margin-top:4px; font-size:.91rem; }
.contact { color:#f5f9ff; background:var(--night); }
.contact .label,.contact-email { color:var(--mint); }
.contact-copy > p:not(.label),#form-note { color:#b9c7da; }
.contact-email { display:inline-block; margin-top:18px; overflow-wrap:anywhere; }
form { padding:24px; background:var(--night-light); border:1px solid #304157; border-radius:13px; }
#form-note { font-size:.87rem; margin-bottom:16px; }
.field { margin-bottom:13px; }
.field label,.brief-output label { display:block; font-size:.88rem; font-weight:650; margin-bottom:5px; }
.field select,.field textarea,#draft { display:block; width:100%; color-scheme:dark; color:#f4f8fe; background:#0b1525; border:1px solid #53647b; border-radius:7px; padding:9px 11px; font-size:.9rem; }
.field textarea,#draft { resize:vertical; }
.field textarea::placeholder { color:#a9b9cc; }
.brief-output { margin-top:15px; }
.brief-output .actions { margin-top:10px; }
.form-status:not(:empty) { margin-top:9px; font-size:.87rem; color:var(--mint); }
.footer { background:var(--night); border-top:1px solid #253449; color:#eaf1fa; }
.footer-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:24px 0; }
.footer-row p { color:#a7b7cb; font-size:.85rem; }
@media (max-width:1050px) { .wide-only { display:none; } .hero-grid { gap:32px; } }
@media (max-width:820px) {
  .container { width:calc(100% - 48px); }
  .header-row { flex-wrap:wrap; gap:12px 16px; padding:13px 0; }
  nav ul { gap:17px; }
  .hero { padding:48px 0; }
  .hero-grid { grid-template-columns:1fr; gap:24px; }
  .hero-visual { aspect-ratio:1.65; }
  .hero-visual img { object-position:center 55%; }
  .service { padding:18px; }
  .section { padding:57px 0; }
  .about-grid,.contact-grid { gap:25px; }
  .project-visual { height:175px; }
}
@media (max-width:590px) {
  .container { width:calc(100% - 32px); }
  .header-row nav { order:3; width:100%; }
  .header .button { min-height:37px; padding:6px 8px; font-size:.72rem; gap:6px; }
  .brand { gap:7px; font-size:.8rem; }
  .brand-region { font-size:.58rem; }
  .brand-mark { width:35px; height:35px; }
  .hero { padding:31px 0 36px; }
  .hero-copy { padding-block:0; }
  .location { margin-bottom:13px; font-size:.64rem; }
  .hero h1 { font-size:clamp(2.37rem,10.5vw,3.6rem); }
  .hero-description { margin-top:14px; }
  .hero .actions { margin-top:20px; }
  .hero-visual { border-radius:12px; }
  .service-grid,.work-grid,.about-grid,.contact-grid { grid-template-columns:1fr; }
  .work-intro { align-items:start; flex-direction:column; }
  .section-intro { margin-bottom:22px; }
  .service-icon { margin-bottom:13px; }
  .project-copy { padding:19px; }
  .footer-row { flex-wrap:wrap; }
  .footer-row p { width:100%; order:3; }
  form { padding:17px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none !important; } }

nav .nav-offer { color: var(--mint); }
nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { nav ul { gap: 17px; } }
@media (max-width: 590px) {
  nav ul { gap: 7px 15px; flex-wrap: wrap; }
  nav a { font-size: .83rem; }
}

/* Service and case-study pages */
.page-hero { padding-block: clamp(40px, 8vw, 95px); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.65rem, 6vw, 5rem); }
.page-hero .hero-description { max-width: 640px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); }
.detail-main, .detail-aside { display: grid; align-content: start; gap: 27px; }
.detail-main .detail-panel { padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.detail-main .detail-panel h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.detail-panel p, .detail-panel ul, .detail-panel .process, .detail-panel .checklist { margin-top: 13px; }
.detail-panel p, .detail-panel ul, .checklist p { color: var(--text); }
.detail-panel ul, .checklist { padding-inline-start: 1.35rem; margin-bottom: 0; }
.detail-panel li + li { margin-top: 7px; }
.detail-panel .process li + li { margin-top: 0; }
.detail-panel a, .text-link { color: var(--teal); font-weight: 700; text-underline-offset: 4px; }
.detail-aside .detail-panel { padding: 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--wash); }
.detail-aside .detail-panel h2 { font-size: 1.25rem; }
.about-grid > div > p { margin-top: 18px; max-width: 480px; color: var(--text); }
.about-grid .text-link { display: inline-block; margin-top: 15px; }
.checklist h3 { font-size: 1.12rem; }
.checklist li + li { margin-top: 21px; }
.checklist p { margin-top: 4px; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band-row h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); }
.band-row p { margin-top: 9px; max-width: 60ch; }
.band-row > a { flex-shrink: 0; }
.compact-band { padding-block: 48px; }
.compact-band p { color: #b9c7da; }
.resource-band { background: var(--wash); padding-block: 42px; }
.resource-band p { color: var(--text); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 13px; }
.check-field { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: .88rem; }
.check-field input { width: 1.15rem; height: 1.15rem; flex: none; margin: 0; accent-color: var(--mint); }
.footer-row a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .band-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 380px) {
  .field-pair { grid-template-columns: 1fr; }
}
nav a { display: inline-block; min-height: 24px; }
@media (max-width: 480px) {
  .hero .actions .button { min-height: 44px; }
}
.contact-copy h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }

.home-links { background: var(--wash); border-block: 1px solid var(--rule); }
.home-links ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-inline: auto; padding-block: 25px; }
.home-links a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); background: var(--paper); }
.home-links a:hover { color: var(--teal); border-color: var(--teal); }
.home-links a span { margin-left: 10px; color: var(--teal); }
.footer-resource { color: #c4d0df; font-size: .9rem; font-weight: 600; text-underline-offset: 4px; }
.footer-resource:hover { color: var(--mint); }
@media (max-width: 1020px) {
  .header-row { flex-wrap: wrap; gap: 12px 16px; padding: 13px 0; }
  .header-row nav { order: 3; width: 100%; }
  .header-row > .button { margin-inline-start: auto; }
}
@media (max-width: 590px) {
  .home-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field input { display: block; width: 100%; color-scheme: dark; color: #f4f8fe; background: #0b1525; border: 1px solid #53647b; border-radius: 7px; padding: 9px 11px; font-size: .9rem; }
.form-privacy { font-size: .88rem; margin-bottom: 14px; color: #b9c7da; }
.form-privacy a { color: var(--mint); }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 15px; }
.footer-row { flex-wrap: wrap; }
.policy-copy { max-width: 760px; }
.policy-copy .detail-panel + .detail-panel { margin-top: 28px; }
.policy-copy .detail-panel h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.offer-faq dt { font-weight: 750; }
.offer-faq dd { margin: 4px 0 19px; color: var(--text); }

/* ASB orbit identity and Dundee cover */
:root { --mint: #29dcf2; }
.brand { gap: 10px; }
.brand-logo { display: block; width: 180px; height: 72px; object-fit: cover; flex: none; border-radius: 6px; }
.brand > .brand-region { margin: 0; font-size: .75rem; }
.home-hero { padding-block: 48px 56px; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.home-hero .hero-copy { max-width: 850px; }
.home-hero h1 { max-width: 840px; font-size: clamp(2.75rem, 5.1vw, 4.7rem); }
.home-hero .hero-description { max-width: 640px; }
.brand-cover { overflow: hidden; border-radius: 16px; border: 1px solid #234765; background: #03132a; box-shadow: 0 20px 60px #0003; }
.brand-cover img { display: block; width: 100%; height: auto; }
@media (max-width: 590px) {
 .brand-logo { width: 140px; height: 56px; }
 .brand > .brand-region { display: none; }
 .home-hero { padding-block: 32px; }
 .home-hero .hero-grid { gap: 26px; }
 .brand-cover { border-radius: 9px; }
 .home-hero h1 { font-size: clamp(2.37rem, 10.5vw, 3.6rem); }
}

/* Dundee artwork: masthead plus atmospheric hero background */
.home-header { background: #021127; }
.header-artwork { width: min(100%, 1600px); margin-inline: auto; }
.header-artwork img { display: block; width: 100%; height: auto; }
.home-header .header-row { border-top: 1px solid #234765; }
.home-hero {
 background-image: linear-gradient(90deg, rgba(3, 13, 30, .97) 0%, rgba(3, 13, 30, .91) 48%, rgba(3, 13, 30, .75) 100%), url('/assets/asb-dundee-cover.webp');
 background-size: cover;
 background-position: center bottom;
 padding-block: clamp(48px, 7vw, 96px);
}
.home-hero .hero-copy { max-width: 820px; }
.home-hero .hero-description { color: #d0dceb; }
.home-hero .button-outline { background: #07172be6; }
@media (max-width: 820px) {
 .home-hero { background-image: linear-gradient(90deg, rgba(3, 13, 30, .96), rgba(3, 13, 30, .87)), url('/assets/asb-dundee-cover-small.webp'); }
}

/* Continuous portrait artwork across the homepage */
.home-page {
 background-color: #021127;
 background-image: linear-gradient(rgba(2, 12, 28, .18), rgba(2, 12, 28, .1)), url('/assets/asb-dundee-portrait.webp');
 background-size: 100% 100%;
 background-position: center top;
 background-repeat: no-repeat;
 color: #f5f9ff;
 min-height: 100vh;
}
.home-page .home-header { background: rgba(2, 12, 28, .38); }
.home-page .home-hero { background: transparent; min-height: 62vh; display: flex; align-items: center; }
.home-page .hero-copy { padding: clamp(20px, 3vw, 40px); border-radius: 16px; background: rgba(3, 14, 31, .64); border: 1px solid #23476570; }
.home-page .home-links { background: rgba(3, 14, 31, .56); border-color: #234765; }
.home-page .home-links a { background: rgba(6, 25, 46, .85); color: #edf7ff; border-color: #31506b; }
.home-page .home-links a:hover { color: var(--mint); border-color: var(--mint); }
.home-page .footer { background: rgba(2, 12, 28, .64); padding-top: 28px; }
@media (max-width: 820px) {
 .home-page { background-image: linear-gradient(rgba(2, 12, 28, .18), rgba(2, 12, 28, .1)), url('/assets/asb-dundee-portrait-small.webp'); }
 .home-page .home-hero { min-height: 58vh; }
}
@media (max-width: 590px) {
 .home-page .hero-copy { padding: 22px 18px; }
 .home-page .footer { padding-top: 18px; }
}

/* Website packages and compact navigation */
.nav-toggle {
  min-height: 44px;
  padding: 7px 10px;
  background: transparent;
  color: #eaf1fa;
  border: 1px solid #415168;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 700;
}
.header .header-contact { min-height: 44px; margin-inline-start: 0; font-size: .875rem; }
@media (max-width: 900px) {
  .header-row { gap: 8px; min-height: 68px; padding-block: 8px; }
  .header-row .brand { margin-inline-end: auto; }
  .header-row .brand-logo { width: 120px; height: 48px; }
  .header-row nav { order: 3; width: 100%; }
  .header-row nav ul { display: flex; flex-wrap: wrap; gap: 5px 16px; padding-block: 4px; }
  .header-row nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .header-row { flex-wrap: nowrap; gap: 12px; }
  .header-row nav { order: 0; width: auto; }
  .header-row nav ul { gap: 14px; }
  .header-row .brand-logo { width: 125px; height: 50px; }
  .header-row .brand-region { display: none; }
}
.home-page .home-hero { min-height: auto; padding-block: clamp(24px, 4.5vw, 63px); }
.home-page { background-size: 100% auto; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); }
.home-page .home-hero .hero-copy { padding: 0; background: none; border: 0; }
.home-hero h1 { font-size: clamp(2.25rem, 4.2vw, 4.1rem); }
.home-demo { margin: 0; padding: 8px; border: 1px solid #31506b; border-radius: 13px; background: #0c1e35; }
.home-demo img { width: 100%; height: auto; border-radius: 7px; }
.home-demo figcaption { display: grid; gap: 2px; padding: 9px 8px 3px; font-size: .875rem; color: #d0dceb; }
.home-demo figcaption strong { color: #fff; }
.home-page .footer { padding-top: 0; }
.launch-strip { background: #102640; border-block: 1px solid #31506b; padding-block: 12px; color: #edf7ff; }
.launch-strip .container { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.launch-strip a { color: var(--mint); font-weight: 750; text-underline-offset: 4px; }
.home-packages { color: var(--ink); background: var(--paper); }
.home-admin { color: var(--ink); }
.home-admin .admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-packages .section-intro p,.home-admin .section-intro p,.pricing-section .section-intro p { margin-top: 9px; color: var(--text); }
.pricing-hero { padding-block: clamp(30px, 5vw, 58px); }
.pricing-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
.pricing-jump { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; }
.pricing-jump a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.pricing-section { padding-block: clamp(35px, 5vw, 64px); scroll-margin-top: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(17px, 2.4vw, 27px);
  background: var(--paper);
  border: 1px solid #cbd8e3;
  border-radius: 12px;
  scroll-margin-top: 16px;
}
.plan-card p,.plan-card ul { color: var(--text); }
.plan-card ul { margin: 0 0 auto; padding-inline-start: 1.25em; }
.plan-card li + li { margin-top: 5px; }
.plan-card .button { width: 100%; }
.plan-card .plan-price,.service .plan-price { color: var(--ink); font-size: clamp(1.32rem, 2.65vw, 1.95rem); font-weight: 800; line-height: 1.25; }
.service .plan-price { margin: 12px 0 0; }
.plan-card .plan-year,.plan-card .plan-cost-note,.plans-note { font-size: .88rem; }
.plan-card .plan-cost-note { color: var(--text); }
.featured-plan { border: 2px solid #00847e; background: #eefaf9; }
.plan-aside { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; }
.plan-aside p { margin-top: 7px; color: var(--text); }
.plans-note { margin-top: 16px; color: var(--text); }
.pricing-details { margin-top: 15px; }
.pricing-details summary,.brief-options summary { cursor: pointer; min-height: 44px; padding-block: 9px; font-weight: 700; }
.pricing-details p { max-width: 75ch; color: var(--text); }
.extras-list { margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--paper); }
.extras-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 14px; padding: 15px 17px; }
.extras-list div + div { border-top: 1px solid var(--rule); }
.extras-list dt { font-weight: 750; }
.extras-list dd { margin: 0; color: var(--text); }
.brief-options { margin-bottom: 12px; border-top: 1px solid #415168; border-bottom: 1px solid #415168; }
.brief-options summary { color: #e5f0fc; }
.brief-selected { padding: 9px 12px; margin-bottom: 14px; border: 1px solid #435872; border-radius: 7px; color: #e6f4fe; }
.form-status-email { display: inline-block; margin-top: 5px; color: var(--mint); }
.field-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.field { min-width: 0; }
@media (max-width: 820px) {
  .home-hero .hero-grid,.plan-grid { grid-template-columns: minmax(0,1fr); }
  .home-demo { max-width: 560px; }
}
@media (max-width: 600px) {
  .field-pair,.contact-grid,.home-admin .admin-grid,.extras-list div { grid-template-columns: minmax(0,1fr); }
  .contact .field input,.contact .field select,.contact .field textarea { font-size: 1rem; }
  .home-hero h1 { font-size: clamp(2.13rem, 8.7vw, 3.12rem); }
}
