:root {
  --ink: #f8f4ff;
  --muted: #b8adc9;
  --night: #0b0712;
  --night-soft: #120a20;
  --panel: #171025;
  --violet: #a672ff;
  --violet-bright: #c9a7ff;
  --pink: #ff7fb5;
  --coral: #ff9c81;
  --cyan: #80dcff;
  --line: rgba(255,255,255,.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Inter, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: #120a20; background: var(--pink); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--night);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(11,7,18,.74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11,7,18,.94);
  border-color: var(--line);
}
.header-inner {
  width: min(1320px, calc(100vw - 48px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 800;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.desktop-nav a {
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.header-contact {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  transition: background .2s ease, color .2s ease;
}
.header-contact:hover { color: var(--night); background: var(--ink); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px 8px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 920px;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 60px;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 88px 88px,
    radial-gradient(circle at 70% 35%, #2c1746 0, #10091f 40%, var(--night) 74%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 78px;
  bottom: 0;
  left: calc(50% - 1px);
  width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,.12), transparent);
  z-index: -1;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .24; z-index: -1; }
.hero-glow-one { width: 380px; height: 380px; right: 3%; top: 17%; background: var(--pink); }
.hero-glow-two { width: 260px; height: 260px; left: 8%; bottom: 8%; background: var(--violet); }
.hero-grid {
  width: var(--shell);
  min-height: 710px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; padding: 30px 0 80px; }
.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--violet-bright);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.heartlines-logo {
  width: 174px;
  height: 110px;
  margin: -10px 0 -20px;
  object-fit: contain;
}
.hero h1, .section h2, .contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 700px; font-size: clamp(54px, 6vw, 96px); }
.hero h1 em, .section h2 em, .contact-section h2 em {
  color: var(--pink);
  font-weight: 400;
  text-decoration: none;
}
.hero-lead {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #150b20; background: linear-gradient(135deg, var(--pink), #e5b2ff); }
.button-ghost { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.hero-tags { margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.hero-tags li { color: #d0c7dc; font-size: 12px; }
.hero-tags li::before { content: "✦"; margin-right: 8px; color: var(--violet); }
.hero-visual { position: relative; align-self: stretch; min-height: 720px; }
.hero-visual > img {
  position: absolute;
  z-index: 2;
  width: min(700px, 59vw);
  max-width: none;
  height: auto;
  left: 50%;
  bottom: -64px;
  transform: translateX(-48%);
  filter: drop-shadow(0 34px 50px rgba(0,0,0,.45));
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 590px; height: 590px; top: 32px; left: 10px; }
.orbit-two { width: 430px; height: 430px; top: 110px; left: 90px; border-color: rgba(255,127,181,.24); }
.spark { position: absolute; z-index: 4; color: var(--pink); font-size: 25px; animation: twinkle 2.8s ease-in-out infinite; }
.spark-one { top: 130px; right: 8%; }
.spark-two { bottom: 190px; left: 5%; color: var(--cyan); animation-delay: -1.3s; }
.visual-caption {
  position: absolute;
  z-index: 5;
  top: 60%;
  right: -10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-left: 2px solid var(--pink);
  background: rgba(11,7,18,.72);
  backdrop-filter: blur(12px);
}
.visual-caption span { color: var(--pink); font-size: 11px; }
.visual-caption p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.proof-strip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0e0917;
}
.proof-item {
  min-height: 152px;
  padding: 34px clamp(20px, 3vw, 52px);
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong { color: var(--violet-bright); font-family: var(--serif); font-size: 38px; font-weight: 400; }
.proof-item span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.proof-item-accent { background: linear-gradient(135deg, rgba(166,114,255,.16), rgba(255,127,181,.08)); }
.proof-item-accent strong { color: var(--pink); }

.section { position: relative; padding: 130px 0; }
.section-shell { width: var(--shell); margin: 0 auto; }
.section h2, .contact-section h2 { font-size: clamp(48px, 6vw, 80px); }
.section-intro { color: var(--muted); font-size: 17px; }
.section-heading {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 70px;
}
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 16px; }

.product { overflow: hidden; padding-block: 100px; background: linear-gradient(180deg, #0b0712, #10091b 72%, #0b0712); }
.product-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: center; }
.product-phone { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone-halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,114,255,.28), rgba(255,127,181,.09) 46%, transparent 70%);
  filter: blur(10px);
}
.phone-halo::before, .phone-halo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.phone-halo::after { inset: 54px; border-color: rgba(255,127,181,.17); }
.phone-frame {
  position: relative;
  z-index: 2;
  width: 285px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 48px;
  background: #0a0710;
  box-shadow: 0 40px 80px rgba(0,0,0,.58), inset 0 0 0 3px #251b31;
  transform: rotate(-4deg);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 38px;
}
.phone-speaker { position: absolute; z-index: 3; top: 18px; left: 50%; width: 72px; height: 7px; border-radius: 10px; background: #08050d; transform: translateX(-50%); }
.product-copy { padding: 20px 0; }
.product-copy .section-intro { max-width: 630px; margin: 28px 0 44px; }
.feature-list { border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-number { padding-top: 4px; color: var(--pink); font-size: 11px; }
.feature h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.stories { background: #0b0712; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-card {
  position: relative;
  min-height: 600px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .3s ease, border-color .3s ease;
}
.story-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.28); }
.story-card::before { content: ""; position: absolute; inset: 0; opacity: .9; }
.story-night::before { background: radial-gradient(circle at 50% 28%, rgba(211,35,157,.42), transparent 38%), linear-gradient(180deg, #26114a, #100b1e); }
.story-oath::before { background: radial-gradient(circle at 50% 28%, rgba(199,72,51,.38), transparent 39%), linear-gradient(180deg, #341518, #130d18); }
.story-rokigama::before { background: radial-gradient(circle at 50% 28%, rgba(76,152,65,.28), transparent 38%), linear-gradient(180deg, #122a1c, #0c1512); }
.story-index { position: relative; z-index: 2; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .14em; }
.story-card img { position: relative; z-index: 2; width: 230px; height: 250px; margin: 14px auto 0; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.42)); }
.story-body { position: relative; z-index: 2; margin-top: auto; }
.story-genre { margin: 0 0 13px; color: var(--pink); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 700; }
.story-oath .story-genre { color: var(--coral); }
.story-rokigama .story-genre { color: #90d184; }
.story-card h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.12; }
.story-card p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

.scene-section { position: relative; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.scene-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,3,10,.88) 5%, rgba(7,3,10,.35) 55%, rgba(7,3,10,.7)), linear-gradient(0deg, rgba(11,7,18,.65), transparent 45%); }
.scene-copy { position: relative; z-index: 2; width: var(--shell); }
.scene-copy p { margin: 0; max-width: 760px; font-family: var(--serif); font-size: clamp(50px, 7vw, 90px); line-height: .96; letter-spacing: -.045em; }
.scene-copy strong { color: var(--pink); font-weight: 400; }
.scene-copy span { display: block; max-width: 360px; margin-top: 28px; color: #d8cedb; font-size: 14px; }

.technology { overflow: hidden; background: #0d0815; }
.technology-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.technology-copy .section-intro { max-width: 540px; margin: 30px 0; }
.text-link { display: inline-flex; gap: 24px; padding-bottom: 5px; color: var(--violet-bright); border-bottom: 1px solid currentColor; text-decoration: none; font-size: 13px; }
.technology-map {
  position: relative;
  min-height: 570px;
  background: radial-gradient(circle at center, rgba(166,114,255,.16), transparent 57%);
}
.technology-map::before, .technology-map::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.technology-map::after { inset: 25%; }
.tech-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(19,11,31,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
}
.tech-node span { color: var(--pink); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.tech-node strong { margin-top: 7px; font-family: var(--serif); font-weight: 400; }
.tech-core { top: 50%; left: 50%; width: 210px; height: 210px; padding: 32px; border-radius: 50%; transform: translate(-50%,-50%); }
.tech-core strong { font-size: 34px; line-height: .95; }
.tech-small { width: 150px; height: 90px; padding: 18px; }
.tech-small strong { font-size: 18px; }
.tech-script { top: 9%; left: 5%; }
.tech-dialog { top: 18%; right: 0; }
.tech-content { bottom: 8%; left: 8%; }
.tech-line { position: absolute; z-index: 1; height: 1px; background: linear-gradient(90deg, var(--violet), rgba(166,114,255,.2)); transform-origin: left center; }
.line-one { width: 170px; top: 34%; left: 24%; transform: rotate(25deg); }
.line-two { width: 150px; top: 39%; left: 62%; transform: rotate(-25deg); }
.line-three { width: 165px; top: 63%; left: 27%; transform: rotate(-37deg); }

.support { background: linear-gradient(180deg, #0b0712, #10091d); }
.support-card {
  position: relative;
  padding: clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  overflow: hidden;
  border: 1px solid rgba(166,114,255,.32);
  background: linear-gradient(135deg, rgba(166,114,255,.11), rgba(255,127,181,.04)), #100a1b;
}
.support-card::before { content: ""; position: absolute; width: 400px; height: 400px; right: -100px; bottom: -170px; border-radius: 50%; background: rgba(166,114,255,.13); filter: blur(30px); }
.support h2 { font-size: clamp(44px, 5vw, 70px); }
.support-official { max-width: 700px; margin: 30px 0; color: #d2c7dd; font-size: 15px; }
.support-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.support-links a { color: var(--violet-bright); font-size: 12px; text-underline-offset: 4px; }
.support-logos { position: relative; z-index: 2; display: grid; gap: 14px; align-content: center; }
.logo-panel { min-height: 152px; padding: 24px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.96); }
.logo-panel img { width: 100%; height: 100px; object-fit: contain; }
.logo-fasie img { max-width: 245px; }
.logo-platform { background: #fff; }
.logo-platform img { max-width: 260px; }

.contact-section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 80px 80px,
    #10091d;
}
.contact-glow { position: absolute; width: 600px; height: 600px; left: -160px; bottom: -300px; border-radius: 50%; background: rgba(255,127,181,.14); filter: blur(70px); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.contact-main > p:not(.section-kicker) { max-width: 520px; margin: 28px 0; color: var(--muted); }
.contact-email { display: inline-flex; gap: 24px; color: var(--pink); text-underline-offset: 7px; font-size: clamp(17px, 2vw, 23px); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-link {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-link:hover, .social-link:focus-visible { color: var(--night); border-color: var(--pink); background: var(--pink); transform: translateY(-3px); }
.social-link svg { width: 30px; height: 30px; fill: currentColor; }
.company-card { padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.035); backdrop-filter: blur(12px); }
.company-title { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.company-title img { width: 64px; height: 64px; }
.company-title span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.company-title strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.company-details { margin: 0; }
.company-details > div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.company-details > div:last-child { border-bottom: 0; }
.company-details dt { color: #8f849e; font-size: 11px; }
.company-details dd { margin: 0; color: #ded5e7; font-size: 12px; text-align: right; }

.site-footer { padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: #08050d; }
.footer-top { min-height: 180px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; border-bottom: 1px solid var(--line); }
.footer-top > p { margin: 0; color: #8f849e; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.footer-links { display: grid; gap: 10px; justify-content: end; text-align: right; }
.footer-links a { color: var(--muted); font-size: 12px; }
.social-links-footer { margin: 0; justify-content: center; }
.social-links-footer .social-link { width: 40px; height: 40px; }
.social-links-footer .social-link svg { width: 30px; height: 30px; }
.footer-bottom { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #746a80; font-size: 10px; }
.footer-bottom p { margin: 0; }

.legal-page { background: #0d0815; }
.legal-header {
  width: min(920px, calc(100vw - 48px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.legal-header > a:last-child, .legal-footer a { color: var(--muted); font-size: 12px; text-underline-offset: 4px; }
.legal-main { width: min(800px, calc(100vw - 48px)); margin: 0 auto; padding: 100px 0 120px; }
.legal-main > h1 { max-width: 720px; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(48px, 8vw, 78px); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.legal-date { margin: 0 0 70px; color: #897e96; font-size: 12px; }
.legal-main section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-main section h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.legal-main section p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.legal-main section p:last-child { margin-bottom: 0; }
.legal-main section a { color: var(--pink); }
.legal-footer { width: min(920px, calc(100vw - 48px)); min-height: 90px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #756b80; font-size: 11px; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; }
  .menu-button { display: block; margin-left: 0; }
  .mobile-nav {
    position: fixed;
    inset: 78px 0 auto;
    padding: 18px 24px 28px;
    display: grid;
    gap: 4px;
    background: rgba(11,7,18,.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a { padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); text-decoration: none; }
  .hero { min-height: 820px; }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .hero-visual { min-height: 640px; }
  .hero-visual > img { width: 620px; left: 45%; }
  .orbit-one { width: 470px; height: 470px; }
  .orbit-two { width: 340px; height: 340px; }
  .visual-caption { display: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .technology-grid, .contact-grid { gap: 44px; }
  .phone-frame { width: 255px; }
  .phone-frame img { height: 372px; }
  .story-card { min-height: 570px; }
  .support-card { gap: 38px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .header-inner { width: calc(100vw - 32px); height: 68px; }
  .site-header .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  .mobile-nav { top: 68px; }
  .hero { min-height: 1030px; padding-top: 106px; padding-inline: 16px; }
  .hero::before { display: none; }
  .hero-grid { width: 100%; grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 10px 0 0; }
  .hero h1 { font-size: clamp(51px, 14vw, 74px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 510px; }
  .hero-visual > img { width: min(610px, 125vw); left: 50%; bottom: -82px; transform: translateX(-50%); }
  .orbit-one { width: 420px; height: 420px; left: 50%; transform: translateX(-50%); }
  .orbit-two { width: 300px; height: 300px; left: 50%; transform: translateX(-50%); }
  .proof-item { min-height: 126px; padding: 24px 20px; }
  .proof-item strong { font-size: 30px; }
  .section, .contact-section { padding: 90px 0; }
  .section h2, .contact-section h2 { font-size: clamp(43px, 12vw, 66px); }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .product-grid, .technology-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-copy { order: -1; }
  .product { padding-block: 76px; }
  .product-phone { min-height: 420px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 520px; }
  .story-card img { height: 215px; }
  .scene-section { min-height: 540px; }
  .technology-map { min-height: 520px; }
  .support-card { grid-template-columns: 1fr; }
  .support-logos { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 38px 0; }
  .footer-top > p { grid-column: 1; }
  .social-links-footer { grid-column: 1; justify-content: flex-start; }
  .footer-links { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 560px) {
  .header-contact { display: none; }
  .menu-button { margin-left: auto; }
  .hero { min-height: 990px; }
  .heartlines-logo { width: 132px; height: 86px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-tags { gap: 9px 16px; }
  .hero-visual { min-height: 470px; }
  .proof-item { align-items: flex-start; flex-direction: column; gap: 4px; }
  .proof-item span { font-size: 10px; }
  .product-phone { min-height: 350px; }
  .phone-halo { width: 320px; height: 320px; }
  .phone-frame { width: 210px; border-radius: 34px; }
  .phone-frame img { height: 300px; border-radius: 26px; }
  .feature { grid-template-columns: 42px 1fr; }
  .scene-copy p { font-size: 49px; }
  .technology-map { min-height: 470px; transform: scale(.88); margin: -24px -25px; }
  .tech-core { width: 180px; height: 180px; }
  .tech-small { width: 130px; }
  .support-card { width: calc(100vw - 20px); padding: 28px 20px; }
  .support-logos { grid-template-columns: 1fr; }
  .logo-panel { min-height: 130px; }
  .company-card { padding: 24px 18px; }
  .company-details > div { grid-template-columns: 1fr; gap: 4px; }
  .company-details dd { text-align: left; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-top > p, .footer-links, .social-links-footer { grid-column: 1; grid-row: auto; text-align: left; justify-content: start; }
  .footer-bottom { padding: 24px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
