:root {
    --bg: #FAFAF9;
    --text: #1C1917;
    --muted: #78716C;
    --accent: #F97316;
    --accent-hover: #EA580C;
    --card-bg: #FFFFFF;
    --border: #E7E5E4;
    --section-bg: #F5F5F4;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.header {
    padding: 1.25rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(250,250,249,0.92);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.header-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-links a:hover {
    color: var(--text);
}

.header-links a.active {
    color: var(--text);
}

/* ---- App Store Button ---- */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.2s, background 0.2s;
}

.app-store-btn:hover {
    transform: scale(1.03);
    background: #292524;
}

.app-store-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.app-store-btn .btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-store-btn .btn-label {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.85;
}

.app-store-btn .btn-store {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---- Page Container (for inner pages) ---- */
.page-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem 2rem 5rem;
}

.page-container h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-date {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-top: none;
    border-bottom: 1px solid var(--border);
}

.page-intro {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.section {
    margin-bottom: 2.25rem;
}

.section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.section p {
    color: #44403C;
    margin-bottom: 1rem;
    font-size: 0.975rem;
}

.section ul {
    padding-left: 1.25rem;
    margin: 0.75rem 0 1rem;
}

.section li {
    color: #44403C;
    font-size: 0.975rem;
    margin-bottom: 0.4rem;
}

.highlight-box {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
    border-left: 3px solid var(--accent);
}

.highlight-box p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.data-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.data-card .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.data-card .value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

.badge {
    display: inline-block;
    background: #FFF7ED;
    color: #EA580C;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-top: 0.35rem;
}

/* ---- Contact Card ---- */
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .page-container { padding: 7rem 1.25rem 3rem; }
    .page-container h1 { font-size: 1.75rem; }
    .data-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .header-links { gap: 1.25rem; }
}
