/* ==========================================================================
   Voice Recorder: website styles
   Colours are taken from the app: #7955FE (screens), #391C89 (icon), #E7E0FF (light screens)
   ========================================================================== */

:root {
  --violet: #7955FE;
  --violet-600: #6942F6;
  --violet-700: #5631DA;
  --deep: #391C89;
  --deep-900: #1D0D4F;
  --lav-50: #F7F5FF;
  --lav-100: #EFEAFF;
  --lav-200: #E7E0FF;
  --lav-300: #CFC2FF;
  --soft: #E3DBFF;
  --ink: #1C1433;
  --text: #3D3656;
  --muted: #6B6585;
  --line: #E6E1F5;
  --rec: #FF3B30;
  --success: #12805C;
  --error: #C62828;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(57, 28, 137, .06);
  --shadow: 0 12px 32px -8px rgba(57, 28, 137, .16);
  --shadow-lg: 0 30px 60px -20px rgba(57, 28, 137, .35);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-600); text-decoration: none; }
a:hover { color: var(--violet-700); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: #fff; color: var(--deep); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -8px rgba(121, 85, 254, .7); }
.btn-primary:hover { background: var(--violet-700); color: #fff; }
.btn-light { background: #fff; color: var(--violet-700); }
.btn-light:hover { background: var(--lav-100); color: var(--deep); }
.btn-outline { border-color: var(--lav-300); color: var(--violet-700); background: #fff; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet-700); }
.btn-sm { padding: 10px 18px; font-size: .925rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-block; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }
.store-badge img { height: 54px; width: auto; }
.badges-sm .store-badge img { height: 44px; }
.badges-stack { flex-direction: column; align-items: stretch; }
.badges-stack .store-badge img { height: auto; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(105, 66, 246, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px -12px rgba(29, 13, 79, .45);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.brand:hover { color: #fff; }
.brand img { border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(29, 13, 79, .6); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-toggle { display: none; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close, .is-open .nav-toggle .icon-open { display: none; }
.is-open .nav-toggle .icon-close { display: block; }

/* ---------- Shared bits ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; position: relative; }
.section-tint { background: var(--lav-50); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.075rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--lav-100); color: var(--violet-700);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow-light { background: rgba(255, 255, 255, .16); color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.pill-glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: rec-pulse 1.6s infinite; flex-shrink: 0; }
@keyframes rec-pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }

.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--lav-100); color: var(--violet-600); margin-bottom: 18px;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-solid { background: linear-gradient(135deg, var(--violet), var(--deep)); color: #fff; box-shadow: 0 10px 20px -8px rgba(121, 85, 254, .7); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon {
  width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%;
  background: var(--lav-100); color: var(--violet-600); stroke-width: 3;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--violet);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(110px, 12vw, 160px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; display: block; background: rgba(255, 255, 255, .13); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.hero .blob-1 { width: 520px; height: 460px; right: -120px; top: 60px; animation: blob 18s ease-in-out infinite alternate; }
.hero .blob-2 { width: 340px; height: 300px; left: -140px; bottom: 40px; animation: blob 22s ease-in-out infinite alternate-reverse; }
@keyframes blob { to { border-radius: 58% 42% 37% 63% / 55% 61% 39% 45%; transform: translate(-20px, 20px) rotate(8deg); } }
.sparkle { position: absolute; fill: #fff; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .7)); animation: twinkle 3s ease-in-out infinite; }
.sparkle-1 { width: 42px; right: 6%; top: 18%; }
.sparkle-2 { width: 24px; right: 3%; top: 28%; animation-delay: .8s; }
.sparkle-3 { width: 20px; left: 46%; top: 16%; animation-delay: 1.6s; }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.8); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 4.75rem); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 6px; line-height: 1.02; }
.hero h1 .soft { color: var(--soft); display: block; }
.squiggle { width: 220px; height: 20px; margin-bottom: 22px; }
.squiggle path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .9); max-width: 560px; margin-bottom: 30px; }
.hero-badges { margin-bottom: 36px; }

.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; }
.hero-stats li { padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .25); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .78); }

.hero-visual { position: relative; height: clamp(480px, 50vw, 620px); }
.phone { position: absolute; filter: drop-shadow(0 40px 50px rgba(29, 13, 79, .45)); }
.phone-front { width: clamp(220px, 23vw, 290px); right: 6%; top: 0; z-index: 2; animation: float 6s ease-in-out infinite; }
.phone-back { width: clamp(190px, 19vw, 245px); left: 4%; top: 12%; transform: rotate(-8deg); opacity: .95; animation: float-back 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes float-back { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(12px); } }

.wave-bars { position: absolute; left: -6%; right: -6%; top: 46%; height: 160px; display: flex; align-items: center; justify-content: space-between; opacity: .5; }
.wave-bars span {
  width: 6px; border-radius: 6px; background: #fff; height: 100%;
  transform: scaleY(.2); animation: bar 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.09s);
}
.wave-bars span:nth-child(3n) { animation-duration: 1.1s; }
.wave-bars span:nth-child(4n) { animation-duration: 1.7s; }
@keyframes bar { 50% { transform: scaleY(.9); } }

.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--deep);
  font-size: .875rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap;
}
.float-chip .icon { color: var(--violet); }
.float-chip b { font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.chip-live { right: 0; top: 10%; animation: float 5s ease-in-out infinite; }
.chip-quality { left: 0; bottom: 14%; animation: float 6s ease-in-out infinite .5s; }
.chip-effect { right: 2%; bottom: 4%; animation: float 5.5s ease-in-out infinite 1s; }

.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }
.hero-curve path { fill: #fff; }

/* ---------- Use cases ---------- */
.usecases { padding-top: clamp(40px, 6vw, 72px); }
.usecase-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.usecase {
  text-align: center; padding: 26px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lav-300); }
.usecase .icon-badge { margin-bottom: 14px; }
.usecase h3 { font-size: 1.02rem; margin-bottom: 6px; }
.usecase p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card h3 { margin-bottom: 14px; }
.feature-card .checklist { font-size: .925rem; gap: 9px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--lav-300) 0 10px, transparent 10px 20px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step .icon-badge { width: 76px; height: 76px; border-radius: 24px; position: relative; z-index: 1; background: #fff; border: 2px solid var(--lav-200); box-shadow: var(--shadow-sm); margin-top: 20px; }
.step .icon-badge .icon { width: 32px; height: 32px; }
.step-num {
  position: absolute; top: 6px; left: calc(50% + 24px); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--violet); color: #fff; font-family: var(--font-head); font-weight: 800; box-shadow: 0 6px 14px -4px rgba(121, 85, 254, .8);
}
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* ---------- Showcases ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.showcase + .showcase { margin-top: clamp(72px, 9vw, 120px); }
.showcase-flip .showcase-media { order: 2; }
.showcase-media { margin: 0; position: relative; display: flex; justify-content: center; }
.showcase-media::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: 0;
  background: var(--lav-200); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}
.showcase-media img { position: relative; z-index: 1; width: min(340px, 80%); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.showcase-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.showcase-copy > p:not(.eyebrow) { font-size: 1.075rem; color: var(--muted); }
.showcase-copy .checklist { margin: 24px 0 32px; grid-template-columns: 1fr 1fr; gap: 14px 20px; }

/* ---------- Gallery ---------- */
.tabs {
  display: flex; width: max-content; margin: 0 auto 36px; padding: 6px; gap: 4px;
  background: var(--lav-100); border-radius: 999px;
}
.tabs button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent;
  padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: all .2s ease;
}
.tabs button[aria-selected="true"] { background: var(--violet); color: #fff; box-shadow: 0 8px 18px -8px rgba(121, 85, 254, .9); }
.carousel { position: relative; }
.carousel-track {
  list-style: none; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px 4px 28px; scroll-padding-inline: 4px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: start; }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 22px; cursor: zoom-in; }
.shot img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.shot-btn:hover img { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.carousel-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-60%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: #fff; color: var(--violet-700); box-shadow: var(--shadow); transition: background-color .2s, color .2s, opacity .2s;
}
.carousel-btn:hover { background: var(--violet); color: #fff; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }
.carousel-btn .icon { width: 26px; height: 26px; }

/* ---------- Download ---------- */
.download { background: linear-gradient(135deg, var(--violet) 0%, var(--violet-700) 100%); color: #fff; overflow: hidden; }
.download-bg { position: absolute; inset: 0; pointer-events: none; }
.download .blob-1 { width: 460px; height: 420px; left: -160px; top: -120px; }
.download .blob-2 { width: 380px; height: 360px; right: -120px; bottom: -140px; }
.download-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.download h2 { color: #fff; }
.download-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.premium-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.premium-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.premium-list .icon { width: 26px; height: 26px; color: var(--soft); }
.store-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.store-card {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 20px;
}
.store-card header { display: flex; gap: 14px; align-items: center; }
.store-card header img { border-radius: 14px; }
.store-card h3 { font-size: 1.1rem; margin: 0; }
.store-platform { margin: 0 0 2px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--violet-600); }
.store-meta { list-style: none; display: grid; gap: 8px; font-size: .925rem; color: var(--muted); flex: 1; }
.store-meta li { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.store-meta strong { color: var(--ink); }
.stars { color: #F5A623; display: inline-flex; }
.stars .icon { width: 18px; height: 18px; }
.store-card .store-badge img { height: 50px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--lav-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--violet); transition: transform .25s ease; }
.faq[open] .faq-chevron { transform: rotate(180deg); }
.faq p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lav-200); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--violet-700); }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--lav-100); color: var(--violet-700); font-weight: 600; font-size: .78rem; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.read-more .icon { width: 1em; height: 1em; transition: transform .2s; }
.read-more:hover .icon { transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.075rem; }
.contact-card {
  display: flex; align-items: center; gap: 16px; margin: 28px 0 16px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--lav-50);
  color: var(--ink); font-weight: 600; word-break: break-word; transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--lav-300); box-shadow: var(--shadow-sm); color: var(--violet-700); }
.contact-card .icon-badge { margin: 0; flex-shrink: 0; }
.contact-card small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.contact-note { font-size: .925rem !important; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--lav-50); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(121, 85, 254, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .85rem; margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 500; font-size: .95rem; min-height: 1.5em; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-900); color: rgba(231, 224, 255, .75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 22px; max-width: 360px; }
.footer-col h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(231, 224, 255, .8); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(231, 224, 255, .14); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Blog pages ---------- */
.page-hero {
  position: relative; background: var(--violet); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 clamp(90px, 10vw, 130px);
}
.page-hero::before {
  content: ""; position: absolute; width: 480px; height: 420px; right: -140px; top: -60px;
  background: rgba(255, 255, 255, .12); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 620px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9rem; margin-bottom: 18px; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: #fff; font-weight: 500; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .7; }
.post-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .85); font-size: .95rem; margin: 0; }
.post-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-hero-meta .icon { width: 17px; height: 17px; }
.post-section { padding-top: clamp(32px, 5vw, 56px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--lav-50); border: 1px solid var(--line); text-align: center; }
.aside-card img { margin: 0 auto 14px; border-radius: 16px; }
.aside-card h2 { font-size: 1.3rem; }
.aside-card p { font-size: .925rem; color: var(--muted); }
.aside-shot { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 220px; margin: 0 auto; }

.prose { font-size: 1.075rem; line-height: 1.8; color: var(--text); max-width: 720px; }
.prose-lead { font-size: 1.25rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.9em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--violet); }
.prose ol li::marker { color: var(--violet); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .975rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--lav-100); color: var(--ink); font-family: var(--font-head); }
.prose .callout { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--lav-100); border-left: 4px solid var(--violet); color: var(--ink); }

.cta-section { padding-top: 0; }
.section-tint + .cta-section { padding-top: clamp(72px, 9vw, 112px); background: var(--lav-50); }
.cta-banner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--deep)); box-shadow: var(--shadow-lg);
}
.cta-banner > img { border-radius: 18px; }
.cta-banner > div { flex: 1; min-width: 220px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 4px; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 8, 56, .9); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 84vh; max-width: 88vw; width: auto; border-radius: 22px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.lightbox-close, .lightbox-nav {
  position: fixed; border: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--violet); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox .icon { width: 26px; height: 26px; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav a { padding: 8px 10px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: rgba(105, 66, 246, .98); padding: 8px 24px 24px;
    box-shadow: 0 20px 30px -10px rgba(29, 13, 79, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .is-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .header-cta { margin-left: auto; }
  .header-cta + .nav-toggle { margin-left: 0; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; height: 540px; }

  .showcase, .download-grid, .faq-wrap, .contact-grid, .post-layout { grid-template-columns: 1fr; }
  .showcase-flip .showcase-media { order: 0; }
  .faq-wrap .section-head { position: static; }
  .post-aside { position: static; }
  .aside-shot { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 36px; height: 36px; }
  .header-cta { display: none; }
  .header-cta + .nav-toggle { margin-left: auto; }

  .sparkle { display: none; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 0; }
  .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .store-badge img { height: 48px; }
  .hero-visual { height: 440px; }
  .phone-front { width: 210px; right: 4%; }
  .phone-back { width: 175px; left: 2%; }
  .float-chip { font-size: .8rem; padding: 8px 12px; }
  .chip-quality { left: 0; bottom: 8%; }
  .chip-effect { display: none; }

  .usecase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-grid, .steps, .store-cards, .form-row { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .steps::before { display: none; }
  .showcase-copy .checklist { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .shot { flex-basis: 62vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-nav { top: auto; bottom: 20px; transform: none; }
}

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