/*
Theme Name: murmurai
Description: murmer by Alpha AI — marketing site, accounts, one-time Razorpay purchase, protected app download and lead capture.
Author: Alpha AI
Version: 1.0
Text Domain: murmurai
*/

/* Ported launch-site buy buttons are <a> links now (they were <button>). */
a.button { display: inline-block; text-align: center; }
a.button.wide { display: block; }


/* ==========================================================================
   MMR shared UI for auth, dashboard, contact and invoice templates.
   Uses the blue-system tokens (--m-*) from css/blue-system.css.

   .mmr-card            white panel with border + soft shadow (wrap a form or section)
   .mmr-form            vertical form stack (18px gap); children are .mmr-field / .mmr-row / .mmr-check / button
   .mmr-field           one label + control pair (keeps the label tight to its input)
   .mmr-row             two .mmr-field side by side; stacks under 640px
   .mmr-pass            wrap a password <input>; footer.php adds the show/hide eye button
   .mmr-help            small helper text under a field
   .mmr-input           text/email/password/tel/select/textarea field
   .mmr-btn             primary blue button (<button> or <a>); .secondary outline; .wide full width
   .mmr-alert           message box; .mmr-alert--success / --error (aliases .success/.is-success, .error/.is-error)
   .mmr-table           simple data table (purchase history etc.)
   .mmr-wrap            centred page container (use inside <main>)
   .mmr-auth            auth page band: centred .mmr-card.mmr-auth-card (alphaibiz auth_card layout)
   .dash-shell          dashboard band: .dash-inner > .dash-sidebar + .dash-main (alphaibiz dash_section layout)
   ========================================================================== */
.mmr-wrap { width: min(100% - 32px, 1196px); margin: 0 auto; padding: 56px 0 72px; }
.mmr-wrap.narrow { width: min(100% - 32px, 460px); }
.mmr-card { padding: 28px; border: 1px solid var(--m-line); border-radius: 16px; background: var(--m-surface); box-shadow: 0 14px 36px rgba(31, 94, 148, .07); color: var(--m-ink); }
.mmr-card h1, .mmr-card h2, .mmr-card h3 { margin: 0 0 12px; color: var(--m-ink); letter-spacing: -.6px; }
.mmr-card p { color: var(--m-muted); font-size: 14px; line-height: 1.6; }
.mmr-card a:not(.mmr-btn) { color: var(--m-blue-deep); font-weight: 700; }

/* Forms */
.mmr-form { display: grid; gap: 18px; }
.mmr-form > p { margin: 0; }
.mmr-form > .mmr-help { margin-top: -10px; }
.mmr-form label { display: block; margin-bottom: 6px; color: var(--m-ink); font-size: 13px; font-weight: 700; }
.mmr-field { min-width: 0; }
.mmr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mmr-help { margin: 6px 0 0; color: var(--m-muted); font-size: 12px; line-height: 1.5; }
.mmr-check, .mmr-form .mmr-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--m-ink); font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.mmr-check input { margin-top: 3px; flex: none; }
.mmr-input { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 10px; background: #fff; color: var(--m-ink); font: inherit; font-size: 15px; }
.mmr-input:focus { outline: none; border-color: var(--m-blue); box-shadow: 0 0 0 3px var(--m-blue-soft); }
.mmr-input:disabled { background: var(--m-page); color: var(--m-muted); }
textarea.mmr-input { min-height: 120px; resize: vertical; }
.mmr-pass { position: relative; }
.mmr-pass .mmr-input { padding-right: 48px; }
.mmr-eye { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--m-muted); cursor: pointer; transform: translateY(-50%); }
.mmr-eye:hover { color: var(--m-blue-deep); background: var(--m-blue-soft); }
.mmr-eye:focus-visible { outline: 2px solid var(--m-blue); outline-offset: 1px; }
.mmr-eye svg { width: 18px; height: 18px; }
.mmr-eye[aria-pressed="true"] .i-eye, .mmr-eye[aria-pressed="false"] .i-eye-off { display: none; }
/* Breathing room between the last control (checkbox, alert, field) and the action button */
.mmr-form > .mmr-btn, .mmr-form > .mmr-actions { margin-top: 6px; }
.mmr-form > .mmr-btn:not(.wide) { justify-self: start; }
.mmr-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Buttons, alerts, tables */
.mmr-btn { display: inline-block; padding: 13px 22px; border: 1px solid var(--m-blue); border-radius: 10px; background: linear-gradient(135deg, #1596ff, #0875e6); color: #fff; font: inherit; font-size: 14px; font-weight: 800; text-align: center; cursor: pointer; box-shadow: 0 10px 22px rgba(10, 132, 255, .22); transition: transform .2s; }
.mmr-btn:hover { transform: translateY(-1px); }
.mmr-btn:disabled, .mmr-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.mmr-btn.secondary { background: #fff; color: var(--m-blue-deep); box-shadow: none; }
.mmr-btn.wide { display: block; width: 100%; }
.mmr-alert { padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 10px; background: var(--m-blue-soft); color: var(--m-ink); font-size: 14px; line-height: 1.5; }
.mmr-alert.success, .mmr-alert--success, .mmr-alert.is-success { border-color: #b7e4c7; background: #eefaf2; color: #1d6b3a; }
.mmr-alert.error, .mmr-alert--error, .mmr-alert.is-error { border-color: #f3c2c2; background: #fff1f1; color: #9b2c2c; }
.mmr-alert[hidden] { display: none; }
.mmr-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--m-ink); }
.mmr-table th, .mmr-table td { padding: 11px 12px; border-bottom: 1px solid var(--m-line); text-align: left; }
.mmr-table th { color: var(--m-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* Auth pages (login, signup, forgot/reset password) — mirrors alphaibiz .auth_section / .auth_card */
.mmr-auth { min-height: calc(100vh - 150px); padding: 64px 16px 88px; background: var(--m-page); }
.mmr-auth-card { width: 100%; max-width: 560px; margin: 0 auto; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(23, 34, 53, .06); }
.mmr-auth-card h1 { margin: 0 0 6px; font-family: var(--sans); font-size: 28px; font-style: normal; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; }
.mmr-auth-card .mmr-auth-sub { margin: 0 0 26px; font-size: 14px; }
.mmr-auth-card .mmr-form { gap: 20px; }
.mmr-auth-card .mmr-form > .mmr-btn { margin-top: 4px; }
.mmr-auth-card .mmr-input { height: 56px; padding: 0 46px 0 16px; border-radius: 8px; font-size: 16px; }
.mmr-auth-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.mmr-card .mmr-auth-row a { color: var(--m-ink); font-size: 13px; }
.mmr-card .mmr-auth-row a:hover { color: var(--m-blue-deep); }
.mmr-auth-alt { text-align: center; }
/* Decorative field icons (alphaibiz .field_icon) as CSS backgrounds, so markup stays plain */
.mmr-input.ico-user, .mmr-input.ico-mail, .mmr-input.ico-phone, .mmr-input.ico-globe { padding-right: 46px; background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.mmr-input.ico-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.mmr-input.ico-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.mmr-input.ico-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.mmr-select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.mmr-select:invalid { color: #8a94a6; }
.mmr-select option { color: #172033; }
.mmr-input.ico-globe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.mmr-auth-card .mmr-eye { right: 8px; width: 40px; height: 40px; }

/* Dashboard shell (mirrors alphaibiz .dash_section / .dashinner / .dash_sidebar / .dash_main) */
.dash-shell { min-height: calc(100vh - 150px); padding: 40px 16px 64px; background: #f5f7fb; }
.dash-inner { display: flex; gap: 30px; align-items: flex-start; width: min(100%, 1196px); margin: 0 auto; }
.dash-shell .mmr-card { border-color: transparent; border-radius: 12px; box-shadow: 0 4px 20px rgba(23, 34, 53, .06); }
.dash-sidebar { position: sticky; top: 20px; flex: none; width: 300px; padding: 26px 22px; }
.dash-user { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--m-line); text-align: center; }
.dash-avatar { display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 8px; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #1596ff, #0866d7); color: #fff; font-size: 34px; font-weight: 800; box-shadow: 0 0 0 1px var(--m-line), 0 10px 22px rgba(10, 132, 255, .22); }
.dash-avatar { padding: 0; overflow: hidden; cursor: pointer; font-family: inherit; }
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-avatar.is-busy { opacity: .55; cursor: progress; }
.dash-avatar:focus-visible, .dash-edit:focus-visible { outline: 2px solid var(--m-blue); outline-offset: 2px; }
.dash-edit { display: inline-block; margin-bottom: 10px; padding: 2px 6px; border: 0; background: none; color: var(--m-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.dash-edit:hover { color: var(--m-blue-deep); }
.dash-edit:disabled { cursor: progress; color: var(--m-muted); }
.mmr-card .dash-avatar-error { margin: 0 0 10px; color: #9b2c2c; font-size: 12px; }
.mmr-card .dash-user-name { margin: 0 0 4px; color: var(--m-ink); font-size: 17px; font-weight: 800; }
.mmr-card .dash-user-email { margin: 0; font-size: 12px; word-break: break-all; }
.dash-nav { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mmr-card .dash-nav a { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 8px; background: #f3f4f6; color: var(--m-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.mmr-card .dash-nav a:hover { background: var(--m-blue-soft); color: var(--m-blue-deep); }
.mmr-card .dash-nav a.active { background: linear-gradient(135deg, #1596ff, #0866d7); color: #fff; box-shadow: 0 8px 20px rgba(10, 132, 255, .25); }
.dash-nav svg { flex: none; width: 18px; height: 18px; }
.dash-main { display: grid; flex: 1; gap: 28px; min-width: 0; }
.dash-main > .mmr-card { padding: 32px; }
.dash-header h1 { margin: 0; color: var(--m-ink); font-family: var(--sans); font-size: 36px; font-style: normal; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.dash-header p { margin: 6px 0 0; color: var(--m-muted); font-size: 14px; }
.dash-main .mmr-card h2 { font-family: var(--sans); font-size: 22px; font-style: normal; font-weight: 800; }
.dash-main .mmr-card > p { margin: 0; }
.dash-main .mmr-card .mmr-form { max-width: 760px; }
.dash-main .mmr-card h2 + .mmr-form { margin-top: 18px; }

/* Status banner (blue gradient card) + history (dash-purchase.php) */
.dash-shell .dash-banner { display: grid; gap: 14px; justify-items: start; background: linear-gradient(120deg, #0b2b54, #0866d7 58%, #1596ff); color: #fff; box-shadow: 0 16px 36px rgba(8, 102, 215, .28); }
.dash-banner > * { margin: 0; }
.dash-main .dash-banner h2, .dash-banner p, .dash-banner ul, .dash-banner .mmr-check { color: #fff; }
.dash-banner p, .dash-banner ul { font-size: 15px; opacity: .92; }
.dash-banner ul { display: grid; gap: 4px; padding-left: 20px; line-height: 1.5; }
.mmr-card.dash-banner a:not(.mmr-btn) { color: #fff; text-decoration: underline; }
.dash-banner .mmr-check { max-width: 640px; font-size: 13px; }
.dash-banner .mmr-check input { accent-color: #fff; }
.dash-banner .mmr-btn { margin-top: 6px; border-color: #fff; background: #fff; color: var(--m-blue-deep); box-shadow: 0 10px 22px rgba(0, 20, 50, .2); }
.dash-banner .mmr-btn:disabled { opacity: .6; }
.dash-banner .mmr-alert { justify-self: stretch; }

@media (max-width: 860px) {
	.dash-inner { flex-direction: column; align-items: stretch; gap: 22px; }
	.dash-sidebar { position: static; width: auto; }
	.dash-main { gap: 22px; }
}
@media (max-width: 640px) {
	.mmr-row { grid-template-columns: minmax(0, 1fr); }
	.mmr-card { padding: 22px; }
	.mmr-auth { padding: 24px 16px 48px; }
	.mmr-auth-card { padding: 24px 20px; }
	.dash-header h1 { font-size: 28px; }
	.dash-main > .mmr-card { padding: 22px; }
	.mmr-table { display: block; overflow-x: auto; }
	.mmr-form > .mmr-btn:not(.wide), .dash-banner .mmr-btn { justify-self: stretch; }
}

/* Header account dropdown (header.php .mmr-user; alphaibiz .auth_user). Header is always dark navy (css/finish.css). */
.mmr-user { position: relative; }
.mmr-user-toggle { display: inline-flex; line-height: 1; white-space: nowrap; cursor: pointer; gap: 8px; align-items: center; padding: 4px 12px 4px 4px; border: 1px solid rgba(203, 215, 232, .28); border-radius: 100px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s; }
.mmr-user-toggle:hover, .mmr-user-toggle[aria-expanded="true"] { border-color: rgba(203, 215, 232, .5); background: rgba(255, 255, 255, .12); }
.mmr-user-toggle:focus-visible { outline: 2px solid #7ec3ff; outline-offset: 2px; }
.mmr-user-avatar { display: grid; flex: none; place-items: center; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, #1596ff, #0866d7); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.mmr-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mmr-user-chevron { width: 14px; height: 14px; color: #cbd7e8; transition: transform .2s; }
.mmr-user-toggle[aria-expanded="true"] .mmr-user-chevron { transform: rotate(180deg); }
.mmr-user-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 100; display: grid; gap: 2px; min-width: 190px; margin: 0; padding: 8px; border: 1px solid var(--m-line); border-radius: 10px; background: var(--m-surface); box-shadow: 0 18px 40px rgba(7, 29, 58, .22); list-style: none; }
.mmr-user-menu[hidden] { display: none; }
.mmr-user-menu li { margin: 0; padding: 0; }
.nav-links .mmr-user-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--m-ink); font-size: 14px; font-weight: 700; }
.nav-links .mmr-user-menu a:hover, .nav-links .mmr-user-menu a:focus-visible { outline: none; background: var(--m-blue-soft); color: var(--m-blue-deep); }
.nav-links .mmr-user-menu a[aria-current="page"] { color: var(--m-blue-deep); }
/* Mobile menu: same links, flat */
@media (max-width: 800px) {
	.mmr-user-toggle { display: none; }
	.mmr-user-menu, .mmr-user-menu[hidden] { position: static; display: grid; gap: 15px; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; }
	.nav-links .mmr-user-menu a { padding: 0; color: inherit; font-size: inherit; font-weight: inherit; }
	.nav-links .mmr-user-menu a:hover { background: none; color: #fff; }
	.nav-links .mmr-user-menu a[aria-current="page"] { color: #7ec3ff; }
}


/* ==========================================================================
   Fixes 2026-10-04
   ========================================================================== */

/* Bug 1 — header hover turned the "Get murmer" pill white-on-white.
   Root cause: css/styles.css `.nav-links a:hover { color: white }` (0,2,1) outranks
   css/blue-system.css `.nav-buy { color: #0c4b96 }` (0,1,0), so the white pill got white
   text on :hover/:active (contrast 1:1), desktop and the mobile menu alike. */
.nav-links a.nav-buy, .nav-links a.nav-buy:hover, .nav-links a.nav-buy:active, .nav-links a.nav-buy:focus-visible { color: #0c4b96; }
.nav-links a.nav-buy:hover, .nav-links a.nav-buy:active { background: #e9f3ff; }
/* Visible focus ring on the navy header (browser default #005fcc ring is ~2.9:1 on #071d3a). */
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #7ec3ff; outline-offset: 3px; }
/* Account dropdown items: keep the light hover fill but add a real focus ring. */
.nav-links .mmr-user-menu a:focus-visible { outline: 2px solid var(--m-blue); outline-offset: -2px; }
@media (max-width: 800px) {
	/* Mobile panel is dark: the desktop light-blue focus fill left #7ec3ff text on #e9f3ff (1.7:1). */
	.nav-links .mmr-user-menu a:focus-visible { background: none; color: #fff; outline: 2px solid #7ec3ff; outline-offset: 2px; }
	/* 44px tap targets in the mobile menu */
	.menu-button { min-width: 44px; min-height: 44px; }
	.nav-links { gap: 2px; }
	.mmr-user-menu, .mmr-user-menu[hidden] { gap: 2px; }
	.nav-links > a:not(.nav-buy), .nav-links .mmr-user-menu a { display: flex; align-items: center; min-height: 44px; }
	.nav-links a.nav-buy { display: flex; align-items: center; min-height: 44px; margin-top: 8px; }
}

/* Bug 2 — home page zoomed out / sideways scroll on phones.
   Root cause: the decorative .hero-orbit rings (css/styles.css, right: -130px / -220px) stick
   out of .hero by 220px, so mobile browsers widened the layout viewport to ~610px at 390px. */
.hero { overflow-x: clip; }

/* Bug 2 (cont.) — phone layouts for home sections that were built for desktop. */
@media (max-width: 800px) {
	/* Final CTA: the photo was background-size: contain, leaving a thin strip mid-section. Fill it; darken top-down so the copy stays legible. */
	.final-art {
		background-image: linear-gradient(180deg, rgba(2, 16, 35, .9) 0%, rgba(3, 22, 47, .72) 55%, rgba(3, 20, 42, .3) 100%), url('images/final-male-voice-studio.png');
		background-size: 100% 100%, cover;
		background-position: center, 70% center;
	}
}
@media (max-width: 800px) {
	/* Footer links were 11-17px tall tap targets; pad them (rows were 10px apart, now touch). */
	.site-footer > nav { row-gap: 0; align-items: center; }
	.site-footer > nav a { display: inline-block; padding: 10px 0; }
}
@media (max-width: 600px) {
	/* Hero: the floating glass notes sat on top of the CTA row; drop them below the copy. */
	.hero-art .note-1 { top: 71%; }
	.hero-art .note-2 { top: 78%; }
	/* At 360px the CTA squeezed and wrapped its arrow; let the text link drop to its own line instead. */
	.hero-actions { flex-wrap: wrap; row-gap: 4px; }
	.hero-actions .button { flex: none; }
	.hero .text-link { padding: 15px 0; }
	/* #peek app mockup: no room for the 105px sidebar; the Draft Studio card covered the dictation buttons. */
	.real-app-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.app-sidebar { display: none; }
	.real-app .draft-glass { position: relative; right: auto; bottom: auto; width: auto; margin: 12px; }
}

/* Tablets: keep the mockup sidebar, but the Draft Studio card still covered the status line; stack it below. */
@media (min-width: 601px) and (max-width: 900px) {
	.real-app .draft-glass { position: relative; right: auto; bottom: auto; width: auto; margin: 12px; }
}


/* ==========================================================================
   Mobile system ≤780px — 2026-10-04
   One layout for every phone and portrait small tablet (320–780px): same
   structure, spacing and type; only the column width changes (capped at
   640px so 768px portrait reads like a wide phone, not a stretched one).
   781px+ (iPad landscape, desktop) is untouched: everything sits in this query.

   Scale   gutter --mg 16px (grows only past 672px), section --sec 60px,
           gaps 12 / 16 / 24 / 32px, card radius 18px, button 52px.
   Type    hero h1 44–52px, section h2 34–42px, intro copy 16px, eyebrow 11px.
   ========================================================================== */
@media (max-width: 780px) {
	:root {
		--mg: max(16px, calc((100vw - 640px) / 2));
		--sec: 60px;
		--m-radius: 18px;
		--m-card-shadow: 0 12px 28px rgba(24, 82, 140, .08);
	}

	/* Chrome: header + footer share the content gutter on every page. */
	.site-header { padding-inline: var(--mg); }
	.nav-links { left: var(--mg); right: var(--mg); border-radius: 14px; }
	.site-footer { padding: 32px var(--mg); }
	.site-header .brand, .site-footer > .brand { display: inline-flex; align-items: center; min-height: 44px; }
	.site-footer > nav { column-gap: 20px; }
	.site-footer > nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

	/* ---- Section rhythm -------------------------------------------------- */
	#top > .section-pad, #top > .story-panel, #top > .alpha-band { padding: var(--sec) var(--mg); }
	#top .eyebrow { margin: 0 0 16px; font-size: 11px; }
	#top > section h2 { font-size: clamp(34px, 9.2vw, 42px); line-height: 1.03; letter-spacing: -.045em; }
	#top > section h2 em { letter-spacing: -.035em; }
	#top :is(.section-copy, .statement-note, .story-copy > p, .feature-tour-head > p, .intelligence-copy > p, .alpha-copy > p, .section-intro-copy, .pricing-intro > p:not(.eyebrow), .product-pages-intro > p:not(.eyebrow)):not(.eyebrow) {
		max-width: none; margin: 16px 0 0; font-size: 16px; line-height: 1.6;
	}
	#top .section-intro, #top .feature-tour-head, #top .product-pages-intro, #top .pricing-intro, #top .statement-copy { max-width: none; margin-bottom: 0; }

	/* Buttons: one shape everywhere — full width, 52px, 12px radius. */
	#top .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
	#top .button:hover { transform: none; }
	#top .button.primary span { margin-left: 12px; }

	/* ---- Hero: copy, then a full-bleed image band with the face in frame -- */
	#top > .hero { display: flex; flex-direction: column; min-height: 0; padding: 40px var(--mg) 0; }
	#top > .hero::after, .hero-orbit { display: none; }
	.hero-copy { order: 1; width: 100%; }
	.hero .eyebrow { margin-bottom: 18px; }
	#top > .hero h1 { font-size: clamp(44px, 12vw, 52px); line-height: 1; letter-spacing: -.045em; }
	.hero-body { max-width: 34ch; margin: 18px 0 0; font-size: 16px; line-height: 1.55; }
	.hero-actions, .hero-actions { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; margin-top: 28px; }
	.hero .text-link { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; font-size: 14px; }
	.hero .fine-print { margin: 4px 0 0; font-size: 12px; text-align: center; color: #98b7d5; }
	.hero-art {
		position: relative; inset: auto; z-index: 0; order: 2;
		height: clamp(300px, 72vw, 440px); margin: 32px calc(-1 * var(--mg)) 0;
		border-radius: 0; opacity: 1; overflow: hidden;
	}
	.hero-art img { object-position: 64% 32%; opacity: 1; }
	/* Mask the band's top edge into whatever navy sits behind it (no seam); light shade at the
	   bottom for the chips; no side vignette over the face. */
	.hero-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34%); mask-image: linear-gradient(180deg, transparent 0, #000 34%); }
	.hero-art::after { background: linear-gradient(180deg, rgba(6, 24, 47, 0) 58%, rgba(6, 24, 47, .72) 100%); }
	/* Glass status chips: a matched pair anchored to the bottom of the band. */
	.hero-art .glass-note {
		top: auto; bottom: 16px; display: flex; align-items: center; gap: 10px;
		height: 52px; width: auto; padding: 0 12px; gap: 8px; border-radius: 14px;
		background: rgba(8, 30, 58, .55); border-color: rgba(199, 230, 255, .32);
		-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	}
	.hero-art .note-1 { left: var(--mg); right: auto; }
	.hero-art .note-2 { right: var(--mg); left: auto; }
	.hero-art .glass-note .mini-wave { margin: 0; }
	.hero-art .glass-note strong { color: #fff; font-size: 13px; }
	.hero-art .glass-note small { color: #b9d6f2; font-size: 11px; }
	.hero-art .note-1 small { order: 3; }
	.hero-art .check { flex: none; width: 24px; height: 24px; }
	.hero-footer { position: static; order: 3; justify-content: center; gap: 10px; margin: 0 calc(-1 * var(--mg)); padding: 18px var(--mg) 22px; font-size: clamp(9px, 2.6vw, 10px); letter-spacing: clamp(.4px, .25vw, 1px); white-space: nowrap; }
	.hero-footer .rule { flex: 0 0 12px; }

	/* ---- Proof strip ----------------------------------------------------- */
	.proof-strip div { padding: 18px var(--mg); gap: 16px; }
	.proof-strip p { font-size: 15px; }

	/* ---- Statement ------------------------------------------------------- */
	#top .statement { min-height: 0; }
	.statement .statement-visual { height: 280px; margin-top: 32px; border-radius: var(--m-radius); }

	/* ---- Story ----------------------------------------------------------- */
	#top > .story-panel { gap: 32px; min-height: 0; }
	.story-image { margin: 0 12px 12px 0; border-width: 6px; box-shadow: 12px 12px 0 #b9dcff, 0 18px 40px rgba(33, 94, 154, .12); }
	.story-copy { padding: 24px; border-radius: var(--m-radius); }

	/* ---- Steps: compact cards, number inside the padding ----------------- */
	.workflow-image { margin: 28px 0 0; border-radius: var(--m-radius); }
	.step-list { gap: 12px; margin-top: 24px; }
	.step-card {
		display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 4px;
		align-items: start; min-height: 0; padding: 20px; border-radius: var(--m-radius);
		text-align: left; box-shadow: var(--m-card-shadow);
	}
	.step-card .step-icon { grid-column: 1; grid-row: 1 / 4; align-self: start; width: 52px; height: 52px; margin: 0; border-radius: 16px; }
	.step-card .hotkey { font-size: 26px; }
	.step-card .sparkle { font-size: 25px; }
	.step-card .step-index { grid-column: 2; grid-row: 1; align-self: start; color: #0a7df2; font-size: 11px; letter-spacing: 1px; line-height: 16px; }
	.step-card h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: 17px; text-align: left; }
	.step-card p { grid-column: 2; grid-row: 3; max-width: none; margin-top: 2px; font-size: 14px; line-height: 1.55; text-align: left; }
	.step-card .card-line { display: none; }

	/* ---- Product showcase (#peek): same mockup at every width ------------ */
	.product-showcase { gap: 32px; }
	.real-app { min-height: 0; border-radius: var(--m-radius); }
	.real-app-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.app-sidebar { display: none; }
	.real-app .draft-glass { position: relative; right: auto; bottom: auto; width: auto; margin: 12px; }

	/* ---- Feature tour ---------------------------------------------------- */
	#top .feature-tour-head { margin-bottom: 28px; }
	.mock-grid { gap: 12px; }
	#top .feature-mock { min-height: 0; border-radius: var(--m-radius); box-shadow: var(--m-card-shadow); }
	.dictation-footer { position: static; margin-top: 20px; }

	/* ---- Intelligence ---------------------------------------------------- */
	.intelligence-image { min-height: 0; padding: 40px var(--mg); }
	.intelligence-copy { padding: var(--sec) var(--mg); }
	.engine-cards { margin-top: 24px; }

	/* ---- Launch strip ---------------------------------------------------- */
	.launch-window { padding: 24px var(--mg); }
	.launch-window-inner { gap: 12px; }
	.launch-window strong { font-size: 16px; line-height: 1.45; }

	/* ---- Alpha band ------------------------------------------------------ */
	.alpha-band-inner { gap: 28px; }
	.alpha-image { border-radius: var(--m-radius); box-shadow: 10px 12px 0 #d9ecff; margin-right: 10px; }
	.alpha-copy a { display: inline-flex; align-items: center; min-height: 44px; }

	/* ---- Everyday / compare ---------------------------------------------- */
	.everyday-intro { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 28px; }
	.everyday-stage { border-radius: 22px; }
	.everyday-grid { gap: 12px; margin-top: 12px; }
	.everyday-grid article { border-radius: var(--m-radius); }

	/* ---- Pricing --------------------------------------------------------- */
	#top > .pricing { gap: 32px; }
	.price-card { padding: 28px 22px; border-radius: 20px; box-shadow: 0 22px 44px rgba(10, 42, 82, .2); }

	/* ---- Final CTA: copy on navy, photo as a band below (no dead space) -- */
	#top > .final-cta { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: var(--sec) var(--mg) 0; text-align: left; }
	.final-copy { order: 1; width: 100%; }
	.final-copy h2 { text-shadow: none; }
	.final-copy .button { margin-top: 28px; }
	.final-copy p:last-child { margin: 12px 0 0; font-size: 13px; text-align: center; text-shadow: none; }
	.final-art {
		position: relative; inset: auto; order: 2;
		height: clamp(240px, 62vw, 400px); margin: 32px calc(-1 * var(--mg)) 0;
		background-image: linear-gradient(180deg, #082b55 0%, rgba(8, 43, 85, 0) 38%, rgba(8, 43, 85, 0) 80%, rgba(5, 24, 48, .5) 100%), url('images/final-male-voice-studio.png');
		background-size: 100% 100%, cover;
		background-position: center, 86% center;
	}
	.final-art::after { display: none; }

	/* ---- More pages ------------------------------------------------------ */
	#top > .product-pages { gap: 28px; }
	.product-pages-grid { gap: 12px; max-width: none; }
	.product-page-card { min-height: 0; padding: 22px; border-radius: var(--m-radius); box-shadow: var(--m-card-shadow); }
	.product-page-card .page-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }

	/* ---- Inner pages (notes, meetings, about, legal) share the gutter + type -- */
	.page-hero { padding: 48px var(--mg) 40px; }
	.page-hero h1 { font-size: clamp(40px, 11vw, 50px); line-height: 1.02; letter-spacing: -.045em; }
	.page-lede { font-size: 16px; line-height: 1.6; }
	.page-band { padding: 40px var(--mg); }
	.legal-band { padding: 28px var(--mg) 56px; }
	.page-action, .legal-sidebar a { display: inline-flex; align-items: center; min-height: 44px; }

	/* Auth + dashboard: 44px touch targets for the small controls. */
	.mmr-auth-card .mmr-eye { width: 44px; height: 44px; right: 6px; }
	.mmr-auth-card a[href*="forgot"] { display: inline-flex; align-items: center; min-height: 44px; }
	.dash-edit { min-height: 44px; padding: 0 12px; }
}
