/* Figma Home: 70:559, 70:602, 70:645, 70:688.
   Header / Global: 187:548; Footer / Global: 175:216.
   Minimum sizes preserve the reference rhythm while allowing content to grow. */
:root {
    color-scheme: light;
    --page-bg: #fff;
    --text-primary: #1a1a1a;
    --text-secondary: #65676b;
    --border-color: #ebecef;
    --control-border: #8c8d90;
    --accent-color: #27a9f5;
    --button-text: #1a1a1a;
    --button-border: #1a1a1a;
    --accent-hover: #51baf7;
    --accent-active: #1594df;
    --focus-ring: #1677b3;
    --ghost-hover: #f0f2f5;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-6: 48px;
    --radius-control: 8px;
    --surface-shadow: none;
    --feature-border: #8c8d90;
    --space-8: 64px;
    --space-12: 96px;
    font-family: Inter, sans-serif;
}
[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #1a1a1a;
    --text-primary: #fff;
    --text-secondary: #b2b3b5;
    --border-color: #65676b;
    --focus-ring: #77caff;
    --ghost-hover: #292929;
    --feature-border: #65676b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--page-bg);
    color: var(--text-primary);
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
.skip-link {
    position: fixed;
    inset: var(--space-2) auto auto var(--space-2);
    z-index: 2;
    padding: var(--space-2);
    background: var(--page-bg);
    border: 1px solid var(--control-border);
    border-radius: var(--radius-control);
    transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: none; }
/* Keep icon assets at their intrinsic dimensions. */
.ui-icon { display: block; flex-shrink: 0; }
.brand-desktop { display: block; }
.brand-mobile { display: none; }
.theme-dark-only { display: none; }
[data-theme="dark"] .theme-light-only { display: none; }
[data-theme="dark"] .theme-dark-only { display: block; }
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    min-height: 88px;
    padding: var(--space-2) 64px;
    box-shadow: inset 0 -1px var(--border-color);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 20px; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: var(--space-1); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    min-height: 48px;
    padding: var(--space-1) var(--space-3);
    border: 0;
    border-radius: var(--radius-control);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    transition: background-color 160ms ease, transform 160ms ease;
}
.button-primary { color: var(--button-text); background: var(--accent-color); box-shadow: inset 0 0 0 1px var(--button-border); }
.button-primary:hover { background: var(--accent-hover); }
.button-primary:active { background: var(--accent-active); }
.button-secondary { color: var(--text-primary); background: var(--page-bg); box-shadow: inset 0 0 0 1px var(--control-border); }
.button-secondary:hover, .button-ghost:hover { background: var(--ghost-hover); }
.button:active { transform: translateY(1px); }
.button-ghost { color: var(--text-primary); background: transparent; }
.icon-button { width: 48px; padding: 0; flex: 0 0 48px; }
.header-login { padding-inline: var(--space-2); }
main { flex: 1; display: flex; flex-direction: column; }
.hero {
    display: grid;
    place-items: center;
    min-height: 648px;
    padding: var(--space-6);
    text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); width: 100%; max-width: 800px; }
.sound-wave { display: flex; align-items: center; gap: 4px; height: 32px; }
.sound-wave span { width: 4px; height: 12px; border-radius: 100px; background: var(--accent-color); }
.sound-wave span:nth-child(2), .sound-wave span:nth-child(4) { height: 24px; }
.sound-wave span:nth-child(3) { height: 32px; }
.hero-introduction { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: 100%; }
h1 { font-size: 56px; font-weight: 700; line-height: 1.12; }
.hero-introduction p { max-width: 576px; color: var(--text-secondary); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; gap: var(--space-2); }
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 168px;
    padding: var(--space-4) 20px 40px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 5px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; white-space: nowrap; }
.footer-links a:hover { color: var(--text-primary); text-decoration: underline; }
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-12) var(--space-8);
}
.about-introduction {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    max-width: 800px;
    text-align: center;
}
.about-introduction h2 { font-size: 36px; font-weight: 700; line-height: 40px; }
.about-introduction p, .feature-content p { color: var(--text-secondary); font-size: 16px; line-height: 24px; }
.about-introduction .about-eyebrow { font-size: 12px; font-weight: 600; line-height: 16px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    width: 100%;
    max-width: 1200px;
}
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    min-width: 0;
    min-height: 280px;
    padding: var(--space-3);
    border: 1px solid var(--feature-border);
    border-radius: var(--radius-control);
    background: var(--page-bg);
    box-shadow: var(--surface-shadow);
}
.feature-icon {
    color: var(--accent-color);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid var(--feature-border);
    border-radius: var(--radius-control);
}
.feature-content { display: flex; flex-direction: column; gap: var(--space-1); }
.feature-content h3 { font-size: 18px; font-weight: 600; line-height: 24px; }
.journey-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    max-width: 1200px;
    padding: var(--space-4);
    border: 1px solid var(--feature-border);
    border-radius: var(--radius-control);
    text-align: center;
}
.journey-banner h2 { font-size: 24px; font-weight: 700; line-height: 32px; }
@media (min-width: 768px) and (max-width: 1023px) {
    .about { padding-inline: var(--space-3); }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 256px; }
}
@media (max-width: 767px) {
    .brand-desktop { display: none; }
    .brand-mobile { display: block; }
    .site-header { min-height: 80px; padding-inline: var(--space-3); }
    .brand { font-size: 16px; }
    .hero { min-height: 584px; padding: var(--space-6) var(--space-3); }
    h1 { font-size: 36px; }
    .hero-introduction p { font-size: 16px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .site-footer { min-height: 232px; }
    .about { gap: var(--space-4); padding: var(--space-8) var(--space-3); }
    .about-introduction h2 { font-size: 28px; line-height: 32px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 256px; }
    .journey-banner .button { width: 100%; }
}
@media (max-width: 359px) {
    h1 { font-size: 30px; }
    .site-header { gap: var(--space-1); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
