/* Fleshka Weather — polished */

:root {
  --bg: #05090f;
  --ink: #f2f6fb;
  --muted: #93a3b8;
  --faint: #5e6f86;
  --line: rgba(145, 165, 190, 0.12);
  --accent: #3fd4c3;
  --accent-2: #6ee7d8;
  --accent-soft: rgba(63, 212, 195, 0.12);
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

.shell {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}
.shell.narrow { width: min(640px, calc(100% - 48px)); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header);
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 9, 15, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  transition: color 0.25s;
}
.brand:hover { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.05);
}
.nav-cta {
  margin-left: 0.4rem !important;
  color: var(--accent) !important;
  border: 1px solid rgba(63, 212, 195, 0.3);
  background: var(--accent-soft);
}
.nav-cta:hover {
  background: rgba(63, 212, 195, 0.22) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: background 0.25s;
}
.menu-btn:hover { background: rgba(255,255,255,0.05); }
.menu-btn span {
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  min-height: min(100dvh, 820px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 2rem) 0 4rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  animation: hero-zoom 12s var(--ease-out) forwards;
}
@keyframes hero-zoom {
  to { transform: scale(1); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,9,15,0.5) 0%, rgba(5,9,15,0.18) 38%, rgba(5,9,15,0.72) 78%, var(--bg) 100%),
    linear-gradient(100deg, rgba(5,9,15,0.75) 0%, rgba(5,9,15,0.25) 55%, transparent 85%);
  animation: shade-in 1.4s var(--ease-out) both;
}
@keyframes shade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero-copy .h1-main {
  display: block;
  font-size: clamp(3rem, 7.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.hero-copy .h1-sub {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.8vw, 3.7rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(242, 246, 251, 0.8);
  margin-top: 0.08em;
}
.hero-slogan {
  margin-top: 1.35rem;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.hero-intro {
  margin-top: 1rem;
  max-width: 28rem;
  color: var(--faint);
  font-size: 1rem;
  line-height: 1.75;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(242, 246, 251, 0.3);
  padding-bottom: 0.25rem;
  transition: color 0.25s, border-color 0.25s, gap 0.3s var(--ease);
}
.link-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 0.75rem;
}
.link-arrow:hover::after { transform: translateX(3px); }

/* Hero entrance */
.anim {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease-out) forwards;
}
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.22s; }
.anim-d3 { animation-delay: 0.34s; }
.anim-d4 { animation-delay: 0.46s; }
.anim-d5 { animation-delay: 0.58s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.block {
  padding: 6.5rem 0;
  position: relative;
}
.block + .block { border-top: 1px solid var(--line); }

h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.about-sticky h2 { max-width: 14ch; }
.about-body .lead {
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.about-body p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-body .quote {
  margin-top: 2.25rem;
  padding-left: 1.35rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

/* Experience */
.exp-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}
.exp-lead {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}
.app-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.app-tab:hover {
  color: var(--ink);
  border-color: rgba(145, 165, 190, 0.3);
  background: rgba(255,255,255,0.04);
}
.app-tab.is-on {
  color: #061018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(63, 212, 195, 0.28);
}
.app-tab:active { transform: scale(0.96); }

.app-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.app-phone {
  position: relative;
  width: 270px;
  border-radius: 34px;
  padding: 11px;
  background: linear-gradient(160deg, #1c2634, #0c121b);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 30px 70px rgba(0,0,0,0.55),
    0 0 50px rgba(63, 212, 195, 0.07);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.app-phone:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 36px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(63, 212, 195, 0.1);
}
.phone-notch {
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 18px;
  background: #05090f;
  border-radius: 12px;
  z-index: 2;
}
.app-screens {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0a1018;
}
.app-shot {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.28s ease, transform 0.35s var(--ease);
}
.app-shot.is-fading {
  opacity: 0;
  transform: scale(0.985);
}

.app-captions { max-width: 28rem; }
.app-cap h3 {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}
.app-cap p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.app-cap {
  animation: cap-in 0.4s var(--ease-out);
}
@keyframes cap-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Feature lines */
.lines { display: flex; flex-direction: column; }
.line {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s, padding-left 0.3s var(--ease);
}
.line:last-child { border-bottom: 1px solid var(--line); }
.line:hover {
  padding-left: 0.5rem;
}
.line strong {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.line span {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Models */
.models-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}
.models-head p:last-child {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.model-stack { display: flex; flex-direction: column; }
.model-item {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1rem 2.5rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s;
}
.model-item:last-child { border-bottom: 1px solid var(--line); }
.model-item:hover { background: rgba(255,255,255,0.015); }
.model-code {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.model-meta h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.model-org {
  grid-column: 2;
  font-size: 0.82rem;
  color: var(--faint);
  margin-top: -0.5rem;
}
.model-desc {
  grid-column: 2;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36rem;
}

/* Principles */
.principles h2 { margin-bottom: 2.5rem; }
.principles-ol { counter-reset: pr; }
.principles-ol li {
  counter-increment: pr;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem 1.25rem;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.principles-ol li:last-child { border-bottom: 1px solid var(--line); }
.principles-ol li:hover { transform: translateX(4px); }
.principles-ol li::before {
  content: counter(pr, decimal-leading-zero);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 0.15rem;
}
.p-title {
  grid-column: 2;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.p-text {
  grid-column: 2;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Download */
.download { padding-bottom: 7.5rem; }
.download-inner { max-width: 30rem; }
.download-inner h2 { margin-bottom: 0.9rem; }
.download-inner > p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: #061018;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(63, 212, 195, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(63, 212, 195, 0.4);
}
.btn-download:active { transform: translateY(-1px); }
.download-note {
  margin-top: 0.95rem;
  font-size: 0.8rem;
  color: var(--faint);
}

/* Footer */
.site-footer {
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
}
.footer-brand { font-weight: 700; }
.footer-tag { color: var(--muted); }
.footer-year { color: var(--faint); }

/* —— Responsive —— */
@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; gap: 1.35rem; }
  .app-stage { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; }
  .app-phone { width: min(260px, 78vw); }
  .app-captions { width: 100%; max-width: none; }
  .model-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .model-org, .model-desc { grid-column: 1; margin-top: 0; }
  .line { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .menu-btn { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(290px, 86vw);
    height: 100vh; height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 5rem 1.3rem 2rem;
    background: rgba(5, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 0.9rem 1rem; font-size: 1rem; }
  .nav-cta { margin-left: 0 !important; margin-top: 0.55rem; text-align: center; }

  .hero {
    min-height: 0;
    align-items: flex-end;
    padding: calc(var(--header) + 1.25rem) 0 2.25rem;
  }
  .hero-grid {
    max-width: 100%;
  }
  .hero-copy .h1-main {
    font-size: clamp(2.4rem, 11vw, 3.1rem);
  }
  .hero-copy .h1-sub {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }
  .hero-slogan {
    margin-top: 1rem;
    font-size: 1.05rem;
  }
  .hero-intro {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .link-arrow {
    margin-top: 1.35rem;
  }
  /* keep background readable under text */
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(5,9,15,0.35) 0%, rgba(5,9,15,0.25) 35%, rgba(5,9,15,0.85) 70%, var(--bg) 100%),
      linear-gradient(90deg, rgba(5,9,15,0.55) 0%, rgba(5,9,15,0.2) 100%);
  }
  .block { padding: 3.5rem 0; }
  .app-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.3rem;
  }
  .app-tabs::-webkit-scrollbar { display: none; }
  .app-tab { flex: 0 0 auto; }
  .app-phone { width: min(240px, 72vw); }
  .footer-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 24px); }
  .hero-copy .h1-main { font-size: 2.4rem; }
  .hero-copy .h1-sub { font-size: 1.9rem; }
  .app-phone { width: min(220px, 70vw); border-radius: 26px; padding: 9px; }
  .phone-notch { width: 58px; height: 14px; top: 12px; }
  h2 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .reveal, .hero-photo, .app-cap, .app-shot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal { opacity: 1; }
}

/* ── Atmosphere pass: quiet graphite, cloud-white and dusk-blue ── */
:root {
  --bg: #090d13;
  --ink: #f2f0eb;
  --muted: #a3a9b3;
  --faint: #737d8b;
  --line: rgba(210, 220, 235, .12);
  --accent: #b7c9df;
  --accent-2: #e0e8f1;
  --accent-soft: rgba(183, 201, 223, .11);
  --ease: cubic-bezier(.2, .75, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-padding-top: 82px; }
body { background: var(--bg); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 78% 9%, rgba(91, 119, 151, .13), transparent 34%),
              radial-gradient(ellipse at 8% 48%, rgba(95, 107, 130, .08), transparent 38%);
}
::selection { color: #0a1018; background: #d9e3ee; }
:focus-visible { outline: 2px solid #d6e2ef; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 64px)); }
.eyebrow { color: #c3d1e0; letter-spacing: .19em; }
.site-header.is-scrolled { background: rgba(8, 12, 18, .78); border-bottom-color: rgba(210,220,235,.1); }
.brand { letter-spacing: -.045em; }
.brand::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; border-radius: 50%; background: #c7d7e8; box-shadow: 0 0 16px rgba(199,215,232,.7); }
.nav a { border-radius: 999px; }
.nav-cta { color: var(--ink) !important; border-color: rgba(205,220,238,.28); background: rgba(205,220,238,.08); }
.nav-cta:hover { background: rgba(205,220,238,.16) !important; }
.hero { min-height: min(900px, 100svh); padding-bottom: clamp(3.5rem, 8vh, 6.5rem); }
.hero-photo { object-position: center 48%; filter: saturate(.72) contrast(1.04); }
.hero-shade {
  background: linear-gradient(180deg, rgba(5,8,13,.28) 0%, rgba(5,8,13,.08) 28%, rgba(5,8,13,.62) 66%, #090d13 100%),
              linear-gradient(90deg, rgba(5,8,13,.76) 0%, rgba(5,8,13,.25) 58%, rgba(5,8,13,.04) 100%);
}
.hero-grid { max-width: 54rem; }
.hero-copy .h1-main { font-size: clamp(4rem, 9vw, 7.4rem); letter-spacing: -.075em; line-height: .88; }
.hero-copy .h1-sub { font-size: clamp(3rem, 6.5vw, 5.2rem); color: rgba(235,240,246,.78); margin-top: .17em; }
.hero-slogan { color: #e0e4ea; font-size: clamp(1.08rem, 1.8vw, 1.35rem); margin-top: 1.8rem; }
.hero-intro { color: rgba(226,232,240,.72); max-width: 31rem; }
.link-arrow { border-color: rgba(226,232,240,.35); }
.link-arrow:hover { color: #d8e4f1; border-color: #d8e4f1; }
.block { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.about-layout { gap: clamp(2rem, 7vw, 6.5rem); }
.about-sticky h2, h2 { text-wrap: balance; }
.about-body .quote { border-left-color: #9fb2c8; }
.experience { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 38%, rgba(255,255,255,.012)); }
.app-tabs { gap: .55rem; }
.app-tab { border-radius: 999px; border-color: rgba(210,220,235,.15); background: rgba(255,255,255,.025); }
.app-tab:hover { border-color: rgba(210,220,235,.35); }
.app-tab.is-on { color: #111821; background: linear-gradient(135deg, #dce5ef, #aabbd0); border-color: transparent; box-shadow: 0 8px 28px rgba(137,158,184,.18); }
.app-stage { gap: clamp(2rem, 8vw, 7rem); }
.app-phone { width: min(290px, 100%); padding: 10px; border-radius: 38px; background: linear-gradient(145deg, #343d49, #111821 54%, #252d37); box-shadow: 0 0 0 1px rgba(255,255,255,.13), 0 35px 90px rgba(0,0,0,.58), 0 0 70px rgba(153,176,204,.08); }
.app-phone:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 42px 100px rgba(0,0,0,.62), 0 0 75px rgba(153,176,204,.12); }
.app-screens { border-radius: 29px; }
.app-shot { will-change: opacity, transform; }
.app-cap { animation: cap-in .48s var(--ease-out) both; }
.app-cap[hidden] { display: none !important; }
.line, .model-item, .principles-ol li { transition: padding .35s var(--ease), transform .35s var(--ease), background .35s; }
.model-code, .principles-ol li::before { color: #b9c9dc; }
.btn-download { color: #101720; background: linear-gradient(135deg, #e0e8f1, #aebfd2); box-shadow: 0 12px 34px rgba(150,172,198,.18); }
.btn-download:hover { box-shadow: 0 18px 46px rgba(150,172,198,.25); }
.download-inner { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(210,220,235,.12); border-radius: 24px; background: radial-gradient(ellipse at 100% 0%, rgba(152,174,201,.12), transparent 55%), rgba(255,255,255,.025); }
.site-footer { background: rgba(0,0,0,.12); }

@media (max-width: 960px) {
  .shell { width: min(100% - 48px, 760px); }
  .app-stage { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .app-phone { width: min(270px, 72vw); }
  .app-captions { text-align: center; max-width: 34rem; margin-inline: auto; }
}
@media (max-width: 720px) {
  .shell, .shell.narrow { width: calc(100% - 36px); }
  .site-header { height: 60px; }
  .nav { width: min(340px, 88vw); padding: 5.5rem 1.25rem 2rem; background: rgba(9,13,19,.97); box-shadow: -24px 0 70px rgba(0,0,0,.35); }
  .nav a { padding: .95rem 1rem; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: min(790px, 92svh); padding: 7rem 0 3.1rem; }
  .hero-photo { object-position: 58% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,8,13,.22), rgba(5,8,13,.24) 25%, rgba(5,8,13,.8) 69%, #090d13 100%), linear-gradient(90deg, rgba(5,8,13,.45), transparent); }
  .hero-copy .h1-main { font-size: clamp(3.35rem, 16vw, 5rem); }
  .hero-copy .h1-sub { font-size: clamp(2.65rem, 12vw, 3.8rem); }
  .hero-slogan { margin-top: 1.25rem; }
  .hero-intro { font-size: .94rem; max-width: 28rem; }
  .block { padding: 4.1rem 0; }
  .about-layout { gap: 1.3rem; }
  .app-tabs { margin: 0 -18px 1.7rem; padding: .25rem 18px .65rem; scroll-snap-type: x mandatory; }
  .app-tab { scroll-snap-align: start; padding: .62rem 1rem; }
  .app-phone { width: min(258px, 72vw); }
  .app-captions { text-align: left; }
  .model-item { padding: 1.45rem 0; }
  .download-inner { border-radius: 18px; }
  .btn-download { width: 100%; text-align: center; }
}
@media (max-width: 380px) {
  .shell, .shell.narrow { width: calc(100% - 28px); }
  .hero-copy .h1-main { font-size: 3.05rem; }
  .hero-copy .h1-sub { font-size: 2.45rem; }
  .app-tabs { margin-inline: -14px; padding-inline: 14px; }
  .app-tab { font-size: .77rem; padding-inline: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Version 1.4: text-first features and map section (no app screenshots) */
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; border:1px solid var(--line); border-radius:22px; overflow:hidden; background:var(--line); }
.feature-card { min-height:205px; padding:clamp(1.35rem,3vw,2.1rem); background:rgba(255,255,255,.025); transition:background .3s, transform .3s var(--ease); }
.feature-card:hover { background:rgba(255,255,255,.055); }
.feature-index { display:block; color:#b9c9dc; font-size:.68rem; font-weight:700; letter-spacing:.12em; margin-bottom:1.4rem; }
.feature-card h3 { font-size:1.12rem; letter-spacing:-.025em; margin-bottom:.55rem; }
.feature-card p { color:var(--muted); font-size:.92rem; line-height:1.65; max-width:30rem; }
.models-footnote,.map-note { color:var(--faint); font-size:.82rem; line-height:1.65; margin-top:1.5rem; max-width:48rem; }
.map-section { background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,.035)); }
.map-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr); gap:clamp(2rem,7vw,6rem); align-items:center; }
.map-copy h2 { font-size:clamp(2.1rem,4vw,3.4rem); line-height:1.08; letter-spacing:-.05em; margin-bottom:1.1rem; }
.map-copy>p:not(.eyebrow) { color:var(--muted); line-height:1.75; }
.map-points { display:grid; gap:.65rem; margin-top:1.4rem; }
.map-points li { color:#d8e0ea; font-size:.92rem; display:flex; gap:.7rem; align-items:flex-start; }
.map-points li:before { content:'↗'; color:#b9c9dc; font-weight:700; }
.map-visual { min-height:340px; position:relative; overflow:hidden; border:1px solid rgba(210,220,235,.14); border-radius:24px; background:linear-gradient(145deg,#182632,#101922 70%); box-shadow:0 28px 80px rgba(0,0,0,.28); isolation:isolate; }
.map-grid { position:absolute; inset:0; opacity:.38; background-image:linear-gradient(rgba(188,205,220,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(188,205,220,.09) 1px,transparent 1px); background-size:36px 36px; }
.map-road { position:absolute; display:block; height:9px; border:2px solid rgba(208,220,232,.7); border-left:0;border-right:0; background:rgba(130,151,171,.22); border-radius:50%; }
.road-a { width:130%; top:40%; left:-12%; transform:rotate(-17deg); }.road-b { width:120%; top:65%; left:-7%; transform:rotate(22deg); }.road-c { width:90%; top:23%; left:25%; transform:rotate(73deg); }
.map-river { position:absolute; width:130%; height:85px; top:49%; left:-15%; border-top:12px solid rgba(87,157,194,.22); border-bottom:7px solid rgba(87,157,194,.12); transform:rotate(-36deg); border-radius:50%; }
.map-rain { position:absolute; display:block; border-radius:48%; filter:blur(14px); opacity:.65; background:radial-gradient(ellipse,rgba(91,158,220,.9),rgba(69,130,190,.35) 58%,transparent 75%); }
.rain-a { width:190px;height:115px;top:16%;left:10%;transform:rotate(-24deg); }.rain-b { width:155px;height:125px;top:48%;right:8%;background:radial-gradient(ellipse,rgba(90,183,204,.82),rgba(60,140,177,.32) 58%,transparent 75%); }.rain-c { width:100px;height:80px;bottom:3%;left:34%; }
.map-place { position:absolute; color:rgba(238,244,250,.82); font-size:.62rem; letter-spacing:.14em; font-weight:700; text-shadow:0 1px 4px #0a1118; }.place-a { top:31%;left:49%; }.place-b { bottom:24%;left:13%; }
.map-pin { position:absolute; width:16px;height:16px;top:47%;left:47%;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#e7f0f8;border:3px solid #263d51;box-shadow:0 0 0 7px rgba(210,230,245,.13); }
.map-legend { position:absolute;right:16px;bottom:15px;display:flex;gap:14px;padding:9px 12px;border-radius:10px;background:rgba(5,10,16,.78);border:1px solid rgba(255,255,255,.12);font-size:.68rem;color:#d7e1eb; }
.map-legend span { display:flex;align-items:center;gap:6px; }.legend-dot { width:8px;height:8px;border-radius:50%;background:#6daedb; }.legend-line { width:15px;height:2px;background:#c9d4df; }
.footer-privacy { color:var(--muted); }.footer-privacy:hover { color:var(--ink); }
@media(max-width:760px) { .feature-grid { grid-template-columns:1fr; }.feature-card { min-height:0; }.map-layout { grid-template-columns:1fr; }.map-visual { min-height:280px; } }
