:root {
  --ink: #f4f8ff;
  --muted: #aabbd6;
  --soft: #6f8caf;
  --line: rgba(136, 205, 255, 0.2);
  --line-strong: rgba(94, 198, 255, 0.52);
  --cyan: #52dcff;
  --blue: #3d7cff;
  --night: #020713;
  --panel: rgba(8, 20, 40, 0.76);
  --max: 1830px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.home-page { min-height: 100vh; }
.home-shell { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 8%, rgba(29, 117, 225, 0.2), transparent 31rem),
    radial-gradient(circle at 8% 70%, rgba(0, 212, 255, 0.08), transparent 32rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  border-bottom: 1px solid rgba(150, 210, 255, 0.08);
  background: linear-gradient(180deg, rgba(1, 7, 18, 0.82), transparent);
}
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { position: relative; top: 10px; display: inline-flex; align-items: center; gap: 13px; letter-spacing: .24em; font-size: 16px; font-weight: 700; }
.brand-mark { width: 40px; height: 40px; position: relative; background: url("assets/brand-snowflake-transparent.png") center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(82, 220, 255, .7)); }
.brand-mark::before, .brand-mark::after, .brand-mark span { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 14px; color: #c9d6ea; }
.nav a { position: relative; padding: 20px 0 18px; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.mobile-menu { display: none; color: var(--ink); border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 8px 10px; }

.home-page main { position: relative; isolation: isolate; }
.home-page main::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(90deg, rgba(2, 6, 18, .55) 0%, rgba(2, 6, 18, .30) 28%, rgba(2, 6, 18, .05) 48%, transparent 60%), url("assets/hero-bg.webp");
  background-position: center, center -40px;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  background-color: #020713;
  filter: saturate(1.08) contrast(1.05);
}
.hero { height: min(800px, calc(100vh - 250px)); min-height: 680px; position: relative; }
.hero::before { display: none; }
.hero::after { display: none; }
.hero-content { height: 100%; display: flex; align-items: center; padding-top: 60px; padding-bottom: 0; }
.hero-copy { position: relative; z-index: 1; width: 58%; }
.eyebrow, .kicker, .keywords { color: var(--cyan); letter-spacing: .34em; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.eyebrow { margin-bottom: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 100%; white-space: nowrap; margin-bottom: 4px; font-size: clamp(42px, 4.9vw, 76px); line-height: .96; letter-spacing: .01em; font-weight: 650; }
h1 span { color: var(--cyan); }
.hero-subtitle { max-width: 700px; margin-bottom: 18px; color: #dbeaff; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: .16em; white-space: nowrap; }
.hero-text { max-width: 620px; margin-bottom: 28px; color: #c4d5ea; font-size: 21px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-links { display: flex; gap: 14px; margin-top: 0; }
.hero-links .hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: none; border-radius: 0; color: inherit; font-size: 16px; line-height: 1; }
.hero-links .button.primary .hero-icon { color: #fff; }
.hero-links .button.secondary .hero-icon { color: var(--cyan); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 0 23px; border: 1px solid var(--cyan); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(39, 154, 255, .22); }
.button.primary { border-color: transparent; background: linear-gradient(110deg, #2388ff, #4269ff); box-shadow: 0 0 28px rgba(48, 116, 255, .38); }
.button.secondary { color: var(--cyan); background: rgba(2, 10, 25, .32); }
.keywords { margin: 28px 0 0; color: #b7d6ff; letter-spacing: .22em; font-size: 10px; }

.home-page .features { position: relative; left: auto; right: auto; bottom: auto; z-index: 2; background: rgba(3, 10, 24, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.home-page .feature { min-height: 0; padding: 10px 16px 8px; }
.home-page img.feature-icon { width: 36px; height: 36px; margin-bottom: 4px; }
.home-page .feature h3 { margin-bottom: 3px; font-size: 11px; }
.home-page .feature p { font-size: 11px; line-height: 1.3; }
.home-page .keywords { margin-top: 28px; }

.features { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { min-height: 210px; padding: 36px 30px; text-align: center; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
img.feature-icon { width: 64px; height: 64px; margin: 0 auto 18px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(82, 220, 255, .5)); }
.feature h3 { margin-bottom: 8px; font-size: 13px; letter-spacing: .22em; }
.feature p { margin: 0 auto; max-width: 220px; color: var(--muted); font-size: 14px; }

.section { padding: 112px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4.3vw, 57px); letter-spacing: .05em; line-height: 1; }
.section-heading p { max-width: 450px; margin-bottom: 0; color: var(--muted); }
.kicker { margin-bottom: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-card { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(13, 31, 59, .83), rgba(4, 13, 28, .9)); overflow: hidden; position: relative; }
.product-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: rgba(42, 154, 255, .17); filter: blur(20px); }
.product-card.featured { grid-column: span 2; min-height: 310px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.product-art { min-height: 180px; border-radius: 12px; border: 1px solid var(--line); background: #071021; overflow: hidden; position: relative; }
.garden-art { background: #071021 url("assets/garden-girl-preview.png") 16% 44% / auto 180% no-repeat; }
.product-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgba(4, 13, 28, .95)); }
.product-card h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 27px; }
.product-card p { position: relative; z-index: 1; max-width: 470px; margin-bottom: 22px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; color: #a8d6ff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.button.small { min-height: 39px; padding: 0 16px; font-size: 12px; }
.button.muted { border-color: rgba(164, 192, 222, .32); color: #aabbd6; }
.callout { padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(105deg, rgba(9, 31, 63, .9), rgba(4, 13, 29, .65)); }
.callout h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 46px); }
.callout p { max-width: 650px; color: var(--muted); }

.page-hero { padding: 170px 0 78px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 10%, rgba(33, 129, 255, .24), transparent 30rem); }
.page-hero h1 { font-size: clamp(48px, 8vw, 88px); }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 18px; }
.download-list { display: grid; gap: 14px; }
.download-row { display: grid; grid-template-columns: 1.2fr repeat(3, .7fr) auto; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 20, 40, .65); }
.download-row h3 { margin: 0 0 5px; font-size: 19px; }
.download-row p, .download-meta { margin: 0; color: var(--muted); font-size: 13px; }
.download-meta strong { display: block; color: #e9f4ff; font-size: 12px; font-weight: 600; }
.download-meta span { display: block; margin-top: 2px; }
.plain-list { display: grid; gap: 15px; margin: 25px 0 0; padding: 0; list-style: none; }
.plain-list li { padding-left: 18px; border-left: 2px solid var(--cyan); color: var(--muted); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: #8fa7c5; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }

@media (min-width: 821px) {
  .home-page .site-header .shell { width: min(calc(100% - 144px), 1442px); max-width: none; }
  .home-page .hero .shell { width: min(calc(100% - 144px), 1442px); max-width: none; }
  .home-page .features .shell { width: 100%; max-width: none; }
}

@media (min-width: 1200px) {
  .home-page { height: 100vh; min-height: 0; overflow: hidden; }
  .home-shell { height: 100%; min-height: 0; overflow: hidden; }
  .home-page main { height: calc(100vh - 60px); margin-top: 60px; display: flex; flex-direction: column; overflow: hidden; }
  .home-page .hero { min-height: 0; flex: 1 1 auto; }
  .home-page .features { flex: 0 0 auto; overflow: hidden; }
  .home-page .header-inner { min-height: 60px; }
  .home-page .hero-copy { transform: translateY(-12px); }
  .home-page .nav { gap: clamp(16px, 2vw, 30px); }
  .home-page .hero-copy { width: 55%; }
  .home-page .hero-subtitle { width: 100%; max-width: 700px; font-size: clamp(22px, 2vw, 30px); letter-spacing: .12em; margin-bottom: 12px; }
  .home-page h1 { font-size: clamp(52px, 4.7vw, 75px); letter-spacing: .005em; }
  .home-page .hero-text { font-size: 17px; margin-bottom: 20px; }
  .home-page .hero-links .button { min-height: 50px; }
  .home-page .keywords { font-size: 9px; margin-top: 18px; }
  .home-page .eyebrow { margin-bottom: 16px; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 72px; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 10px 18px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(3, 12, 27, .97); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; }
  .nav a[aria-current="page"]::after { bottom: 7px; right: auto; width: 32px; }
  .mobile-menu { display: block; }
  .hero { height: auto; min-height: 720px; }
  .hero::before { background-image: linear-gradient(180deg, rgba(2, 6, 18, .82) 0%, rgba(2, 6, 18, .50) 40%, rgba(2, 6, 18, .10) 100%), url("assets/hero-bg.webp"); background-size: 100% 100%, cover; background-position: center, center center; }
  .hero-content { min-height: 720px; align-items: center; padding-top: 95px; padding-bottom: 120px; }
  .hero-copy { width: min(620px, 84%); }
  h1 { white-space: normal; font-size: clamp(48px, 8vw, 72px); }
  .home-page .features { position: relative; height: auto; }
  .home-page .feature { padding: 18px 12px; }
  .home-page img.feature-icon { width: 42px; height: 42px; margin-bottom: 8px; }
  .home-page .feature h3 { margin-bottom: 6px; font-size: 10px; letter-spacing: .14em; }
  .home-page .feature p { font-size: 12px; line-height: 1.3; }
  .home-page .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .feature:nth-child(2) { border-right: 0; }
  .home-page .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-card.featured { grid-template-columns: 1fr; }
  .download-row { grid-template-columns: 1fr 1fr; }
  .download-row .button { grid-column: span 2; }
}

@media (max-width: 520px) {
  .hero { min-height: 680px; }
  .hero-content { min-height: 680px; padding-top: 100px; padding-bottom: 115px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(42px, 11vw, 60px); }
  .hero-subtitle { letter-spacing: .17em; font-size: 16px; }
  .hero-text { font-size: 15px; }
  .hero-links { gap: 9px; }
  .hero-links .button { width: auto; min-width: 0; flex: 1; padding-right: 13px; font-size: 13px; }
  .home-page .feature-grid { grid-template-columns: 1fr; }
  .home-page .feature, .home-page .feature:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-page .feature:last-child { border-bottom: 0; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .product-card.featured { grid-column: span 1; }
  .section { padding: 76px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .download-row { grid-template-columns: 1fr; }
  .download-row .button { grid-column: auto; }
  .footer-inner { display: block; }
  .footer-inner p + p { margin-top: 8px; }
}
