@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

/* Territory 1-pager in the KiwiTxt website design (purple #793cf2 on white). */
.ktp-body { margin: 0; background: #fff; }
.ktp { --acc: #793cf2; --deep: #5b21d6; --ink: #1b1433; --mute: #5d5878; --line: #e9e4f7; --card: #faf8ff; --tint: rgba(121,60,242,.10);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.ktp *, .ktp *::before, .ktp *::after { box-sizing: border-box; }
.ktp h1, .ktp h2, .ktp h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.ktp p { margin: 0; }
.ktp a { color: inherit; text-decoration: none; }
.ktp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ktp-narrow { max-width: 820px; }
.ktp-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
.ktp-nav { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ktp-nav .ktp-wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.ktp-logo img { display: block; height: 36px; width: auto; }
.ktp-area { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); font-size: 14px; font-weight: 500; margin-right: auto; }
.ktp-area .ktp-i { width: 16px; height: 16px; color: var(--acc); }

/* buttons */
.ktp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: .2s; white-space: nowrap; }
.ktp-btn .ktp-i { width: 18px; height: 18px; }
.ktp-btn-p { background: var(--acc); color: #fff !important; box-shadow: 0 6px 18px rgba(121,60,242,.28); }
.ktp-btn-p:hover { background: var(--deep); transform: translateY(-1px); }
.ktp-btn-g { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.ktp-btn-g:hover { border-color: var(--acc); color: var(--acc); }
.ktp-btn-w { background: #fff; color: var(--deep) !important; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.ktp-btn-xl { padding: 18px 30px; font-size: 17px; border-radius: 12px; }
.ktp-btn-block { display: flex; width: 100%; }
.ktp-nav-cta { padding: 10px 16px; font-size: 14px; }

/* hero */
.ktp-hero { padding: 72px 0 64px; }
.ktp-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.ktp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.ktp-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.ktp .ktp-towns { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.ktp-towns .ktp-i { color: var(--acc); width: 18px; height: 18px; }
.ktp .ktp-lead { font-size: clamp(17px, 2vw, 19px); color: var(--mute); max-width: 600px; margin-bottom: 28px; }
.ktp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ktp-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--mute); font-size: 14px; }
.ktp-ticks span { display: flex; align-items: center; gap: 8px; }
.ktp-ticks .ktp-i { width: 18px; height: 18px; color: var(--acc); }

/* contact / availability card */
.ktp-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 30px 70px rgba(121,60,242,.14); display: flex; flex-direction: column; gap: 14px; }
.ktp-card-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.ktp-card h3 { font-size: 24px; }
.ktp-price { font-family: "Space Grotesk", Inter, sans-serif; font-size: 40px; font-weight: 700; color: var(--acc); line-height: 1.1; }
.ktp-price span { font-family: Inter, sans-serif; font-size: 15px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.ktp-contact { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; background: var(--card); }
.ktp-contact .ktp-i { color: var(--acc); }
.ktp-contact:hover { border-color: var(--acc); }
.ktp-muted { color: var(--mute); }
.ktp-link { color: var(--acc) !important; font-weight: 600; font-size: 14px; text-align: center; }

/* sections */
.ktp-sec { padding: 72px 0; }
.ktp-alt { background: #fff; border-block: 1px solid var(--line); }
.ktp-about { padding-top: 8px; }
.ktp .ktp-blurb { font-size: 18px; color: var(--mute); }
.ktp-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.ktp-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.ktp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ktp-feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.ktp-feat h3 { font-size: 19px; margin: 14px 0 8px; }
.ktp-feat p { color: var(--mute); font-size: 15px; }
.ktp-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--tint); color: var(--acc); }

/* CTA band */
.ktp-band { border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff; background: linear-gradient(135deg, #5b21d6 0%, #793cf2 55%, #9b6bff 100%); box-shadow: 0 24px 60px rgba(121,60,242,.3); }
.ktp-band h2 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 14px; }
.ktp-band p { color: #ece6ff; font-size: 18px; max-width: 620px; margin: 0 auto 28px; }

/* footer */
.ktp-foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--mute); font-size: 14px; }
.ktp-foot .ktp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.ktp-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ktp-foot a:hover { color: var(--acc); }

@media (max-width: 900px) {
	.ktp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.ktp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.ktp-hero { padding: 48px 0 40px; }
	.ktp-sec { padding: 56px 0; }
	.ktp-grid { grid-template-columns: 1fr; }
	.ktp-area { display: none; }
	.ktp-logo { margin-right: auto; }
	.ktp-band { padding: 44px 22px; }
}
@media (max-width: 380px) {
	.ktp-logo img { height: 30px; }
	.ktp-nav-cta { padding: 9px 12px; font-size: 13px; }
}
/* Licensing sales page (license.kiwitxt.co.nz) - builds on territory-page.css (ktp-*) in the KiwiTxt design. */
.ktl-lp { overflow-x: clip; }
.ktl-lp section[id] { scroll-margin-top: 84px; }

/* nav */
.lp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); background: var(--tint); border-radius: 99px; padding: 5px 10px; margin-right: auto; white-space: nowrap; }
.lp-links { display: flex; gap: 4px; }
.lp-links a, .lp-login { color: var(--mute) !important; font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.lp-links a:hover, .lp-login:hover { color: var(--acc) !important; }

/* hero */
.lp-hero { position: relative; background: radial-gradient(900px 420px at 85% 0%, rgba(121,60,242,.12), transparent 70%), radial-gradient(700px 380px at 0% 100%, rgba(155,107,255,.08), transparent 70%); }
.lp-hero h1 span { color: var(--acc); }
.ktp .lp-hero .ktp-lead { margin-bottom: 28px; }
.lp-avail { display: inline-flex; align-items: center; gap: 8px; background: #ecfdf3; color: #067647; border: 1px solid #abefc6; border-radius: 99px; padding: 7px 14px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.lp-avail .ktp-i { width: 16px; height: 16px; }
.lp-ledger { gap: 0; }
.lp-ledger .ktp-card-label { margin-bottom: 6px; }
.lp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.lp-row b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 20px; color: var(--ink); white-space: nowrap; }
.lp-strike { text-decoration: line-through; text-decoration-color: #e5484d; color: var(--mute) !important; font-size: 17px !important; }
.lp-hi { border-bottom: 0; margin: 10px 0 16px; padding: 14px 16px; background: var(--tint); border-radius: 12px; color: var(--ink); font-weight: 600; }
.lp-hi b { color: var(--acc); font-size: 28px; }

.ktp .lp-sub { color: var(--mute); font-size: 18px; margin-top: 14px; }
.ktp-head .lp-sub { margin-left: auto; margin-right: auto; }
.lp-fine { color: var(--mute); font-size: 13px; margin-top: 14px !important; }
.lp-grid4 { grid-template-columns: repeat(4, 1fr); }

/* comparison */
.lp-tablewrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.lp-compare, .lp-terr { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lp-compare thead th { font-family: "Space Grotesk", Inter, sans-serif; font-size: 16px; background: var(--card); }
.lp-compare tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.lp-compare td { color: var(--mute); }
.lp-compare tr:last-child > * { border-bottom: 0; }
.lp-compare .lp-us { background: rgba(121,60,242,.06); color: var(--ink); font-weight: 600; }
.lp-compare thead .lp-us { background: var(--acc); color: #fff; }
.lp-compare td .ktp-i { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
.lp-yes { color: #12b76a; }
.lp-no { color: #e5484d; }

/* steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.lp-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.lp-steps h3 { font-size: 19px; margin: 16px 0 8px; }
.lp-steps p { color: var(--mute); font-size: 15px; }
.lp-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--acc); color: #fff; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; font-size: 18px; box-shadow: 0 8px 18px rgba(121,60,242,.3); }

/* calculator */
.lp-calc { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(121,60,242,.14); max-width: 980px; margin: 0 auto; }
.lp-calc-in { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.lp-calc-in label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-top: 10px; gap: 12px; }
.lp-calc-in output { font-family: "Space Grotesk", Inter, sans-serif; font-size: 24px; color: var(--acc); font-weight: 700; }
.lp-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--acc) var(--v, 30%), var(--line) var(--v, 30%)); outline: none; margin: 6px 0 4px; }
.lp-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--acc); box-shadow: 0 4px 12px rgba(121,60,242,.35); cursor: pointer; }
.lp-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--acc); cursor: pointer; }
.lp-calc input[type=range]:focus-visible { box-shadow: 0 0 0 4px var(--tint); }
.lp-calc select, .lp-filter select { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.lp-calc-out { background: linear-gradient(150deg, #5b21d6 0%, #793cf2 60%, #9b6bff 100%); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.lp-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #ece6ff; }
.lp-out b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 22px; color: #fff; white-space: nowrap; }
.lp-big { border-bottom: 0; padding-top: 16px; }
.lp-big span { color: #fff; font-weight: 600; }
.lp-big b { font-size: clamp(34px, 4.4vw, 46px); }
.ktp .lp-be { color: #ece6ff; font-size: 15px; margin: 4px 0 18px; min-height: 1.5em; }
.lp-calc + .lp-fine { max-width: 980px; margin-left: auto; margin-right: auto; text-align: center; }

/* included + portal mock */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 22px !important; }
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--mute); }
.lp-list li .ktp-i { color: var(--acc); margin-top: 3px; }
.lp-list b { color: var(--ink); }
.lp-mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px rgba(121,60,242,.16); overflow: hidden; }
.lp-mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: linear-gradient(135deg, #5b21d6, #793cf2); color: #fff; font-size: 13px; font-weight: 600; }
.lp-mock-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); }
.lp-mock-top span { margin-left: 8px; }
.lp-mock-body { padding: 18px; display: grid; gap: 10px; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 6px; }
.lp-mock-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.lp-mock-stats small { display: block; color: var(--mute); font-size: 12px; }
.lp-mock-stats b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 22px; }
.lp-mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.lp-mock-row div { flex: 1; min-width: 0; }
.lp-mock-row b { display: block; font-size: 14px; }
.lp-mock-row small { color: var(--mute); font-size: 12px; }
.lp-mock-row em { font-style: normal; font-size: 12px; font-weight: 600; color: #067647; background: #ecfdf3; border-radius: 99px; padding: 4px 10px; }
.lp-mock-row em.lp-trial { color: var(--deep); background: var(--tint); }
.lp-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--acc); font-weight: 700; font-size: 13px; flex: none; }
.lp-mock-note { color: var(--mute); font-size: 11px; text-align: right; }

/* territories */
.lp-filter { display: flex; gap: 12px; margin-bottom: 16px; }
.lp-search { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: #fff; }
.lp-search:focus-within, .lp-filter select:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--tint); outline: none; }
.lp-search .ktp-i { color: var(--mute); }
.lp-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 12px 0; background: transparent; color: var(--ink); }
.lp-filter select { width: auto; min-width: 190px; }
.lp-terr th, .lp-terr td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.lp-terr thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); background: var(--card); white-space: nowrap; }
.lp-terr td { color: var(--mute); }
.lp-terr td b { display: block; color: var(--ink); }
.lp-terr td small { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; }
.lp-terr td:nth-child(n+2):nth-child(-n+5) { white-space: nowrap; }
.lp-terr td:last-child { text-align: right; }
.lp-terr tbody tr:hover { background: var(--card); }
.lp-terr tr.lp-sel { background: rgba(18,183,106,.08); }
.lp-terr tr.lp-sel td:first-child { box-shadow: inset 4px 0 0 #12b76a; }
.lp-claim { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.lp-terr .lp-none td { text-align: center; padding: 28px; }
.lp-more { text-align: center; margin-top: 18px !important; }
.screen-reader-text { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* pricing */
.lp-price { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.lp-price-main { background: #fff; border: 2px solid var(--acc); border-radius: 22px; padding: 32px; box-shadow: 0 30px 70px rgba(121,60,242,.16); }
.lp-price-big { font-family: "Space Grotesk", Inter, sans-serif; font-size: 56px; font-weight: 700; color: var(--ink); line-height: 1.1; margin: 8px 0 14px; }
.lp-price-big span { font-family: Inter, sans-serif; font-size: 16px; font-weight: 500; color: var(--mute); margin-left: 8px; }
.lp-price-rows { display: grid; gap: 8px; margin-bottom: 22px; }
.lp-price-rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--mute); }
.lp-price-rows b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 22px; color: var(--acc); }
.lp-price-rows small { font-family: Inter, sans-serif; font-size: 13px; color: var(--mute); font-weight: 500; }
.lp-price-list li { font-size: 17px; color: var(--ink); }
.lp-price-list .ktp-i { color: #12b76a !important; }

/* FAQ */
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.lp-faq details[open] { border-color: var(--acc); box-shadow: 0 10px 30px rgba(121,60,242,.08); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--acc); font-weight: 500; }
.lp-faq details[open] summary::after { content: "\2212"; }
.ktp .lp-faq p { color: var(--mute); padding-bottom: 18px; }

/* final band */
.lp-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff !important; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* sticky mobile CTA */
.lp-sticky { display: none; }

@media (max-width: 1100px) {
	.lp-links { display: none; }
	.lp-grid4 { grid-template-columns: 1fr 1fr; }
	.lp-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.lp-calc, .lp-split, .lp-price { grid-template-columns: 1fr; }
	.lp-split { gap: 36px; }
	.lp-price { gap: 28px; }
}
@media (max-width: 620px) {
	.lp-tag { display: none; }
	.lp-grid4, .lp-steps { grid-template-columns: 1fr; }
	.lp-calc-in, .lp-calc-out, .lp-price-main { padding: 24px 20px; }
	.lp-filter { flex-direction: column; }
	.lp-filter select { width: 100%; }
	.lp-price-big { font-size: 46px; }
	.lp-hi b { font-size: 24px; }
	.lp-compare th, .lp-compare td, .lp-terr th, .lp-terr td { padding: 12px; }
	.lp-compare th:nth-child(4), .lp-compare td:nth-child(4) { display: none; }
	.lp-compare tbody th { white-space: normal; }
	.lp-terr thead { display: none; }
	.lp-terr, .lp-terr tbody { display: block; }
	.lp-terr tr[data-q] { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; padding: 14px; border-bottom: 1px solid var(--line); }
	.lp-terr tr[data-q][hidden] { display: none; }
	.lp-terr tr[data-q] td { padding: 0; border: 0; white-space: normal !important; }
	.lp-terr tr[data-q] td:nth-child(1) { grid-column: 1; }
	.lp-terr tr[data-q] td:nth-child(2), .lp-terr tr[data-q] td:nth-child(3) { display: none; }
	.lp-terr tr[data-q] td:nth-child(4), .lp-terr tr[data-q] td:nth-child(5) { grid-column: 1; font-size: 13px; }
	.lp-terr tr[data-q] td:nth-child(4)::before { content: "Population "; }
	.lp-terr tr[data-q] td:nth-child(5)::before { content: "Licence "; }
	.lp-terr tr[data-q] td:last-child { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
	.lp-terr tr.lp-sel td:first-child { box-shadow: none; }
	.lp-terr tr.lp-sel { box-shadow: inset 4px 0 0 #12b76a; }
	.lp-terr .lp-none { display: block; }
	.lp-terr .lp-none[hidden] { display: none; }
	.lp-terr .lp-none td { display: block; }
	.lp-mock-stats b { font-size: 18px; }
	.ktp-hero .ktp-btn-xl { width: 100%; }
	.lp-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(140%); transition: transform .25s; }
	.lp-sticky.on { transform: none; }
	.lp-sticky .ktp-btn { box-shadow: 0 12px 30px rgba(91,33,214,.45); padding: 15px 20px; }
	.ktp-foot { padding-bottom: 90px; }
}
@media (max-width: 420px) {
	.lp-login { padding: 8px 6px; font-size: 14px; }
	.ktp-nav .ktp-wrap { gap: 8px; }
	.lp-row { font-size: 14px; }
}
@media (max-width: 360px) {
	.ktp-nav-cta { padding: 8px 10px; font-size: 12px; }
	.ktp-logo img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-sticky { transition: none; }
}

/* ===================== KiwiTxt Reseller ===================== */
.lp-hero h1 span { color: var(--acc); }
.lp-steps3 { grid-template-columns: repeat(3, 1fr); }
.kxr-feats { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.kxr-feats li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kxr-feats .ktp-i { color: #12b76a; margin-top: 3px; width: 18px; height: 18px; }
.kxr-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1060px; margin: 0 auto; align-items: stretch; }
.kxr-pkg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.kxr-pop { border: 2px solid var(--acc); box-shadow: 0 30px 70px rgba(121,60,242,.16); }
.kxr-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--acc); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.kxr-pkg h3 { font-size: 22px; }
.ktp .kxr-sub { color: var(--mute); font-size: 14px; }
.kxr-price { font-family: "Space Grotesk", Inter, sans-serif; font-size: 44px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.kxr-price span { font-family: Inter, sans-serif; font-size: 15px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.ktp .kxr-sms { color: #067647; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.kxr-pkg ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.kxr-pkg li { display: flex; gap: 8px; }
.kxr-pkg .ktp-i { width: 16px; height: 16px; color: #12b76a; margin-top: 3px; }
.ktp .kxr-earn { text-align: center; margin-top: 24px; font-weight: 600; }
.kxr-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kxr-vs > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.kxr-vs h3 { font-size: 20px; margin-bottom: 8px; }
.kxr-vs p { color: var(--mute); }
.kxr-vs a { color: var(--acc) !important; font-weight: 600; }

/* auth */
.kxr-auth { padding: 56px 0 72px; }
.kxr-auth-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.kxr-auth-intro h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.kxr-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--acc); border-radius: 18px; padding: 28px; box-shadow: 0 30px 70px rgba(121,60,242,.12); }
.kxr-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.kxr-toggle a { text-align: center; padding: 10px; border-radius: 9px; font-weight: 600; color: var(--mute) !important; }
.kxr-toggle a.on { background: var(--acc); color: #fff !important; }
.kxr-form { display: grid; gap: 14px; }
.kxr-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.kxr-form label small { font-weight: 400; color: var(--mute); }
.kxr-form input[type=text], .kxr-form input[type=email], .kxr-form input[type=tel], .kxr-form input[type=password], .kxr-form input[type=number], .kxr-form select, .kxr-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; font-size: 15px; padding: 11px 13px; border: 1px solid #ddd6f3; border-radius: 10px; background: #fff; color: var(--ink); }
.kxr-form input:focus, .kxr-form select:focus, .kxr-form textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--tint); }
.kxr-form input:disabled { background: var(--card); color: var(--mute); }
.kxr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kxr-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.kxr-pick legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.kxr-opt { display: block !important; cursor: pointer; }
.kxr-opt input { position: absolute; opacity: 0; }
.kxr-opt span { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "a p"; gap: 0 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 400; }
.kxr-opt b { grid-area: n; font-size: 15px; }
.kxr-opt small { grid-area: a; color: var(--mute); font-size: 13px; }
.kxr-opt em { grid-area: p; font-style: normal; font-weight: 700; color: var(--acc); }
.kxr-opt input:checked + span { border-color: var(--acc); background: rgba(121,60,242,.06); box-shadow: 0 0 0 3px var(--tint); }
.kxr-opt input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.kxr-agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; line-height: 1.5; }
.kxr-agree input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--acc); }
.kxr-agree a { color: var(--acc) !important; text-decoration: underline; }
.ktp .kxr-fine { font-size: 13px; color: var(--mute); }
.kxr-fine a { color: var(--acc) !important; font-weight: 600; }
.kxr-note { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 15px; border: 1px solid; }
.kxr-ok { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.kxr-warn { background: #fffaeb; border-color: #fedf89; color: #93370d; }
.kxr-bad { background: #fef3f2; border-color: #fecdca; color: #b42318; }

/* portal */
.kxr-main { padding-top: 32px; padding-bottom: 72px; }
.kxr-welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg,#5b21d6,#793cf2 60%,#9b6bff); color: #fff; border-radius: 18px; padding: 22px 26px; margin-bottom: 18px; }
.kxr-welcome h1 { font-size: 26px; }
.ktp .kxr-welcome p { color: #ece6ff; }
.kxr-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: var(--tint); color: var(--deep); white-space: nowrap; }
.kxr-welcome .kxr-pill { background: rgba(255,255,255,.18); color: #fff; }
.kxr-c-live { background: #ecfdf3; color: #067647; }
.kxr-c-requested { background: #fffaeb; color: #93370d; }
.kxr-c-paused { background: #f2f4f7; color: #475467; }
.kxr-c-cancelled { background: #fef3f2; color: #b42318; }
.kxr-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.kxr-tabs { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; position: sticky; top: 84px; }
.kxr-tabs a { padding: 10px 12px; border-radius: 9px; font-weight: 500; color: var(--mute) !important; }
.kxr-tabs a:hover { background: var(--card); color: var(--ink) !important; }
.kxr-tabs a.on { background: var(--acc); color: #fff !important; }
.kxr-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.kxr-panel h2 { font-size: 26px; margin-bottom: 16px; }
.kxr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.kxr-head h2 { margin: 0; }
.kxr-h3 { font-size: 18px; margin: 22px 0 10px !important; }
.ktp .kxr-muted { color: var(--mute); }
.kxr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kxr-stats > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kxr-stats small { display: block; color: var(--mute); font-size: 13px; }
.kxr-stats b { font-family: "Space Grotesk", Inter, sans-serif; font-size: 26px; }
.kxr-bar { display: block; height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.kxr-bar span { display: block; height: 100%; background: var(--acc); }
.kxr-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.kxr-box h3 { font-size: 19px; }
.ktp .kxr-box p { color: var(--mute); margin: 6px 0; }
.kxr-box a { color: var(--acc) !important; font-weight: 600; }
.kxr-box .ktp-btn-p { color: #fff !important; }
.kxr-recent { list-style: none; margin: 0; padding: 0; }
.kxr-recent li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kxr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kxr-inline { grid-template-columns: 1fr auto; align-items: end; margin-top: 10px; }
.kxr-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.kxr-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kxr-table th, .kxr-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.kxr-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); background: var(--card); white-space: nowrap; }
.kxr-table td small { display: block; color: var(--mute); font-size: 13px; }
.kxr-table tr:last-child td { border-bottom: 0; }
.kxr-row-actions > div { display: flex; flex-wrap: wrap; gap: 4px 12px; white-space: nowrap; }
.kxr-cta-row { margin: 18px 0; }
.kxr-row-actions a, .kxr-link { color: var(--acc) !important; font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; cursor: pointer; }
.kxr-row-actions form { display: inline; margin: 0; }
.kxr-link.kxr-del { color: #b42318 !important; }
.kxr-res { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kxr-res .kxr-box { margin: 0; }
.kxr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media (max-width: 1100px) { .kxr-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
	.kxr-pkgs, .lp-steps3, .kxr-auth-grid, .kxr-vs { grid-template-columns: 1fr; }
	.kxr-pkgs { max-width: 520px; gap: 28px; }
	.kxr-layout { grid-template-columns: 1fr; }
	.kxr-tabs { position: static; display: flex; flex-wrap: wrap; }
	.kxr-tabs a { white-space: nowrap; }
	.kxr-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.kxr-feats, .kxr-row2, .kxr-res { grid-template-columns: 1fr; }
	.kxr-panel, .kxr-card { padding: 18px; }
	.kxr-inline { grid-template-columns: 1fr; }
	.kxr-table thead { display: none; }
	.kxr-table, .kxr-table tbody, .kxr-table tr, .kxr-table td { display: block; }
	.kxr-table tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
	.kxr-table td { padding: 3px 0; border: 0; }
	.kxr-auth { padding: 32px 0 48px; }
}
.kxr-earn a { color: var(--acc) !important; text-decoration: underline; font-weight: 600; }

@media (min-width: 901px) { .ktp .kxr-sub { min-height: 44px; } }
@media (min-width: 901px) and (max-width: 1100px) { .ktp .kxr-sub { min-height: 66px; } .kxr-pkg h3 { font-size: 20px; } }
@media (min-width: 901px) and (max-width: 1000px) { .kxr-pkg h3 { font-size: 18px; } .kxr-pkg { padding: 24px; } }

/* Two portals (stand-out section) */
.ktp .kxr-two { background: radial-gradient(1200px 500px at 50% -10%, #3b1a8f 0%, #1b1433 60%); color: #fff; }
.ktp .kxr-two .ktp-eyebrow { color: #c9b5ff; }
.ktp .kxr-two h2 { color: #fff; }
.ktp .kxr-two .lp-sub { color: #d9d0f5; }
.ktp .kxr-two .lp-sub em { color: #fff; font-style: normal; font-weight: 700; }
.kxr-two-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.kxr-pt { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 28px; min-width: 0; }
.kxr-pt-b { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ktp .kxr-pt-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #e6dcff; }
.ktp .kxr-pt-b .kxr-pt-tag { background: var(--tint); color: var(--acc); }
.kxr-pt h3 { font-size: 24px; margin: 14px 0 4px; color: inherit; }
.ktp .kxr-pt-url { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: #c9b5ff; margin-bottom: 16px; overflow-wrap: anywhere; }
.ktp .kxr-pt-b .kxr-pt-url { color: var(--acc); }
.kxr-pt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.kxr-pt li { display: flex; gap: 10px; }
.kxr-pt .ktp-i { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #7ee2a8; }
.kxr-pt-b .ktp-i { color: #12b76a; }
.kxr-pt-arrow { display: grid; place-items: center; }
.kxr-pt-arrow svg { width: 40px; height: 40px; fill: none; stroke: #c9b5ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kxr-chains { max-width: 1000px; margin: 28px auto 0; display: grid; gap: 12px; }
.kxr-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 18px; }
.kxr-chain span { min-width: 0; }
.kxr-chain b { display: block; color: #fff; }
.ktp .kxr-chain small { display: block; color: #c9b5ff; font-size: 13px; }
.kxr-chain i { font-style: normal; color: #c9b5ff; font-size: 20px; }
.ktp .kxr-chains .kxr-fine { color: #a99cd0; text-align: center; font-size: 12px; margin: 0; }
@media (max-width: 900px) {
	.kxr-two-grid { grid-template-columns: 1fr; }
	.kxr-pt-arrow svg { transform: rotate(90deg); width: 32px; height: 32px; }
}
@media (max-width: 620px) {
	.kxr-chain { grid-template-columns: 1fr; gap: 4px; text-align: center; }
	.kxr-chain i { transform: rotate(90deg); justify-self: center; }
	.kxr-pt { padding: 22px; }
}
.kxr-mypage { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 16px; }
.kxr-mypage a { color: var(--acc) !important; font-weight: 600; overflow-wrap: anywhere; }
