/* ==========================================================================
   Halluna website
   ========================================================================== */

:root {
  --paper: #fffaf7;
  --paper-2: #f8efe9;
  --surface: #ffffff;
  --ink: #211a23;
  --muted: #675b67;
  --soft: #8d818d;
  --coral: #e9507b;
  --coral-deep: #b92f5a;
  --plum: #5b2a54;
  --teal: #1e8a7a;
  --mint: #dff3ee;
  --peach: #ffd6c6;
  --line: #eaded8;
  --line-dark: #3b303d;
  --shadow-sm: 0 10px 24px -18px rgba(61, 37, 47, .35);
  --shadow-md: 0 24px 48px -28px rgba(61, 37, 47, .42);
  --shadow-lg: 0 36px 80px -34px rgba(61, 37, 47, .55);
  --max: 1140px;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

a {
  color: var(--coral-deep);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover { color: var(--plum); }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.tight { max-width: 860px; }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}

.brand:hover { color: inherit; }

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #ff8e73 0%, #e9507b 42%, #5b2a54 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  flex: none;
}

.logo svg {
  width: 24px;
  height: 24px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 250, 247, .84);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.site-header.scrolled {
  background: rgba(255, 250, 247, .94);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-links a.btn-primary {
  color: #fff;
}

.nav-links a.btn-primary:hover {
  color: #fff;
}

/* ---------- Buttons and store badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  color: #fff;
  background: var(--coral-deep);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
}

.store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 188px;
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  background: #211a23;
  box-shadow: var(--shadow-md);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.store-badge:hover {
  color: #fff;
  background: #332834;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: none;
}

.store-badge .t {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge .t small {
  font-size: 10.5px;
  font-weight: 600;
  opacity: .78;
}

.store-badge .t b {
  font-size: 16px;
  font-weight: 800;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.app-hero {
  min-height: calc(100vh - 74px);
  padding: 62px 0 58px;
  background:
    linear-gradient(90deg, rgba(255, 214, 198, .42), rgba(223, 243, 238, .45)),
    radial-gradient(1200px 640px at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 630px;
}

.app-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(233, 80, 123, .22);
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #ff8e73 0%, #e9507b 42%, #5b2a54 100%);
  box-shadow: var(--shadow-md);
}

.app-icon {
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 16px;
  flex: none;
}

.app-icon svg {
  width: 32px;
  height: 32px;
}

.hero h1 {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 58px;
}

.hero .lead {
  max-width: 590px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 19px;
}

.hero-stores { margin-bottom: 20px; }

.micro {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.micro svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
}

/* ---------- App preview ---------- */
.phone-wrap {
  position: relative;
  display: grid;
  justify-items: center;
}

.phone {
  position: relative;
  width: 318px;
  aspect-ratio: 9 / 19.4;
  padding: 14px;
  border-radius: 42px;
  background: #211a23;
  box-shadow: 0 28px 70px -30px rgba(33, 26, 35, .85);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 36px;
  pointer-events: none;
}

.phone .screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #fffaf7 0%, #f6ece6 100%);
  display: flex;
  flex-direction: column;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(234, 222, 216, .82);
  background: rgba(255, 255, 255, .64);
}

.chat-top .ava {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 26px -18px rgba(61, 37, 47, .55);
  flex: none;
}

.chat-top .ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.chat-top .ava::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
}

.chat-top .meta { flex: 1; }
.chat-top .nm { font-size: 17px; font-weight: 800; line-height: 1.2; }
.chat-top .st { color: var(--teal); font-size: 12px; font-weight: 800; }

.chat-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  flex: none;
}

.chat-actions span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
}

.chat-actions svg {
  width: 16px;
  height: 16px;
}

.mood-card {
  margin: 14px 14px 0;
  padding: 14px;
  border: 1px solid rgba(233, 80, 123, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mood-card span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mood-card strong {
  display: block;
  margin: 3px 0 10px;
  color: var(--plum);
  font-size: 16px;
}

.mood-row {
  display: flex;
  gap: 6px;
}

.mood-row i {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--plum);
  background: var(--paper-2);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  padding: 16px 14px 8px;
}

.daystamp {
  align-self: center;
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, .72);
  font-size: 10.5px;
  font-weight: 700;
}

.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: 0 5px 14px -10px rgba(61, 37, 47, .55);
  font-size: 12.8px;
  line-height: 1.45;
  animation: rise .5s ease both;
}

.bubble.them {
  align-self: flex-start;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border-color: rgba(91, 42, 84, .08);
  border-bottom-left-radius: 5px;
}

.bubble.me {
  align-self: flex-end;
  color: #fff;
  background: #8f476b;
  border-bottom-right-radius: 5px;
}

.b1 { animation-delay: .05s; }
.b2 { animation-delay: .2s; }
.b3 { animation-delay: .45s; }
.b4 { animation-delay: .62s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid rgba(91, 42, 84, .08);
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  background: #fff;
  animation: rise .5s .75s ease both;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9b7c3;
  animation: blink 1.3s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(234, 222, 216, .82);
  background: rgba(255, 255, 255, .68);
}

.chat-input .field {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--soft);
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 700;
}

.chat-input .send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--plum);
  display: grid;
  place-items: center;
  flex: none;
}

.chat-input .send svg {
  width: 17px;
  height: 17px;
}

/* ---------- Strips and sections ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  justify-content: center;
  padding-block: 20px;
}

.strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.strip svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

section.block { padding: 88px 0; }

.alt {
  border-block: 1px solid var(--line);
  background: #fff;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow.left { text-align: left; }

.section-head h2,
.section-copy h2 {
  margin-bottom: 14px;
  font-size: 42px;
}

.section-head p,
.section-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.info-panel,
.contact-card,
.toc,
.quote {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  border-color: rgba(233, 80, 123, .35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card .ic {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--plum);
  background: linear-gradient(135deg, var(--peach), var(--mint));
  display: grid;
  place-items: center;
}

.card .ic svg {
  width: 25px;
  height: 25px;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.section-copy {
  max-width: 480px;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.safety-list div {
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
}

.safety-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.safety-list span {
  color: var(--muted);
  font-size: 15px;
}

.app-store-section {
  background: var(--paper);
}

.store-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-panel {
  padding: 28px;
}

.info-panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.info-panel dl,
.info-panel dd {
  margin: 0;
}

.info-panel div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.info-panel dt {
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-panel dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 26, 35, .52);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 34px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--soft);
  background: var(--paper-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, #ff8e73 0%, #e9507b 42%, #5b2a54 100%);
  display: grid;
  place-items: center;
}

.modal-icon svg {
  width: 34px;
  height: 34px;
}

.modal-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 62px 0 30px;
  color: #d8ccd8;
  background: #211a23;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 42px;
}

.site-footer .wordmark { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }

.site-footer p {
  max-width: 360px;
  margin: 8px 0;
  color: #bdaebd;
  font-size: 14.5px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 11px;
  color: #d8ccd8;
  font-size: 15px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #a99aaa;
  font-size: 13.5px;
}

.footer-bottom a {
  color: #d8ccd8;
}

/* ---------- Steps and quotes retained for content pages ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: s;
}

.step {
  position: relative;
  padding: 8px 6px;
}

.step .num {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--coral-deep);
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote {
  padding: 28px 24px;
}

.quote .stars {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 15px;
}

.quote p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 16px;
  font-style: italic;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote .who .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--plum);
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}

.quote .who b { font-size: 14.5px; }

.quote .who small {
  display: block;
  color: var(--soft);
  font-size: 12.5px;
}

/* ---------- Legal / content pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 214, 198, .56), rgba(223, 243, 238, .56));
}

.page-hero .orb { display: none; }

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 46px;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal {
  padding: 56px 0 88px;
}

.legal .wrap { max-width: 800px; }

.legal h2 {
  margin: 46px 0 14px;
  font-size: 27px;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16.5px;
}

.legal ul,
.legal ol {
  padding-left: 24px;
}

.legal li { margin-bottom: 9px; }

.legal strong {
  color: var(--ink);
  font-weight: 800;
}

.legal .meta {
  margin: 4px 0;
  color: var(--soft);
  font-size: 14.5px;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: var(--paper-2);
}

.callout p {
  margin: 0;
  color: var(--ink);
}

.contact-card {
  margin-bottom: 22px;
  padding: 26px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.contact-card p {
  margin: 4px 0;
  color: var(--muted);
}

.contact-card a { font-weight: 800; }

.toc {
  margin-bottom: 34px;
  padding: 22px 26px;
}

.toc h4 {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.toc li {
  margin-bottom: 8px;
  font-size: 15px;
}

.toc a { color: var(--muted); }
.toc a:hover { color: var(--coral-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
  }

  .app-mark,
  .hero-stores,
  .micro {
    justify-content: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .split-section,
  .store-info-grid {
    grid-template-columns: 1fr;
  }

  .section-copy {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .features,
  .steps,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .wrap { padding: 0 18px; }

  .nav { min-height: 68px; }

  .nav-links .hide-sm { display: none; }
  .nav-links { gap: 14px; }

  .wordmark { font-size: 22px; }

  .app-hero {
    min-height: auto;
    padding: 42px 0 50px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .store-row {
    justify-content: center;
  }

  .store-badge {
    min-width: 164px;
  }

  .phone {
    width: min(318px, 92vw);
  }

  section.block {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2,
  .section-copy h2 {
    font-size: 32px;
  }

  .section-head p,
  .section-copy p {
    font-size: 16.5px;
  }

  .info-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-hero {
    padding: 52px 0 42px;
  }

  .page-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .store-badge {
    width: 100%;
    max-width: 310px;
    justify-content: center;
  }

  .app-mark {
    width: 100%;
    justify-content: flex-start;
    border-radius: 8px;
    text-align: left;
  }

  .hero h1 {
    font-size: 36px;
  }

  .micro {
    align-items: flex-start;
    text-align: left;
  }

  .toc ol { columns: 1; }
}
