:root {
    --ink: #192b26;
    --muted: #626e68;
    --green: #08785d;
    --green-dark: #065b46;
    --line: #dfe5e1;
    --surface: #f5f7f5;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, select { cursor: pointer; }
button { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c18b2f; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
.container { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.contact-strip { background: #f2f5f3; border-bottom: 1px solid var(--line); font-size: 12px; color: #4b5a53; }
.contact-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.contact-links { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-links a { white-space: nowrap; }
.contact-links a:hover { color: var(--green); text-decoration: underline; }
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); z-index: 20; }
.navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* KheisrahNet logo: /assets/logo.png */
.brand::before {
    content: "";
    display: block;
    width: 210px;
    height: 58px;
    background: url("/assets/logo.png") left center / contain no-repeat;
    flex: 0 0 auto;
}

/* Hide the old CSS/text logo while keeping existing HTML unchanged. */
.brand-symbol,
.brand-wordmark {
    display: none;
}
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 14px; font-weight: 500; padding-block: 12px; }
nav a:hover { color: var(--green); }
.button { min-height: 48px; padding: 12px 21px; border: 1px solid var(--green); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--green); color: white; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .15s, border-color .15s; }
.button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button span { font-size: 19px; line-height: 1; }
.button-small { min-height: 42px; padding: 10px 18px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--green); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.hero { position: relative; min-height: 490px; height: min(560px, 66svh); overflow: hidden; background: #eeefed; }
.hero-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,246,244,.88), rgba(245,246,244,.68) 29%, transparent 58%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.hero-copy { width: 49%; max-width: 530px; padding-block: 36px; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--green); line-height: 1.5; margin-bottom: 14px; }
.hero h1 { font-size: 54px; font-weight: 700; }
.hero h1 > span { display: block; margin-top: 14px; font-size: 42px; font-weight: 400; line-height: 1.15; }
.hero-description { max-width: 390px; margin-top: 20px; font-size: 16px; color: #4c5a52; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 27px; flex-wrap: wrap; }
.hero-price { margin-top: 22px; font-size: 12px; color: #4b5a53; }
.hero-price strong { color: var(--ink); font-weight: 700; }
.service-strip { border-bottom: 1px solid var(--line); }
.service-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 25px; gap: 30px; }
.service-points > div { display: flex; align-items: center; gap: 15px; font-size: 12px; color: var(--muted); }
.service-points strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.point-number { color: #769788; font-size: 13px; padding: 8px 0; border-bottom: 2px solid #b6cbbf; }
.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
h2 { font-size: 34px; font-weight: 600; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.plan-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.plan-tabs button { appearance: none; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 66px; background: #f7faf8; border: 1px solid #d5e0d9; border-bottom-width: 3px; border-radius: 7px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #43554c; text-align: left; }
.plan-tabs button small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }
.plan-tabs button[aria-selected="true"] { border-color: #8db6a6; border-bottom-color: var(--green); background: #eef7f2; color: var(--green); }
.plan-tabs button:hover { border-color: #9dbdad; color: var(--green); }
.tab-icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 7px; background: #e2eee8; color: var(--green); }
.tab-icon::before, .tab-icon::after { content: ""; position: absolute; }
.tab-icon-internet::before { width: 20px; height: 10px; border: 3px solid currentColor; border-top: 0; border-radius: 0 0 20px 20px; transform: rotate(180deg); top: 9px; }
.tab-icon-internet::after { width: 6px; height: 6px; border-radius: 50%; background: currentColor; bottom: 9px; }
.tab-icon-bundles::before { width: 18px; height: 12px; border: 2px solid currentColor; border-radius: 3px; left: 7px; top: 8px; }
.tab-icon-bundles::after { width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; right: 7px; bottom: 7px; }
.tab-icon-telephone::before { width: 16px; height: 22px; border: 3px solid currentColor; border-radius: 12px 12px 6px 6px; transform: rotate(-24deg); }
.tab-icon-telephone::after { width: 8px; height: 3px; border-radius: 99px; background: currentColor; bottom: 8px; right: 8px; transform: rotate(-24deg); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.plan-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 3px solid #81ac9b; border-radius: 7px; background: white; padding: 25px; min-width: 0; }
.plan-card:nth-child(2) { border-top-color: #437fac; }
.plan-card:nth-child(3) { border-top-color: #b49a5e; }
.plan-card:nth-child(4) { border-top-color: #678fba; }
.plan-card:nth-child(5) { border-top-color: #a4709a; }
.plan-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-card h3 { font-size: 18px; font-weight: 600; }
.plan-type { font-size: 10px; text-align: right; color: var(--muted); }
.plan-artwork { display: block; margin-top: 18px; border: 1px solid #e1e8e4; border-radius: 6px; background: #f7faf8; overflow: hidden; aspect-ratio: 1; }
.plan-artwork img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.plan-artwork:hover img { transform: scale(1.025); }
.speed { margin-top: 18px; line-height: 1; }
.speed small { display: block; margin-bottom: 7px; font-size: 12px; color: var(--muted); }
.speed strong { font-size: 64px; font-weight: 600; }
.speed > span { color: var(--muted); margin-left: 7px; font-size: 15px; }
.speed .voice-title { font-size: 34px; }
.plan-description { color: var(--muted); font-size: 13px; line-height: 1.75; min-height: 70px; margin-top: 16px; }
.plan-bottom { border-top: 1px solid var(--line); padding-top: 20px; margin-top: auto; }
.plan-price { display: block; }
.plan-price strong { font-size: 25px; font-weight: 600; }
.plan-price > span { display: inline-block; margin-left: 6px; font-size: 12px; color: var(--muted); }
.button-outline { margin-top: 17px; width: 100%; background: white; color: var(--green); border-color: #9cbdb0; justify-content: space-between; }
.button-outline:hover { background: #edf5f0; color: var(--green-dark); }
.solo-grid { grid-template-columns: minmax(0, 440px); }
.section-note { margin-top: 22px; font-size: 12px; color: var(--muted); }
.fallback-heading { margin: 24px 0 16px; }
.js-ready .fallback-heading { display: none; }
.coverage-band { background: #edf3ef; border-block: 1px solid #dce6df; }
.coverage-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 62px; }
.coverage-layout h2 { line-height: 1.2; }
.coverage-layout > div > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 400px; margin-top: 20px; }
.coverage-layout .text-link { margin-top: 24px; }
.area-row { padding: 16px 0; border-bottom: 1px solid #cfded4; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.area-row:first-child { padding-top: 0; }
.area-row strong { font-size: 18px; font-weight: 600; }
.area-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.status { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; white-space: nowrap; }
.status i { height: 6px; width: 6px; background: currentColor; border-radius: 50%; }
.status-partial { color: #826022; }
.coverage-areas > p { font-size: 12px !important; }
.registration-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 95px; }
.registration-intro > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 20px; max-width: 330px; }
.next-steps { list-style: none; margin: 35px 0; padding: 0; display: grid; gap: 24px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps li > span { border: 1px solid #cbd8d0; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; color: var(--green); }
.next-steps strong { font-size: 14px; font-weight: 600; }
.next-steps p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.registration-help { border-top: 1px solid var(--line); padding-top: 23px; font-size: 13px; }
.registration-help > span { display: block; color: var(--muted); }
.registration-help a { display: inline-flex; align-items: center; gap: 30px; font-size: 23px; color: var(--green); margin-top: 6px; font-weight: 600; }
.form-panel { min-width: 0; }
.form-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 24px; }
.form-heading h3 { font-size: 22px; font-weight: 600; }
.form-heading > span { font-size: 11px; color: var(--green); }
.registration-form { display: grid; gap: 28px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
legend > span { color: #83958a; margin-right: 12px; font-size: 11px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wide-field { grid-column: 1 / -1; }
label { display: block; font-size: 12px; font-weight: 500; }
.required { color: var(--green); }
.optional { color: #7b837e; font-size: 11px; font-weight: 400; }
input, select { display: block; margin-top: 7px; width: 100%; max-width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #ccd6cf; border-radius: 4px; color: var(--ink); background: #fff; font-size: 14px; line-height: 1.4; }
select { appearance: none; padding-right: 42px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 15px) 52%; background-size: 7px 7px, 7px 7px; background-repeat: no-repeat; }
.plan-select { min-height: 56px; border-color: #9fb9ad; background-color: #fbfdfb; font-weight: 600; }
input::placeholder { color: #89918c; }
input:focus, select:focus { border-color: var(--green); outline: 2px solid #dcefe5; outline-offset: 1px; }
.submit-row { border-top: 1px solid var(--line); padding-top: 22px; }
.submit-row > p { font-size: 12px; color: var(--muted); margin-bottom: 18px; line-height: 1.7; }
.submit-row .button { width: 100%; justify-content: space-between; }
.error-box { border-left: 3px solid #ae463a; padding: 16px 20px; background: #fff4f1; color: #7c3029; margin-bottom: 24px; font-size: 13px; }
.error-box ul { margin-bottom: 0; padding-left: 18px; }
.success-box { border-top: 3px solid var(--green); padding-top: 24px; }
.success-box h2 { font-size: 28px; overflow-wrap: anywhere; }
.success-box > p:not(.eyebrow) { margin-top: 20px; font-size: 14px; color: var(--muted); }
.summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-block: 26px; }
.summary-grid dt { font-size: 12px; color: var(--muted); }
.summary-grid dd { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
footer { background: #192e28; color: #dbe5df; }
.footer-main { display: grid; grid-template-columns: 1.3fr .75fr 1fr; gap: 50px; padding-block: 48px; }
/* KheisrahNet footer logo */
.footer-brand {
    display: block;
    width: 240px;
    height: 72px;
    margin-bottom: 18px;
    font-size: 0;
    background: url("/assets/logo-white.png") left center / contain no-repeat;
}
.footer-brand > span { display: none; }
.footer-main p { font-size: 13px; color: #b2c3b8; line-height: 1.8; margin-top: 12px; }
.footer-location { display: block; margin-top: 20px; font-size: 12px; color: #b2c3b8; }
.footer-main h2 { font-size: 14px; font-weight: 600; margin-bottom: 18px; color: white; }
.footer-navigation a, .footer-contact a { display: block; width: fit-content; font-size: 13px; padding-block: 4px; }
.footer-contact > span { display: block; font-size: 11px; color: #b2c3b8; margin-bottom: 10px; }
.footer-main a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #3b4d44; padding-block: 20px; font-size: 11px; color: #b2c3b8; }
dialog { border: 0; border-radius: 7px; padding: 18px; width: min(680px, calc(100% - 32px)); max-height: 92svh; color: var(--ink); }
dialog::backdrop { background: rgba(8,20,15,.7); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.dialog-heading h2 { font-size: 16px; }
.dialog-close { border: 1px solid var(--line); background: white; padding: 8px 12px; border-radius: 4px; font-size: 13px; }
#artwork-image { width: 100%; height: auto; display: block; }

@media (min-width: 1700px) {
    .hero-photo { object-position: center 35%; }
    .hero { height: 560px; }
}
@media (max-width: 1000px) {
    .container { width: calc(100% - 48px); }
    .navigation { gap: 18px; }
    nav { gap: 18px; }
    .contact-strip-inner > span { display: none; }
    .contact-strip-inner { justify-content: center; }
    .hero h1 { font-size: 46px; }
    .hero h1 > span { font-size: 36px; }
    .hero-copy { width: 50%; }
    .hero-photo { object-position: 58% center; }
    .hero-description { max-width: 320px; font-size: 14px; }
    .hero-actions { gap: 15px; }
    .section-heading { align-items: flex-start; }
    .section-heading > p { max-width: 250px; }
    h2 { font-size: 30px; }
    .plan-grid { gap: 14px; }
    .plan-card { padding: 18px; }
    .plan-card-heading { flex-wrap: wrap; gap: 5px; }
    .plan-description { min-height: 90px; }
    .plan-tabs button { padding-inline: 10px; gap: 9px; }
    .tab-icon { width: 30px; height: 30px; flex-basis: 30px; }
    .coverage-layout, .registration-layout { gap: 44px; }
    .footer-main { gap: 28px; }
}
@media (max-width: 760px) {
    .footer-brand {
        width: 220px;
        height: 66px;
    }

    html { scroll-padding-top: 135px; }
    .container { width: calc(100% - 40px); }
    .contact-strip { font-size: 10px; }
    .contact-links { gap: 3px 12px; justify-content: center; }
    .navigation { min-height: 74px; flex-wrap: wrap; padding-top: 14px; gap: 10px; }
    .brand::before { width: 170px; height: 48px; }
    .navigation > .button { font-size: 12px; padding: 9px 12px; min-height: 38px; gap: 10px; }
    nav { order: 3; width: 100%; justify-content: center; gap: 38px; border-top: 1px solid #eff1ef; }
    nav a { font-size: 12px; padding-block: 9px; }
    .hero { min-height: 500px; height: 64svh; max-height: 570px; }
    .hero-photo { object-position: 69% center; }
    .hero::after { background: linear-gradient(90deg, rgba(245,246,244,.96), rgba(245,246,244,.85) 30%, rgba(245,246,244,.12) 80%); }
    .hero-inner { align-items: flex-start; }
    .hero-copy { width: 75%; padding-top: 40px; }
    .hero h1 { font-size: 40px; }
    .hero h1 > span { font-size: 32px; }
    .hero .eyebrow { font-size: 10px; }
    .hero-description { max-width: 250px; font-size: 14px; margin-top: 20px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 24px; }
    .hero-price { font-size: 11px; margin-top: 20px; max-width: 200px; }
    .service-points { grid-template-columns: 1fr; gap: 14px; padding-block: 22px; }
    .service-points > div { font-size: 11px; }
    .service-points strong { font-size: 13px; }
    .section { padding-block: 46px; }
    .section-heading { display: block; margin-bottom: 18px; }
    .section-heading > p { margin-top: 16px; max-width: none; }
    .section-heading > p br { display: none; }
    h2 { font-size: 28px; }
    .plan-tabs { gap: 8px; margin-bottom: 22px; }
    .plan-tabs button { align-items: flex-start; min-height: 74px; padding: 10px 8px; font-size: 11px; gap: 7px; }
    .plan-tabs button small { font-size: 9px; }
    .tab-icon { width: 26px; height: 26px; flex-basis: 26px; border-radius: 5px; }
    .tab-icon-internet::before { width: 15px; height: 8px; border-width: 2px; top: 7px; }
    .tab-icon-internet::after { width: 5px; height: 5px; bottom: 7px; }
    .tab-icon-bundles::before { width: 13px; height: 9px; left: 5px; top: 6px; }
    .tab-icon-bundles::after { width: 9px; height: 9px; right: 5px; bottom: 5px; }
    .tab-icon-telephone::before { width: 12px; height: 17px; border-width: 2px; }
    .tab-icon-telephone::after { width: 6px; height: 2px; bottom: 7px; right: 6px; }
    .plan-grid { grid-template-columns: 1fr; gap: 18px; }
    .plan-card { padding: 24px; }
    .plan-card-heading { flex-wrap: nowrap; }
    .speed strong { font-size: 58px; }
    .plan-description { min-height: 0; }
    .coverage-layout, .registration-layout { grid-template-columns: 1fr; gap: 34px; }
    .coverage-layout { padding-block: 44px; }
    .registration-intro > p:not(.eyebrow) { max-width: none; }
    .next-steps { gap: 20px; margin-block: 28px; }
    .form-panel { border-top: 1px solid var(--line); padding-top: 28px; }
    .form-heading { flex-wrap: wrap; }
    .field-grid { grid-template-columns: 1fr; }
    input, select { font-size: 16px; }
    .plan-select { min-height: 58px; padding: 12px 46px 12px 14px; border-width: 2px; border-radius: 6px; font-size: 15px; line-height: 1.35; white-space: normal; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 38px; }
    .footer-main > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
    .container { width: calc(100% - 28px); }
    .brand::before { width: 145px; height: 42px; }
    .hero h1 { font-size: 36px; }
    .hero h1 > span { font-size: 30px; }
    .hero-copy { width: 85%; }
    .plan-tabs { grid-template-columns: 1fr; gap: 9px; }
    .plan-tabs button { min-height: 58px; font-size: 12px; padding-inline: 12px; }
    .footer-main { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
