/* ============================================================
    DESIGN SYSTEM — Earthy Journal Aesthetic
    Primary: Deep Olive Green #4A5C3A
    Accent: Terracotta #C4603A
    Highlight: Butter Yellow #F2C94C
    Background: Warm Cream #FDFAF5
    Text: Dark Chocolate #2C1810
    Muted: Warm Taupe #8B7B72
============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #FDFAF5;
    --cream-dark: #F5EFE4;
    --olive: #4A5C3A;
    --olive-light: #6B7F58;
    --olive-pale: #E8EDE3;
    --terracotta: #C4603A;
    --terracotta-light: #E07B54;
    --terracotta-pale: #F5E8E2;
    --yellow: #F2C94C;
    --yellow-pale: #FDF8E7;
    --chocolate: #2C1810;
    --taupe: #8B7B72;
    --taupe-light: #B5A89E;
    --white: #FFFFFF;

    --font-serif: 'Noto Serif KR', 'Georgia', serif;
    --font-sans: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-mono: 'DM Mono', monospace;

    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.16);
    --shadow-xl: 0 16px 60px rgba(44, 24, 16, 0.20);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--chocolate);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ============================================================
    SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--taupe-light); border-radius: 3px; }

/* ============================================================
    NOISE TEXTURE OVERLAY
============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

/* ============================================================
    NAVIGATION
============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav.scrolled {
    background: rgba(253, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(44, 24, 16, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--taupe);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    border-left: 1px solid var(--taupe-light);
    padding-left: 10px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chocolate);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-cta {
    background: var(--olive);
    color: var(--cream) !important;
    opacity: 1 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--olive-light) !important;
    transform: scale(1.02);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--chocolate);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 250, 245, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem 2rem;
    z-index: 99;
    border-bottom: 1px solid rgba(44, 24, 16, 0.08);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--chocolate);
    text-decoration: none;
}

/* ============================================================
    HERO SECTION
============================================================ */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/brand-logo-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 60vh;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-top: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--terracotta-pale);
    color: var(--terracotta);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(196, 96, 58, 0.2);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--olive);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 900;
    /* font-size: clamp(2.5rem, 4vw, 3.75rem); */
    font-size: clamp(2.0rem, 4vw, 3.0rem);
    line-height: 1.25;
    color: var(--chocolate);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    color: var(--olive);
    position: relative;
    display: inline-block;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out) 0.5s;
}

.hero-title .accent.animated::after {
    transform: scaleX(1);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--taupe);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--olive);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s var(--ease-out), box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(74, 92, 58, 0.3);
}

.btn-primary:hover {
    background: var(--olive-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 92, 58, 0.35);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--chocolate);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1.5px solid rgba(44, 24, 16, 0.2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s var(--ease-out);
}

.btn-secondary:hover {
    border-color: var(--olive);
    background: var(--olive-pale);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.97);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 24, 16, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--olive);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--taupe);
    margin-top: 4px;
    font-weight: 400;
}

.hero-image {
    position: relative;
    padding-top: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
    bottom: 10%;
    left: -8%;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    top: 15%;
    right: -6%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.float-icon.green { background: var(--olive-pale); }
.float-icon.orange { background: var(--terracotta-pale); }

.float-text {
    display: flex;
    flex-direction: column;
}

.float-text strong {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--chocolate);
    line-height: 1.2;
}

.float-text span {
    font-size: 0.7rem;
    color: var(--taupe);
}

/* ============================================================
    SECTION COMMONS
============================================================ */
section {
    padding: 6rem 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--terracotta);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--terracotta);
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(1.875rem, 3vw, 2.75rem);
    line-height: 1.2;
    color: var(--chocolate);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--taupe);
    line-height: 1.8;
    max-width: 560px;
}

/* ============================================================
    FEATURES OVERVIEW
============================================================ */
.features-overview {
    background: var(--cream);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header .section-label {
    justify-content: center;
}

.features-header .section-desc {
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(44, 24, 16, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
    cursor: default;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 92, 58, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.feature-card-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--chocolate);
    margin-bottom: 0.5rem;
}

.feature-card-desc {
    font-size: 0.8375rem;
    color: var(--taupe);
    line-height: 1.65;
}

/* ============================================================
    FEATURE DETAIL SECTIONS (zigzag)
============================================================ */
.feature-detail {
    padding: 5rem 4rem;
}

.feature-detail:nth-child(odd) {
    background: var(--cream);
}

.feature-detail:nth-child(even) {
    background: var(--cream-dark);
}

.feature-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-detail-inner.reverse {
    direction: rtl;
}

.feature-detail-inner.reverse > * {
    direction: ltr;
}

.feature-detail-image {
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.feature-detail-inner.reverse .feature-detail-image {
    transform: translateX(40px);
}

.feature-detail-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-detail-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}

.feature-detail-image-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    background: var(--yellow);
    color: var(--chocolate);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
}

.feature-detail-content {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}

.feature-detail-inner.reverse .feature-detail-content {
    transform: translateX(-40px);
}

.feature-detail-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-detail-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--taupe);
    line-height: 1.6;
}

.feature-detail-list li::before {
    content: '✦';
    color: var(--terracotta);
    font-size: 0.6rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* ============================================================
    TECH SECTION
============================================================ */
.tech-section {
    background: var(--olive);
    color: var(--cream);
    padding: 5rem 4rem;
}

.tech-section .section-label {
    color: var(--yellow);
}

.tech-section .section-label::before {
    background: var(--yellow);
}

.tech-section .section-title {
    color: var(--cream);
}

.tech-section .section-desc {
    color: rgba(253, 250, 245, 0.7);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: rgba(253, 250, 245, 0.08);
    border: 1px solid rgba(253, 250, 245, 0.12);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: background 0.25s, transform 0.25s var(--ease-out);
    opacity: 0;
    transform: translateY(24px);
}

.tech-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-card:hover {
    background: rgba(253, 250, 245, 0.12);
    transform: translateY(-4px);
}

.tech-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tech-card-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.tech-card-desc {
    font-size: 0.875rem;
    color: rgba(253, 250, 245, 0.65);
    line-height: 1.7;
}

/* ============================================================
    SETTINGS SECTION
============================================================ */
.settings-section {
    background: var(--cream-dark);
    padding: 5rem 4rem;
}

.settings-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.settings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.settings-table th {
    background: var(--olive-pale);
    color: var(--olive);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.875rem 1.25rem;
    text-align: left;
    letter-spacing: 0.04em;
}

.settings-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: var(--chocolate);
    border-bottom: 1px solid rgba(44, 24, 16, 0.06);
    vertical-align: top;
}

.settings-table tr:last-child td {
    border-bottom: none;
}

.settings-table td:first-child {
    font-weight: 600;
    color: var(--olive);
    white-space: nowrap;
}

.settings-table td:last-child {
    color: var(--taupe);
}

.settings-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.settings-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.settings-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--font-sans);
}

.pill-olive { background: var(--olive-pale); color: var(--olive); }
.pill-terra { background: var(--terracotta-pale); color: var(--terracotta); }
.pill-yellow { background: var(--yellow-pale); color: #8B6914; border: 1px solid rgba(242, 201, 76, 0.4); }

.settings-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(44, 24, 16, 0.06);
}

.settings-card-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--chocolate);
    margin-bottom: 0.875rem;
}

/* ============================================================
    CTA SECTION
============================================================ */
.cta-section {
    background: var(--cream);
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 92, 58, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--chocolate);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1rem;
    color: var(--taupe);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--chocolate);
    color: var(--cream);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-sans);
    transition: background 0.2s, transform 0.15s var(--ease-out);
    box-shadow: var(--shadow-md);
}

.store-btn:hover {
    background: #1a0e09;
    transform: translateY(-2px);
}

.store-btn:active {
    transform: scale(0.97);
}

.store-btn img {
    width: 120px;
    height: 35px;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--taupe-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ============================================================
    FOOTER
============================================================ */
.footer {
    background: var(--chocolate);
    color: rgba(253, 250, 245, 0.6);
    padding: 1.5rem 4rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-info {
    font-size: 0.8125rem;
    line-height: 1.7;
}

.footer-info a {
    color: rgba(253, 250, 245, 0.6);
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--cream);
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 0.25rem;
}

/* ============================================================
    SCROLL ANIMATIONS
============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
    RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 6rem 2rem 4rem;
        text-align: center;
        min-height: unset;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-image {
        padding-top: 0;
        order: -1;
    }

    .hero-image-frame {
        max-width: 400px;
    }

    .hero-float-card.card-1 { left: 0; }
    .hero-float-card.card-2 { right: 0; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-detail-inner,
    .feature-detail-inner.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    section { padding: 4rem 2rem; }
    .feature-detail { padding: 4rem 2rem; }
    .tech-section { padding: 4rem 2rem; }
    .settings-section { padding: 4rem 2rem; }
    .cta-section { padding: 4rem 2rem; }
    .footer { padding: 1.5rem 2rem; }
}

@media (max-width: 768px) {
    .nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero-inner {
        padding: 5rem 1.25rem 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-title .accent::after {
        transition: transform 0.8s var(--ease-out) 0.5s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}



/* ============================================================
    Terms / Privacy
============================================================ */
.container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 0 2rem;
}

.container section {
    padding: 0;
}

.legal-header {
    margin-bottom: 4rem;
    text-align: center;
}

.legal-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--chocolate);
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--taupe);
    font-size: 0.9rem;
}

.legal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
    border: 1px solid rgba(44, 24, 16, 0.05);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
    padding-bottom: 0.5rem;
}

.legal-section p, .legal-section li {
    font-size: 0.95rem;
    color: var(--chocolate);
    margin-bottom: 0.75rem;
}

.legal-section ul {
    padding-left: 1.25rem;
    list-style-type: none;
}

.legal-section ul li::before {
    content: '•';
    color: var(--terracotta);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
