:root {
  --brand: #1f5e7a;
  --brand-dark: #17475c;
  --brand-deep: #102f3d;
  --brand-soft: #eaf3f7;
  --sky: #dcecf4;
  --ink: #1f2933;
  --muted: #5b6570;
  --line: #d7dee3;
  --surface: #ffffff;
  --background: #f4f7f9;
  --warm: #f4eee3;
  --danger-soft: #fbe8e7;
  --shadow: 0 28px 80px rgba(23, 71, 92, 0.14);
  --radius: 28px;
  --container: 1180px;
}

@font-face {
  font-family: "Altua Material Icons";
  src: url("assets/material-icons.otf") format("opentype");
  font-display: block;
}

.material-icon {
  font-family: "Altua Material Icons";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(244, 247, 249, 0.92);
  box-shadow: 0 1px 0 rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; }
.brand img { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; }

.main-nav { display: flex; align-items: center; gap: 34px; color: #34434e; font-size: 0.94rem; font-weight: 650; }
.main-nav > a:not(.nav-cta) { transition: color 160ms ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--brand); }
.nav-cta { padding: 12px 20px; color: #fff; background: var(--brand-dark); border-radius: 999px; }
.menu-button { display: none; }

.hero {
  min-height: 780px;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 26%, rgba(126, 190, 218, 0.27), transparent 27%),
    linear-gradient(180deg, #f8fbfc 0%, var(--background) 100%);
}

.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 72px; }
.hero-copy { position: relative; z-index: 2; }

.eyebrow, .section-label {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.072em;
}

.hero-lead { max-width: 610px; margin-bottom: 34px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border-radius: 999px; font-weight: 750; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 14px 32px rgba(31, 94, 122, 0.24); }
.button-secondary { color: var(--brand-dark); background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); }

.trust-list { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 38px 0 0; padding: 0; color: var(--muted); font-size: 0.88rem; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--brand); font-weight: 900; }

.product-stage { position: relative; min-height: 650px; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 530px; height: 530px; border-radius: 44% 56% 63% 37%; background: linear-gradient(145deg, #cce4ef, #edf6fa); transform: rotate(-12deg); }

.phone {
  position: relative;
  z-index: 2;
  width: 326px;
  min-height: 632px;
  padding: 12px;
  color: var(--ink);
  background: #0c2029;
  border: 7px solid #0c2029;
  border-radius: 47px;
  box-shadow: 0 38px 90px rgba(16, 47, 61, 0.26);
  transform: rotate(3deg);
}

.phone-top { height: 34px; display: flex; justify-content: space-between; padding: 5px 12px 0; color: #fff; font-size: 0.62rem; }
.phone-content { position: relative; min-height: 562px; overflow: hidden; padding: 14px 13px 50px; background: #f4f7f9; border-radius: 33px; }
.phone-dashboard { padding: 17px; color: #fff; background: linear-gradient(145deg, var(--brand-dark), #2d708b); border-radius: 24px; }
.phone-dashboard h2 { margin-bottom: 7px; font-size: 1.38rem; letter-spacing: -0.04em; }
.phone-dashboard > strong { display: block; font-size: 1rem; }
.phone-dashboard > p { margin: 2px 0 12px; color: #dce9ef; font-size: 0.66rem; }
.phone-stats { display: grid; grid-template-columns: 0.8fr 1.25fr 0.8fr; gap: 6px; }
.phone-stats span { padding: 8px; color: #dce9ef; background: rgba(255,255,255,0.13); border-radius: 10px; font-size: 0.54rem; }
.phone-stats b { display: block; margin-top: 2px; color: #fff; font-size: 0.72rem; }
.phone-dashboard button { margin-top: 10px; padding: 6px 11px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.48); border-radius: 999px; font: inherit; font-size: 0.58rem; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.phone-card { position: relative; min-height: 103px; display: flex; flex-direction: column; justify-content: space-between; padding: 11px; background: #fff; border: 1px solid #dfe7eb; border-radius: 17px; }
.phone-card i { position: absolute; top: 10px; right: 10px; color: var(--muted); font-size: 0.9rem; }
.phone-card strong { font-size: 0.72rem; }
.phone-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 9px; font-size: 1rem; }
.phone-card-warm .phone-icon { background: var(--warm); }
.phone-card-red .phone-icon { background: var(--danger-soft); }
.phone-card-green .phone-icon { background: #e8f3ea; }
.phone-recent { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; margin-top: 9px; padding: 11px; background: #fff; border: 1px solid #dfe7eb; border-radius: 17px; }
.phone-recent strong, .phone-recent small { display: block; }
.phone-recent strong { font-size: 0.7rem; }
.phone-recent small { color: var(--muted); font-size: 0.52rem; }
.phone-recent i { color: var(--muted); font-size: 1rem; }
.phone-nav { position: absolute; inset: auto 0 0; height: 43px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 4px 7px 6px; background: #eef1f7; }
.phone-nav span { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 0.43rem; line-height: 1.15; }
.phone-nav b { color: #39434d; font-size: 0.9rem; }

.floating-note { position: absolute; z-index: 3; min-width: 210px; padding: 15px 18px; background: rgba(255,255,255,0.94); border: 1px solid rgba(215,222,227,0.85); border-radius: 18px; box-shadow: 0 18px 50px rgba(23,71,92,0.14); backdrop-filter: blur(12px); }
.floating-note span { display: block; color: var(--brand); font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.floating-note strong { font-size: 0.86rem; }
.floating-note-top { top: 110px; right: -30px; }
.floating-note-bottom { bottom: 105px; left: -60px; }

.statement { padding: 115px 0; color: #fff; background: var(--brand-deep); }
.statement-grid { display: grid; grid-template-columns: 0.45fr 1.55fr; gap: 80px; align-items: start; }
.statement .section-label { color: #8fc7dc; }
.statement h2 { max-width: 850px; margin-bottom: 28px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.03; letter-spacing: -0.055em; }
.statement div > p { max-width: 680px; color: #c9d8df; font-size: 1.18rem; }

.features, .audiences, .about { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2, .how-it-works h2, .about h2, .contact h2, .download h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.055em; }
.section-heading > p { margin-bottom: 5px; color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { grid-column: span 4; min-height: 280px; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #b9cbd4; box-shadow: 0 20px 48px rgba(23, 71, 92, 0.1); }
.feature-card-primary { color: #fff; background: linear-gradient(145deg, var(--brand-dark), #2f7897); border: 0; }
.feature-card-warm { background: var(--warm); }
.feature-card-dark { grid-column: span 4; color: #fff; background: var(--brand-deep); border: 0; }
.feature-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 16px; font-size: 1.55rem; }
.feature-number { padding-top: 5px; color: var(--brand); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; }
.feature-card-primary .feature-number, .feature-card-dark .feature-number { color: #96cadf; }
.feature-card-primary .feature-icon, .feature-card-dark .feature-icon { color: #fff; background: rgba(255, 255, 255, 0.13); }
.feature-card-warm .feature-icon { background: rgba(255, 255, 255, 0.72); }
.feature-copy { margin-top: auto; padding-top: 42px; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.55rem; line-height: 1.08; letter-spacing: -0.04em; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card-primary p, .feature-card-dark p { color: #d7e7ed; }

.audiences { padding-top: 0; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { min-height: 540px; display: flex; flex-direction: column; padding: clamp(34px, 5vw, 64px); border-radius: 36px; }
.admin-card { color: #fff; background: var(--brand-dark); }
.resident-card { background: var(--sky); }
.audience-tag { margin-bottom: auto; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.admin-card .audience-tag { color: #9ed0e2; }
.resident-card .audience-tag { color: var(--brand); }
.audience-card h3 { max-width: 500px; margin: 50px 0 30px; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.05em; }
.audience-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.audience-card li { padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.2); }
.resident-card li { border-color: rgba(31,94,122,0.18); }

.how-it-works { padding: 110px 0; background: #fff; }
.how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 110px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li > span { width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 14px; font-weight: 900; }
.steps strong { font-size: 1.2rem; }
.steps p { margin: 5px 0 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 100px; align-items: center; }
.about-logo-wrap { min-height: 490px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--brand-soft)); border: 1px solid var(--line); border-radius: 42px; }
.about-logo-wrap img {
  width: min(52%, 250px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.about-copy p:not(.section-label) { max-width: 670px; color: var(--muted); font-size: 1.12rem; }
.about-copy h2 { margin-bottom: 30px; }

.contact { padding: 0 0 22px; }
.contact-panel { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; padding: clamp(42px, 7vw, 78px); color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); border-radius: 42px; box-shadow: var(--shadow); }
.contact-copy p:not(.section-label) { max-width: 650px; margin: 22px 0 0; color: #cfe0e7; font-size: 1.08rem; }
.contact-actions { display: grid; gap: 12px; }
.contact-button { min-height: 82px; display: grid; grid-template-columns: 46px 1fr; gap: 15px; align-items: center; padding: 15px 20px; border-radius: 20px; transition: transform 160ms ease, background-color 160ms ease; }
.contact-button:hover { transform: translateY(-2px); }
.contact-button-primary { color: var(--ink); background: #fff; }
.contact-button-secondary { color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); }
.contact-email, .contact-instagram { width: 46px; height: 46px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); border-radius: 14px; font-size: 1.35rem; font-weight: 850; }
.contact-button span:last-child { min-width: 0; }
.contact-button small, .contact-button strong { display: block; }
.contact-button small { color: var(--muted); font-size: 0.7rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.09em; }
.contact-button strong { overflow-wrap: anywhere; font-size: 1.02rem; }
.contact-button-secondary small { color: #bcd1da; }
.contact-button-secondary .contact-instagram { color: #fff; background: rgba(255, 255, 255, 0.12); }

.download { padding: 0 0 120px; }
.download-panel { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: center; padding: clamp(42px, 7vw, 88px); color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); border-radius: 42px; box-shadow: var(--shadow); }
.download-panel p:not(.section-label) { margin: 20px 0 0; color: #cfe0e7; font-size: 1.08rem; }
.section-label-light { color: #9ed0e2; }
.store-links { display: grid; gap: 12px; }
.store-button { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 12px 22px; color: var(--ink); background: #fff; border-radius: 18px; transition: transform 160ms ease; }
.store-button:hover { transform: translateY(-2px); }
.store-button span { color: var(--muted); font-size: 0.68rem; }
.store-button strong { font-size: 1.18rem; }

.site-footer { padding: 64px 0 24px; color: #c8d5db; background: #0a222c; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 56px; }
.footer-brand { color: #fff; }
.footer-grid > div > p { margin-top: 20px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 6px; color: #fff; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; }

a:focus-visible, button:focus-visible { outline: 3px solid #65b8db; outline-offset: 4px; }

@media (max-width: 980px) {
  .hero-grid, .statement-grid, .section-heading, .how-grid, .about-grid, .contact-panel, .download-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .product-stage { min-height: 680px; }
  .statement-grid, .how-grid, .about-grid, .contact-panel, .download-panel { gap: 46px; }
  .feature-card, .feature-card-primary, .feature-card-warm, .feature-card-dark { grid-column: span 6; }
  .download { padding-bottom: 80px; }
  .store-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-shell { min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .menu-button { width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
  .menu-button span { width: 21px; height: 2px; background: var(--ink); transition: transform 160ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 72px 14px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-lead { font-size: 1.05rem; }
  .trust-list { flex-direction: column; gap: 8px; align-items: center; }
  .product-stage { min-height: 590px; transform: scale(0.9); margin: -20px -20px -55px; }
  .phone { width: 300px; min-height: 590px; }
  .phone-content { min-height: 520px; }
  .floating-note { min-width: 180px; }
  .floating-note-top { right: -5px; }
  .floating-note-bottom { left: -5px; }
  .statement, .features, .about { padding: 80px 0; }
  .section-heading { gap: 16px; margin-bottom: 36px; }
  .feature-grid, .audience-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-primary, .feature-card-warm, .feature-card-dark { grid-column: 1; min-height: 250px; }
  .audience-card { min-height: 490px; border-radius: 28px; }
  .how-it-works { padding: 80px 0; }
  .about-logo-wrap { min-height: 340px; }
  .contact { padding-bottom: 16px; }
  .contact-panel { padding: 40px 26px; border-radius: 30px; }
  .download-panel { padding: 40px 26px; border-radius: 30px; }
  .store-links, .footer-grid, .footer-links { grid-template-columns: 1fr; }
  .footer-grid { gap: 44px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .product-stage { transform: scale(0.82); margin: -50px -40px -95px; }
  .floating-note-top { right: -28px; }
  .floating-note-bottom { left: -28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
