/* AVILON ONE: reference-led layout and portal design tokens. */
:root {
  color-scheme: dark;
  --navy: #101c30;
  --deep: #04121e;
  --surface: #192c43;
  --text: #e7edf7;
  --muted: #abb9cb;
  --border: #446175;
  --cyan: #70d1ff;
  --ink: #101c30;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--navy); color: var(--text); font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #47c9bb; outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 4.1vw, 3.75rem); font-weight: 740; }
h2 { font-size: clamp(1.85rem, 2.8vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.1rem; }
p + p { margin-top: 1rem; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 60px; }
.eyebrow { margin-bottom: 12px; color: var(--cyan); font-size: .78rem; font-weight: 700; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex: none; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--cyan); }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 12px 20px; background: white; color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background .18s, border-color .18s, box-shadow .18s; }
.button-primary { background: linear-gradient(105deg, #0077ce, #0055ed); color: #fff; border-color: #178af4; box-shadow: 0 5px 20px #005eff12; }
.button-primary:hover { background: linear-gradient(105deg, #0068b6, #004bd1); box-shadow: 0 5px 25px #008cff25; }
.button-secondary { background: #07142275; color: var(--text); border-color: #8096aa; }
.button-secondary:hover, .portal-link:hover { background: var(--surface); border-color: #47c9bb; }
.button-outline { background: transparent; color: #124c95; border-color: #3888eb; }
.button-outline:hover { background: #e2efff; border-color: #0058c9; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* Header */
.site-header { position: relative; z-index: 5; background: var(--deep); }
.header-inner { min-height: 100px; display: flex; align-items: center; gap: 22px; }
.brand { display: block; flex: none; width: 224px; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { font-size: .8rem; font-weight: 600; white-space: nowrap; text-decoration: none; padding-block: 13px; }
.desktop-nav a:hover { color: var(--cyan); }
.portal-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 14px; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; font-size: .8rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.portal-link .icon { width: 18px; height: 18px; }
.header-contact { min-height: 44px; font-size: .8rem; padding: 12px 16px; white-space: nowrap; }
.mobile-nav { display: none; }

/* Hero and service strip */
.hero { isolation: isolate; position: relative; overflow: hidden; background: var(--deep); }
.hero-art { position: absolute; z-index: -1; inset: -35px 0 0 35%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 45%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), #04121edb 9%, #04121e16 46%), linear-gradient(0deg, var(--deep) 0%, #04121e00 37%); }
.hero-main { min-height: 510px; display: flex; align-items: center; padding-block: 60px 66px; }
.hero-copy { width: 53%; max-width: 640px; }
.hero h1 span { color: #009ef0; }
.hero-intro { max-width: 520px; margin-top: 25px; font-size: 1.08rem; color: #e3eaf2; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-block: 25px 44px; }
.pillar { display: flex; align-items: center; gap: 16px; }
.pillar .icon { width: 37px; height: 37px; }
.pillar strong, .pillar p span { display: block; font-size: .81rem; line-height: 1.5; }
.pillar strong { font-weight: 650; }
.pillar p span { color: #c1ccd9; margin-top: 2px; }

/* Light introductory section */
.light { color-scheme: light; background: linear-gradient(110deg, #f5f9ff, #edf4fd); color: var(--ink); }
.light .eyebrow { color: #0061cc; }
.product-grid { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: 58px; }
.product h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 18px; }
.product-grid > div > p:last-child { color: #25364b; }
.check-list, .feature-list { list-style: none; margin: 0; padding: 0; }
.check-list { border-left: 1px solid #c7d8ee; padding-left: 38px; }
.check-list li, .feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list li { margin-block: 12px; font-size: .9rem; }
.check-list .icon, .feature-list .icon { width: 19px; height: 19px; color: #0070ed; margin-top: 3px; }

/* Package cards */
.packages { background: radial-gradient(ellipse at 86% 95%, #15405a, transparent 68%), linear-gradient(115deg, #071723, #101c30); padding-block: 58px 35px; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; margin-bottom: 34px; }
.section-heading > p { padding-left: 34px; border-left: 1px solid #2b455b; color: #cfdae7; font-size: .96rem; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; padding-top: 10px; }
.package-card { display: flex; flex-direction: column; padding: 30px 26px 24px; border: 1px solid #d4e2f3; border-radius: var(--radius); background: linear-gradient(135deg, #f8fbff, #ecf4ff); color: var(--ink); box-shadow: 0 12px 30px #00000015; }
.package-card.featured { border: 2px solid #2687ff; transform: translateY(-10px); box-shadow: 0 0 0 3px #2085ff0b, 0 16px 32px #0085ff12; margin-bottom: -10px; }
.card-title { display: flex; gap: 20px; align-items: center; margin-bottom: 19px; }
.card-title .icon { width: 42px; height: 42px; color: #0871f5; stroke-width: 1.6; }
.card-title h3 { font-size: 1.43rem; line-height: 1.14; }
.card-title h3 span { display: block; margin-top: 3px; }
.card-intro { font-size: .95rem; min-height: 3.2em; color: #26364a; }
.feature-list { margin-block: 24px 28px; }
.feature-list li { gap: 10px; margin-top: 11px; font-size: .88rem; }
.feature-list .icon { width: 18px; height: 18px; }
.card-bottom { border-top: 1px solid #ccdaeb; padding-top: 22px; margin-top: auto; }
.card-bottom h4 { font-size: 1.24rem; line-height: 1.25; }
.card-bottom p { min-height: 3.2em; margin-block: 9px 19px; color: #34445a; font-size: .88rem; }
.card-bottom .button { width: 100%; }
.package-note { max-width: 900px; margin: 25px auto 0; color: #bdcede; font-size: .8rem; text-align: center; }

/* Process */
.process { padding-block: 54px 62px; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.steps li { position: relative; display: flex; align-items: flex-start; gap: 20px; }
.steps li + li { border-left: 1px solid #d9e5f3; padding-left: 28px; }
.step-number { display: grid; place-items: center; flex: 0 0 66px; height: 66px; color: #0066e5; font-size: 1.15rem; font-weight: 750; border-radius: 50%; background: radial-gradient(circle, #f8fbff, #d8ecff); box-shadow: inset 0 0 10px #acd6ff77; border: 1px solid #c5e1ff; }
.steps h3 { font-size: 1.06rem; line-height: 1.35; margin: 12px 0; }
.steps p { color: #34445a; font-size: .91rem; }

/* Benefits and collaboration */
.benefits { background: linear-gradient(110deg, #04121e, #101c30); padding-block: 48px; }
.benefits .section-heading { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.icon-ring { display: grid; place-items: center; width: 59px; height: 59px; border: 1px solid #1d6797; border-radius: 50%; flex: none; background: #071b2d; }
.icon-ring .icon { width: 31px; height: 31px; }
.benefit h3 { font-size: .86rem; line-height: 1.4; margin-block: 6px 5px; letter-spacing: -.01em; }
.benefit p { font-size: .82rem; color: #c1cedd; }
.about { padding-block: 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.about-grid > div { padding-right: 16px; align-self: center; }
.about .eyebrow { font-size: .7rem; }
.about h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.principle { padding: 24px; border: 1px solid #e4edf7; border-radius: 10px; background: #f9fcff99; box-shadow: 0 4px 14px #203d5e0c; }
.principle .icon { color: #0575ea; width: 29px; height: 29px; margin-bottom: 14px; }
.principle h3 { font-size: 1rem; margin-bottom: 10px; }
.principle p { color: #34445a; font-size: .89rem; }

/* Mountain close */
.closing { position: relative; isolation: isolate; overflow: hidden; background: #03101f; }
.mountain-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% 51%; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #04121ef5 0%, #04121ed2 37%, #04121e37 75%), linear-gradient(0deg, #04121e8a, transparent 40%); }
.closing-inner { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: 72px; padding-block: 58px; min-height: 355px; }
.closing h2 { font-size: clamp(1.9rem, 2.7vw, 2.55rem); margin-bottom: 17px; max-width: 700px; }
.closing-copy > p:not(.eyebrow) { max-width: 540px; color: #d6e1ed; }
.closing-brand { max-width: 340px; justify-self: end; }
.closing-brand p { color: #73cfff; font-size: .75rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; text-align: center; margin-top: 12px; }
.contact-email { display: inline-block; font-size: .85rem; margin-top: 20px; color: #c4d7eb; }
.site-footer { background: #071320; border-top: 1px solid #203346; padding-block: 22px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #b7c5d6; font-size: .8rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-inner a { padding-block: 8px; }

/* Legal drafts */
.legal { min-height: 70vh; }
.legal .container { max-width: 850px; }
.legal .eyebrow { margin-top: 30px; }
.legal h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); overflow-wrap: anywhere; }
.legal h2 { font-size: 1.45rem; margin: 34px 0 14px; }
.legal address { font-style: normal; margin-bottom: 16px; }
.legal a { overflow-wrap: anywhere; }
.draft-note { background: #fff3d8; border-left: 4px solid #b86b00; padding: 22px; margin: 28px 0; }
.draft-note p { margin-top: 10px; }
.header-inner > .portal { margin-left: auto; }

@media (max-width: 1220px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 15px; }
  .brand { width: 205px; }
  .desktop-nav { gap: 16px; }
  .header-contact { display: none; }
  .portal-link { margin-left: auto; }
  .hero-copy { width: 55%; }
  .hero-main { min-height: 480px; }
  .pillars { gap: 20px; }
  .pillar { gap: 10px; }
  .pillar strong, .pillar p span { font-size: .75rem; }
  .product-grid, .section-heading { gap: 35px; }
  .steps { gap: 22px; }
  .steps li { gap: 15px; }
  .steps li + li { padding-left: 20px; }
  .step-number { flex-basis: 54px; height: 54px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 35px; }
  .benefit h3 { font-size: .95rem; }
  .benefit p { font-size: .9rem; }
}
@media (max-width: 900px) {
  .section { padding-block: 46px; }
  .desktop-nav { display: none; }
  .header-inner { min-height: 84px; flex-wrap: wrap; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; cursor: pointer; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; min-height: 44px; display: flex; align-items: center; gap: 14px; font-size: .8rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 1rem; line-height: 1; }
  .mobile-nav[open] summary { background: var(--surface); border-color: #47c9bb; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: var(--navy); border: 1px solid var(--border); border-radius: 12px; padding: 10px; box-shadow: 0 12px 35px #0005; }
  .mobile-nav nav a { display: block; padding: 12px; text-decoration: none; font-size: .94rem; border-radius: 5px; }
  .mobile-nav nav a:hover { background: var(--surface); }
  .hero-main { padding-block: 48px; min-height: 475px; }
  .hero-copy { width: 62%; }
  .hero-intro { font-size: 1rem; }
  .hero-art { left: 28%; opacity: .65; }
  .hero-art::after { background: linear-gradient(90deg, var(--deep), #04121e9a 40%, transparent), linear-gradient(0deg, var(--deep), transparent 50%); }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pillar strong, .pillar p span { font-size: .86rem; }
  .product-grid { grid-template-columns: 1.2fr 1fr; gap: 25px; }
  .check-list { padding-left: 23px; }
  .section-heading { grid-template-columns: 1.15fr 1fr; gap: 25px; }
  .section-heading > p { padding-left: 24px; }
  .package-grid { gap: 12px; }
  .package-card { padding: 24px 17px 18px; }
  .card-title { gap: 12px; }
  .card-title .icon { width: 29px; height: 29px; }
  .card-title h3 { font-size: 1.15rem; }
  .card-intro { min-height: 4.8em; }
  .feature-list li { gap: 7px; font-size: .84rem; }
  .card-bottom h4 { font-size: 1.05rem; }
  .card-bottom p { min-height: 4.8em; }
  .steps li { display: block; }
  .step-number { width: 56px; height: 56px; margin-bottom: 15px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid > div { grid-column: 1 / -1; }
  .about h2 br { display: none; }
  .closing-inner { gap: 25px; grid-template-columns: 1.8fr 1fr; }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; padding-block: 14px; }
  .brand { width: 185px; margin-right: auto; }
  .portal-link { padding: 9px 11px; font-size: .78rem; gap: 6px; }
  .portal-link .icon { width: 17px; height: 17px; }
  .mobile-nav { width: 100%; }
  .mobile-nav summary { width: 100%; justify-content: space-between; min-height: 38px; padding: 8px 12px; }
  .mobile-nav nav { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .hero-main { min-height: 0; padding-block: 36px 28px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.3rem); line-height: 1.12; }
  .hero-intro { margin-top: 21px; max-width: 95%; }
  .hero-art { inset: 20px -25% 0 10%; opacity: .3; }
  .hero-art::after { background: linear-gradient(90deg, #04121ef0, #04121e55), linear-gradient(0deg, var(--deep), transparent); }
  .actions { gap: 12px; margin-top: 24px; }
  .actions .button { flex: 1 1 200px; }
  .pillars { padding-block: 22px 36px; gap: 23px 16px; }
  .pillar { align-items: flex-start; gap: 9px; }
  .pillar .icon { width: 28px; height: 28px; }
  .pillar strong { font-size: .75rem; overflow-wrap: anywhere; }
  .pillar p span { font-size: .75rem; }
  .section { padding-block: 39px; }
  h2, .product h2 { font-size: 1.9rem; }
  .product-grid, .section-heading, .benefits .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .product-grid > div > p:last-child { font-size: 1rem; }
  .check-list { padding-left: 18px; }
  .check-list li { font-size: .9rem; margin-block: 10px; }
  .section-heading > p { padding-left: 18px; font-size: .94rem; }
  .section-heading { margin-bottom: 27px; }
  .package-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
  .package-card { padding: 26px; }
  .package-card.featured { transform: none; margin-bottom: 0; }
  .card-title { gap: 20px; }
  .card-title .icon { width: 41px; height: 41px; }
  .card-title h3 { font-size: 1.4rem; }
  .card-intro, .card-bottom p { min-height: 0; }
  .feature-list li { font-size: .94rem; gap: 10px; }
  .card-bottom h4 { font-size: 1.25rem; }
  .card-bottom p { font-size: .92rem; }
  .package-note { text-align: left; font-size: .8rem; }
  .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 27px; }
  .steps li { display: flex; gap: 20px; }
  .steps li + li { border: 0; padding-left: 0; }
  .step-number { flex-basis: 55px; margin: 0; }
  .steps h3 { margin-top: 5px; font-size: 1.06rem; }
  .steps p { font-size: .94rem; }
  .benefit-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefit { gap: 18px; }
  .benefit h3 { font-size: 1rem; margin-top: 3px; }
  .benefit p { font-size: .94rem; }
  .about-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-grid > div { margin-bottom: 7px; }
  .principle { padding: 22px; }
  .principle p { font-size: .94rem; }
  .closing-inner { grid-template-columns: 1fr; padding-block: 40px; gap: 33px; }
  .closing h2 { font-size: 1.95rem; }
  .closing-brand { justify-self: center; width: 235px; }
  .closing-brand p { font-size: .65rem; margin-top: 6px; }
  .mountain-art { object-position: 65% center; }
  .closing::before { background: linear-gradient(180deg, #04121ee8 10%, #04121ec2 53%, #04121e28); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-inner nav { gap: 22px; }
  .footer-inner a { display: inline-block; }
  .legal .container { width: calc(100% - 40px); }
}
@media (max-width: 360px) {
  .brand { width: 145px; }
  .portal-link { padding-inline: 9px; }
  .portal-link .icon { display: none; }
  .package-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
