*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink:        #181d26;
    --primary:    #181d26;
    --primary-active: #0d1218;
    --body-text:  #333840;
    --muted:      #41454d;
    --canvas:     #ffffff;
    --soft:       #f8fafc;
    --strong:     #e0e2e6;
    --dark:       #181d26;
    --hairline:   #dddddd;
    --link:       #1b61c9;
    --coral:      #aa2d00;
    --forest:     #0a2e0e;
    --cream:      #f5e9d4;
    --peach:      #fcab79;
    --mint:       #a8d8c4;
    --yellow:     #f4d35e;
    --on-primary: #ffffff;
    --r-xs: 2px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 12px;
    --sp-xs: 8px;
    --sp-sm: 12px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-xxl: 48px;
    --sp-section: 96px;
    --max-w: 1280px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--body-text); background: var(--canvas); }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl); }

/* TOP NAV */
.top-nav { position: sticky; top: 0; z-index: 100; background: var(--canvas); height: 64px; border-bottom: 1px solid var(--hairline); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl); height: 100%; display: flex; align-items: center; gap: var(--sp-lg); }
.nav-logo { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink); flex-shrink: 0; }
.nav-logo:hover { text-decoration: none; }
.nav-menu { display: flex; gap: var(--sp-lg); margin-left: auto; }
.nav-menu a { font-size: 14px; font-weight: 400; color: var(--body-text); }
.nav-menu a:hover { color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* HERO */
.hero-band { padding: var(--sp-section) 0; background: var(--canvas); }
.hero-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xxl); align-items: center; }
.hero-text h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); }
.hero-text p { font-size: 16px; line-height: 1.6; color: var(--body-text); margin-bottom: var(--sp-xl); max-width: 480px; }
.hero-buttons { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.hero-image { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--primary); color: var(--on-primary); font-size: 16px; font-weight: 500; padding: 16px 24px; border-radius: var(--r-lg); border: none; cursor: pointer; line-height: 1.4; transition: background 0.15s; }
.btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }
.btn-secondary { display: inline-block; background: var(--canvas); color: var(--ink); font-size: 16px; font-weight: 500; padding: 16px 24px; border-radius: var(--r-lg); border: 1px solid var(--hairline); cursor: pointer; line-height: 1.4; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }
.btn-legal { background: var(--link); color: var(--on-primary); font-size: 13px; font-weight: 600; padding: 12px 10px; border-radius: var(--r-xs); border: none; cursor: pointer; line-height: 1.2; }
.btn-legal-reject { background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); }

/* SIGNATURE CARDS */
.signature-coral { background: var(--coral); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.signature-forest { background: var(--forest); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.signature-dark { background: var(--dark); color: var(--on-primary); border-radius: var(--r-lg); padding: var(--sp-xxl); }
.signature-cream { background: var(--cream); color: var(--ink); border-radius: var(--r-md); padding: var(--sp-lg); }

.signature-coral h2,
.signature-forest h2,
.signature-dark h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--on-primary); margin-bottom: var(--sp-md); }
.signature-coral p,
.signature-forest p,
.signature-dark p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-bottom: var(--sp-xl); }
.signature-cream h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-md); }
.signature-cream p { font-size: 14px; line-height: 1.5; color: var(--body-text); margin-bottom: var(--sp-lg); }

.signature-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xxl); align-items: center; }
.signature-with-image img { border-radius: var(--r-md); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* SECTION */
.section { padding: var(--sp-section) 0; }
.section-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: 0.12px; color: var(--ink); margin-bottom: var(--sp-xxl); }
.section-intro { font-size: 16px; line-height: 1.6; color: var(--body-text); max-width: 640px; margin-bottom: var(--sp-xxl); }

/* ARTICLE CARDS */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.article-card { background: var(--canvas); border-radius: var(--r-md); padding: var(--sp-md); border: 1px solid var(--hairline); }
.article-card-thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; margin-bottom: var(--sp-md); }
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-xs); }
.article-card h3 { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-xs); }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--link); text-decoration: none; }
.article-card p { font-size: 14px; line-height: 1.5; color: var(--body-text); }
.article-card-meta { font-size: 14px; font-weight: 500; letter-spacing: 0.16px; color: var(--muted); margin-top: var(--sp-sm); }

/* DEMO GRID */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.demo-card { border-radius: var(--r-md); padding: var(--sp-md); }
.demo-card-peach { background: var(--peach); }
.demo-card-mint { background: var(--mint); }
.demo-card-yellow { background: var(--yellow); }
.demo-card h3 { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-xs); }
.demo-card p { font-size: 14px; line-height: 1.5; color: var(--body-text); }
.demo-card img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: var(--sp-md); }

/* CTA BAND */
.cta-band { background: var(--strong); border-radius: var(--r-lg); padding: var(--sp-xxl); text-align: center; margin: 0 var(--sp-xxl); }
.cta-band h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); }
.cta-band p { font-size: 16px; line-height: 1.6; color: var(--body-text); margin-bottom: var(--sp-xl); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ARTICLE PAGE */
.article-hero { padding: var(--sp-section) 0 var(--sp-xxl); }
.article-hero h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); max-width: 800px; }
.article-hero-meta { font-size: 14px; font-weight: 500; letter-spacing: 0.16px; color: var(--muted); margin-bottom: var(--sp-xxl); }
.article-hero-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/7; margin-bottom: var(--sp-xxl); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; grid-template-columns: 1fr 280px; gap: var(--sp-xxl); align-items: start; }
.article-content { max-width: 720px; }
.article-content h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.35; color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md); }
.article-content h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.5; color: var(--ink); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.article-content p { font-size: 15px; line-height: 1.7; color: var(--body-text); margin-bottom: var(--sp-md); }
.article-content ul { margin-bottom: var(--sp-md); padding-left: var(--sp-lg); list-style: disc; }
.article-content ul li { font-size: 15px; line-height: 1.7; color: var(--body-text); margin-bottom: var(--sp-xs); }
.article-content a { color: var(--link); }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--soft); border-radius: var(--r-md); padding: var(--sp-lg); margin-bottom: var(--sp-lg); }
.sidebar-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-sm); }
.sidebar-card ul li { margin-bottom: var(--sp-xs); }
.sidebar-card ul li a { font-size: 14px; color: var(--link); }
.article-img-inline { border-radius: var(--r-md); overflow: hidden; margin: var(--sp-xxl) 0; }
.article-img-inline img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-img-caption { font-size: 12px; color: var(--muted); margin-top: var(--sp-xs); text-align: center; }

/* BREADCRUMB */
.breadcrumb { padding: var(--sp-md) 0 0; }
.breadcrumb ol { display: flex; gap: var(--sp-xs); align-items: center; flex-wrap: wrap; }
.breadcrumb li { font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: var(--sp-xs); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); text-decoration: none; }

/* PAGE (about/privacy/terms) */
.page-hero { padding: var(--sp-section) 0 var(--sp-xxl); }
.page-hero h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); }
.page-content { max-width: 800px; padding-bottom: var(--sp-section); }
.page-content h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md); }
.page-content h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.page-content p { font-size: 15px; line-height: 1.7; color: var(--body-text); margin-bottom: var(--sp-md); }
.page-content ul { padding-left: var(--sp-lg); list-style: disc; margin-bottom: var(--sp-md); }
.page-content ul li { font-size: 15px; line-height: 1.7; color: var(--body-text); margin-bottom: var(--sp-xs); }
.page-content a { color: var(--link); }

/* CONTACT FORM */
.contact-form { background: var(--soft); border-radius: var(--r-md); padding: var(--sp-xl); max-width: 560px; margin-top: var(--sp-xxl); }
.contact-form h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-lg); }
.form-group { margin-bottom: var(--sp-md); }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.form-group input, .form-group textarea { width: 100%; background: var(--canvas); color: var(--ink); font-size: 14px; font-family: var(--font); border-radius: var(--r-sm); padding: 12px 16px; height: 44px; border: 1px solid var(--hairline); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: #458fff; }
.form-group textarea { height: 100px; resize: vertical; }
.form-disclaimer { font-size: 12px; color: var(--muted); margin-top: var(--sp-sm); }

/* COOKIE BANNER */
.cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: var(--on-primary); z-index: 200; }
.cookie-banner.visible { display: block; }
.cookie-inner { max-width: var(--max-w); margin: 0 auto; padding: var(--sp-md) var(--sp-xxl); display: flex; align-items: center; gap: var(--sp-lg); flex-wrap: wrap; }
.cookie-inner p { font-size: 13px; line-height: 1.5; flex: 1; }
.cookie-inner a { color: #89b4fa; }
.cookie-actions { display: flex; gap: var(--sp-xs); flex-shrink: 0; }

/* FOOTER */
.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--sp-section) 0 var(--sp-xl); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--sp-xl); margin-bottom: var(--sp-xxl); }
.footer-col strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-md); }
.footer-col p, .footer-col address p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: var(--sp-xs); }
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--link); text-decoration: none; }
.footer-col address a { color: var(--muted); }
.footer-legal { border-top: 1px solid var(--hairline); padding-top: var(--sp-lg); }
.footer-legal p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: var(--sp-xs); }
.footer-legal a { color: var(--muted); }

/* SURFACE BAND */
.surface-soft { background: var(--soft); }
.surface-strong { background: var(--strong); }

/* TAGS */
.tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* RELATED ARTICLES */
.related-section { padding: var(--sp-section) 0; border-top: 1px solid var(--hairline); margin-top: var(--sp-section); }
.related-section .section-title { margin-bottom: var(--sp-xl); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container { padding: 0 var(--sp-xl); }
    .nav-inner { padding: 0 var(--sp-xl); }
    .footer-inner { padding: 0 var(--sp-xl); }
    .cta-band { margin: 0 var(--sp-xl); }
    .hero-band .container { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 32px; }
    .hero-image { display: none; }
    .article-body { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .signature-with-image { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--sp-md); }
    .nav-inner { padding: 0 var(--sp-md); }
    .footer-inner { padding: 0 var(--sp-md); }
    .cta-band { margin: 0 var(--sp-md); padding: var(--sp-xl); }
    .nav-menu { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); padding: var(--sp-xl); gap: var(--sp-lg); overflow-y: auto; }
    .nav-menu.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero-band { padding: 64px 0 var(--sp-xxl); }
    .hero-text h1 { font-size: 28px; }
    .section { padding: 64px 0; }
    .article-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .signature-coral, .signature-forest, .signature-dark { padding: var(--sp-xl); }
    .signature-coral h2, .signature-forest h2, .signature-dark h2 { font-size: 24px; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .article-hero h1 { font-size: 28px; }
}
