/* Zenabase company site
   Layout: sticky white header; split hero (copy on a mint tint, product shots on a
   full-bleed green panel cut by the logo's diagonal facet); alternating white and tint
   bands; product rows with real app screens; deep-green contact tile; dark footer. */

@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/outfit-600.woff2") format("woff2"); }

:root {
  /* brand */
  --green-hi: #38B79F;
  --green: #0A7968;
  --amber: #E8A33D;
  --amber-hover: #F0B357;
  --amber-ink: #2A1E08;
  /* surfaces and text (neutrals lean toward the green) */
  --bg: #FFFFFF;
  --tint: #EDF6F3;
  --card: #FFFFFF;
  --ink: #15171B;
  --muted: #56615E;
  --line: #DCE6E2;
  --link: #0A7968;
  --check-bg: #D6EEE8;
  --check: #0A7968;
  --shadow: 0 1px 2px rgba(16, 40, 35, 0.06), 0 12px 32px -12px rgba(16, 40, 35, 0.18);
  --header-bg: rgba(255, 255, 255, 0.92);
  /* always-dark brand surfaces */
  --deep: #0B2420;
  --deep-ink: #E6F2EF;
  --deep-muted: #9DBBB4;
  /* type */
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.375rem, 1.6rem + 3.2vw, 4rem);
  --wrap: 1140px;
  --gutter: max(20px, calc((100vw - var(--wrap)) / 2));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1312; --tint: #111A19; --card: #172120; --ink: #E7EEEC; --muted: #9AA9A5;
    --line: #24302E; --link: #5CCDB6; --check-bg: #173A34; --check: #7FD9C6;
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 36px -14px rgba(0,0,0,0.6);
    --header-bg: rgba(13, 19, 18, 0.92); --deep: #081A17;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1312; --tint: #111A19; --card: #172120; --ink: #E7EEEC; --muted: #9AA9A5;
  --line: #24302E; --link: #5CCDB6; --check-bg: #173A34; --check: #7FD9C6;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 36px -14px rgba(0,0,0,0.6);
  --header-bg: rgba(13, 19, 18, 0.92); --deep: #081A17;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--header-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }

.wrap {
  max-width: calc(var(--wrap) + 48px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 40; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 var(--step-0)/1 var(--font); text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-outline { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; color: var(--ink); margin-right: auto; }
.brand svg { height: 28px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 0.9375rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--link); }
@media (max-width: 720px) { .nav { display: none; } }

/* hero */
.hero { background: var(--tint); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy {
  padding-block: clamp(56px, 8vw, 112px);
  padding-left: var(--gutter);
  padding-right: clamp(24px, 4vw, 64px);
  display: grid; gap: 24px; align-content: center;
}
.hero-copy h1 { font-size: var(--step-3); max-width: 14ch; }
.nowrap { white-space: nowrap; }
.hero-copy .lede { font-size: var(--step-1); color: var(--muted); max-width: 30em; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.hero-art {
  position: relative; overflow: hidden; min-height: 560px;
  background: linear-gradient(to bottom left, var(--green-hi), var(--green));
}
.hero-art::after { /* darker facet along the logo's diagonal */
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2);
  clip-path: polygon(100% 6%, 100% 100%, 0 100%, 0 94%);
}
.hero-art picture { display: contents; }
.hero-art img { position: absolute; z-index: 1; }
.hero-art .art-admin {
  top: 12%; left: 9%; width: 118%; max-width: none;
  border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(4, 30, 26, 0.55);
}
.hero-art .art-phone {
  bottom: -14%; left: 5%; width: 33%; max-width: 240px;
  filter: drop-shadow(0 24px 40px rgba(4, 30, 26, 0.5));
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-bottom: 48px; }
  .hero-art { min-height: 0; aspect-ratio: 4 / 3; max-width: 100%; }
  .hero-art .art-phone { width: 30%; bottom: -18%; }
}
@media (max-width: 480px) {
  .hero-copy { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* sections */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band-tint { background: var(--tint); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.intro h2 { font-size: var(--step-2); max-width: 16ch; }
.intro p { color: var(--muted); max-width: 32em; }
@media (max-width: 760px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* products */
.products { display: grid; gap: clamp(72px, 9vw, 120px); }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.product.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.product.flip .product-media { order: 2; }
.product-media {
  position: relative; margin: 0;
  background: var(--tint);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 7 / 5.2;
  max-width: 100%;
}
.product-media img { position: absolute; max-width: none; }
.media-unitrail img { top: 10%; left: 8%; width: 104%; border-radius: 10px; box-shadow: var(--shadow); }
.media-airto .win { top: 9%; left: 7%; width: 86%; border-radius: 9px; box-shadow: var(--shadow); }
.media-airto .phone { bottom: -16%; right: 5%; width: 25%; filter: drop-shadow(0 18px 28px rgba(4, 30, 26, 0.35)); }

.product-text { display: grid; gap: 20px; min-width: 0; align-content: center; }
.product-id { display: flex; align-items: center; gap: 14px; }
.product-id img { width: 52px; height: 52px; border-radius: 12px; }
.product-id .name { font-size: var(--step-1); font-weight: 600; line-height: 1.2; }
.product-id .platform { font-size: var(--step--1); color: var(--muted); }
.product-text h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.product-text > p { color: var(--muted); max-width: 32em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--check-bg);
}
.checks li::after {
  content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 11px;
  border: solid var(--check); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.product-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.status { font-size: var(--step--1); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

@media (max-width: 860px) {
  .product, .product.flip { grid-template-columns: minmax(0, 1fr); }
  .product.flip .product-media { order: 0; }
}

/* more to come */
.more {
  margin-top: clamp(64px, 8vw, 104px);
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px; border-radius: 20px;
  border: 1.5px dashed var(--line);
}
.more-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--check-bg); color: var(--check); display: flex; align-items: center; justify-content: center; }
.more-ic svg { width: 24px; height: 24px; }
.more h3 { font-size: var(--step-1); }
.more p { color: var(--muted); margin-top: 4px; }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.principle { background: var(--card); border-radius: 18px; padding: 32px 28px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.principle .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--check-bg); color: var(--check); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.principle .ic svg { width: 22px; height: 22px; }
.principle h3 { font-size: var(--step-1); }
.principle p { color: var(--muted); }
@media (max-width: 860px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* contact tile */
.contact-tile {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(to bottom left, #0E8A76, #075A4D);
  color: #fff;
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: center;
}
.contact-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.18); clip-path: polygon(100% 10%, 100% 100%, 0 100%, 0 90%); }
.contact-tile > * { position: relative; z-index: 1; }
.contact-tile h2 { font-size: var(--step-2); }
.contact-tile p { color: rgba(255, 255, 255, 0.85); margin-top: 16px; max-width: 30em; }
.contact-list { display: grid; gap: 16px; }
.contact-list div { display: grid; gap: 2px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.contact-list span { font-size: var(--step--1); color: rgba(255, 255, 255, 0.75); }
.contact-list a { color: #fff; font-weight: 500; font-size: var(--step-1); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 760px) { .contact-tile { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { background: var(--deep); color: var(--deep-muted); font-size: var(--step--1); margin-top: clamp(72px, 9vw, 120px); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; }
.site-footer .brand { color: var(--deep-ink); }
.site-footer .about p { margin-top: 16px; max-width: 26em; }
.site-footer h4 { color: var(--deep-ink); font-size: 0.9375rem; font-weight: 600; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--deep-ink); text-decoration: underline; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 24px 32px; }
@media (max-width: 640px) { .site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .site-footer .about { grid-column: 1 / -1; } }

/* privacy page */
.page-head { background: var(--tint); padding-block: clamp(48px, 7vw, 88px); }
.page-head h1 { font-size: var(--step-3); }
.page-head p { color: var(--muted); margin-top: 12px; }
.prose { max-width: 42em; padding-block: clamp(40px, 6vw, 64px) 0; }
.prose h2 { font-size: var(--step-1); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose .details { margin: 0 0 14px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; padding: 20px 24px; border-radius: 14px; background: var(--tint); }
.prose .details dt { color: var(--muted); }
.prose .details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .prose .details { grid-template-columns: minmax(0, 1fr); gap: 0; } .prose .details dd { margin-bottom: 10px; } }
