/* hordio.com. Colours from docs/brand.md; fonts are self-hosted (Inter for text, Poppins for headings, both SIL OFL). */
@font-face { font-family: Inter; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B1F3B; --navy-2: #12305A; --navy-3: #1A3B6B;
  --teal: #06B6D4; --sky: #3B82F6; --green: #10B981; --amber: #F59E0B;
  --accent: #0E7490; --accent-hover: #0B6683; --accent-text: #155E75;
  --bg: #FFFFFF; --bg-soft: #F5F8FC; --line: #E2E8F0; --text: #0B1F3B; --muted: #4B5B73;
  --radius: 14px; --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(11 31 59 / 6%), 0 8px 24px rgb(11 31 59 / 8%);
  --shadow-lg: 0 2px 4px rgb(11 31 59 / 8%), 0 30px 80px -20px rgb(11 31 59 / 35%);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: #fff; border-color: #C7D3E3; color: var(--navy); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-ghost { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 30%); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / 16%); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 17px; border-radius: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 88%); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgb(226 232 240 / 80%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; flex: none; }
.logo img { width: 124px; height: auto; }
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a, .header-actions a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.main-nav a:hover, .header-actions a:not(.btn):hover { background: var(--bg-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--accent-text); background: #E6F6FA; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .lang { color: var(--muted); }
.header-actions .btn { margin-left: 8px; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--navy); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px; }
.mobile-panel a:not(.btn) { color: var(--navy); text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.mobile-panel a:not(.btn):hover { background: var(--bg-soft); }
.mobile-panel .btn { margin-top: 6px; }
@media (max-width: 1020px) { .main-nav, .header-actions { display: none; } .mobile-menu { display: block; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #DCE6F5; padding: clamp(56px, 9vw, 104px) 0 0; isolation: isolate; }
.aurora { position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 45% at 18% 22%, rgb(6 182 212 / 38%), transparent 70%),
    radial-gradient(35% 40% at 82% 12%, rgb(59 130 246 / 40%), transparent 70%),
    radial-gradient(45% 40% at 60% 60%, rgb(16 185 129 / 22%), transparent 70%);
  filter: blur(20px); }
.aurora-soft { opacity: .55; }
.hero-text { text-align: center; max-width: 880px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8BE3F2; background: rgb(6 182 212 / 12%); border: 1px solid rgb(6 182 212 / 30%); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { color: #fff; }
.hero h1 span { background: linear-gradient(90deg, #22D3EE, #60A5FA 55%, #34D399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.hero .lead { color: #C3D2E8; max-width: 700px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 16px; font-size: 15px; color: #9FB3D1; }
.hero-visual { position: relative; margin-top: clamp(40px, 6vw, 64px); }
.browser { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgb(11 31 59 / 10%); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #EEF2F7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.browser-bar i:nth-child(1) { background: #F87171; } .browser-bar i:nth-child(2) { background: #FBBF24; } .browser-bar i:nth-child(3) { background: #34D399; }
.browser-bar span { margin: 0 auto; padding-right: 50px; font-size: 12.5px; color: #64748B; }
.browser-hero { max-width: 1100px; margin-inline: auto; border-radius: 16px 16px 0 0; border-bottom: 0; box-shadow: 0 -10px 80px rgb(6 182 212 / 20%), 0 40px 120px rgb(0 0 0 / 40%); }
.hero-phone { position: absolute; right: max(0px, calc(50% - 600px)); bottom: 36px; width: clamp(150px, 17vw, 210px); }
.phone { margin: 0; padding: 7px; background: #0A1628; border-radius: 34px; box-shadow: 0 30px 60px -10px rgb(0 0 0 / 50%), inset 0 0 0 1.5px #2A3B57; }
.phone img { border-radius: 28px; }
@media (max-width: 700px) { .browser-hero { display: none; } .hero-phone { position: static; width: 64vw; margin: 0 auto; padding-bottom: 48px; } }

/* Pillars */
.pillars { position: relative; background: var(--bg); padding: 88px 0 40px; box-shadow: 0 -1px 0 var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 30px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.pillar h3 { font-size: 1.6rem; margin: 18px 0 8px; }
.pillar p { color: var(--muted); margin: 0; }
.tile { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--sky), var(--teal)); box-shadow: 0 8px 20px -6px rgb(6 182 212 / 55%); }
.tile-sm { width: 42px; height: 42px; border-radius: 12px; }
.pillar-1 .tile { background: linear-gradient(135deg, #0EA5E9, var(--teal)); }
.pillar-2 .tile { background: linear-gradient(135deg, var(--sky), #6366F1); box-shadow: 0 8px 20px -6px rgb(59 130 246 / 55%); }
.pillar-3 .tile { background: linear-gradient(135deg, var(--green), #14B8A6); box-shadow: 0 8px 20px -6px rgb(16 185 129 / 55%); }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

/* Feature rows */
.feature-row { padding: clamp(48px, 7vw, 96px) 0; }
.feature-row.reverse { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.reverse .feature-text { order: 2; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.feature-text > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; margin-top: 4px; width: 20px; height: 20px; stroke-width: 3; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } .reverse .feature-text { order: 0; } }

/* Phones band */
.phones { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #C3D2E8; padding: clamp(64px, 8vw, 110px) 0; }
.phones h2 { color: #fff; }
.phones-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 48px; align-items: center; }
.phones-text p { font-size: 1.12rem; }
.phone-fan { display: flex; justify-content: center; align-items: center; }
.phone-fan .phone { width: clamp(150px, 17vw, 230px); }
.phone-fan .phone:nth-child(1) { transform: rotate(-7deg) translate(30px, 24px); }
.phone-fan .phone:nth-child(2) { position: relative; z-index: 2; transform: scale(1.06); }
.phone-fan .phone:nth-child(3) { transform: rotate(7deg) translate(-30px, 24px); }
@media (max-width: 900px) { .phones-grid { grid-template-columns: 1fr; text-align: center; } }
@media (max-width: 560px) { .phone-fan .phone:nth-child(1), .phone-fan .phone:nth-child(3) { display: none; } .phone-fan .phone { width: 62vw; } }

/* Grids of small cards */
.more, .local, .values, .pricing-teaser, .pricing-page, .faq, .contact, .feature-groups, .feature-gallery { padding: clamp(56px, 7vw, 96px) 0; }
.section-title { text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 36px; font-size: 1.1rem; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 28px; }
.mini { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s; }
.mini:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini h3 { font-size: 1.06rem; margin: 0 0 4px; }
.mini p { margin: 0; color: var(--muted); font-size: 15.5px; }
.local { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.local-grid, .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.values-grid { grid-template-columns: repeat(4, 1fr); }
.local-grid article, .values-grid article { text-align: center; padding: 8px; }
.local-grid h3 { margin: 16px 0 6px; }
.local-grid p, .values-grid p { color: var(--muted); margin: 0; }
.values-grid article { text-align: left; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
@media (max-width: 900px) { .more-grid, .local-grid { grid-template-columns: 1fr 1fr; } .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .more-grid, .local-grid, .values-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-teaser { background: var(--bg-soft); }
.billing-toggle { display: flex; width: max-content; margin: 0 auto 36px; padding: 5px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.billing-toggle label { padding: 9px 20px; border-radius: 10px; font-weight: 600; font-size: 15.5px; cursor: pointer; color: var(--muted); }
.saving { font-size: 12.5px; font-weight: 700; color: #047857; background: #D1FAE5; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
#billing-month:checked ~ .billing-toggle label[for="billing-month"], #billing-year:checked ~ .billing-toggle label[for="billing-year"] { background: var(--navy); color: #fff; }
#billing-month:focus-visible ~ .billing-toggle label[for="billing-month"], #billing-year:focus-visible ~ .billing-toggle label[for="billing-year"] { outline: 3px solid var(--teal); outline-offset: 2px; }
#billing-month:checked ~ .plans .price-year, #billing-year:checked ~ .plans .price-month { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.plan-popular { border: 2px solid var(--accent); box-shadow: 0 30px 60px -24px rgb(14 116 144 / 45%); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-size: 1.45rem; margin: 0; }
.plan-for { color: var(--muted); font-size: 15px; min-height: 2.6em; margin: 4px 0 18px; }
.plan-price { margin: 0; }
.plan-price strong { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); }
.plan-note { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.plan .btn { width: 100%; }
.plan .checks { font-size: 15.5px; margin-top: 24px; }
.vat { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 26px; }
.trial-box { display: flex; gap: 14px; align-items: center; max-width: 760px; margin: 36px auto 0; padding: 18px 22px; border-radius: var(--radius); background: #ECFEFF; border: 1px solid #A5F3FC; color: var(--accent-text); }
.trial-box p { margin: 0; color: var(--navy); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } .plan-popular { order: -1; } }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 60%, #0E5A78 100%); color: #C3D2E8; padding: clamp(64px, 8vw, 100px) 0; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 85% 30%, rgb(6 182 212 / 30%), transparent 70%), radial-gradient(30% 60% at 10% 90%, rgb(16 185 129 / 20%), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; margin-bottom: 30px; }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); background: linear-gradient(180deg, #EEF6FB, #fff); text-align: center; }
.page-hero .narrow { margin-inline: auto; }
.page-hero-small { padding-bottom: 12px; }
.about-hero { background: var(--navy); color: #C3D2E8; padding-bottom: clamp(56px, 8vw, 96px); }
.about-hero h1 { color: #fff; }
.about-hero .lead { color: #C3D2E8; }
.about-hero em { color: #8BE3F2; }
.about-symbol { margin: 0 auto 24px; width: 72px; height: 72px; }
.prose-section { padding: clamp(40px, 6vw, 72px) 0; }
.prose-section .narrow { margin-inline: auto; }
.prose { font-size: 1.08rem; }
.prose p, .prose li { color: #26374F; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.legal h2 { font-size: 1.2rem; }
.draft { padding: 14px 18px; border-radius: 12px; background: #FFFBEB; border: 1px solid #FCD34D; color: #78350F !important; font-size: 15.5px; }
.table-scroll { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
address.company { font-style: normal; line-height: 1.8; color: #26374F; }

/* Features page */
.feature-groups .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.group { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.group-head h2 { font-size: 1.45rem; margin: 0; }
.group-items { margin: 0; display: grid; gap: 14px; }
.group-items dt { font-weight: 600; }
.group-items dd { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; }
.group-soon { background: var(--bg-soft); }
.group-soon .checks .icon { background: var(--sky); }
.feature-gallery { background: var(--bg-soft); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .feature-groups .wrap, .gallery-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.3rem; margin: 18px 0 6px; }
.contact-card p { color: var(--muted); flex: 1; }
.contact-card .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.contact-company { margin: 56px auto 0; text-align: center; }
.contact-company h2 { font-size: 1.3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.not-found { padding: 120px 0; }

/* Footer */
.site-footer { background: #07162B; color: #9FB3D1; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 124px; height: auto; margin-bottom: 16px; }
.footer-tagline { color: #fff; font-family: var(--font-head); font-weight: 600; }
.site-footer h2 { font-family: var(--font); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer nav a { display: block; color: #9FB3D1; text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 10%); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9FB3D1; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
