/* ==========================================
   SouvenirBird Landing Page Styles
   ==========================================
   Minimalist, warm, calm design
   Mint accents, plenty of whitespace
   ========================================== */

/* Inter – locally hosted (latin-ext + latin, variable 400–600) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --mint-primary: #7EC4A8;
    --mint-light: #B8E6D5;
    --mint-bg: #F5FDFB;
    --mint-bg-darker: #E8F7F3;
    --gray-dark: #2C3E50;
    --gray-medium: #5A6C7D;
    --gray-light: #E8ECEF;
    --white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 3.5rem;
    --space-xxl: 5rem;
    
    /* Container */
    --container-max: 1200px;
}

/* Typography */
body {
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-dark);
}

h1 {
    font-size: 3.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--mint-bg-darker) 0%, var(--mint-bg) 100%);
    padding: var(--space-xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gray-medium);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 580px;
}

.cta-primary {
    margin-top: var(--space-md);
}

.google-play-button {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.google-play-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.play-badge {
    height: 60px;
    width: auto;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.app-preview {
    max-width: 85%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(126, 196, 168, 0.15));
    border-radius: 20px;
}

/* Description Section */
.description {
    padding: var(--space-lg) 0;
    background-color: var(--white);
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gray-medium);
    font-weight: 300;
}

/* Features Section */
.features {
    padding: var(--space-xl) 0;
    background-color: var(--mint-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.feature {
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(126, 196, 168, 0.15);
}

.feature-icon {
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature h3 {
    color: var(--gray-dark);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.feature p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Bird Illustration Section */
.bird-section {
    padding: var(--space-md) 0 var(--space-lg) 0;
    background-color: var(--white);
}

.bird-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.bird-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    opacity: 0.7;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: var(--space-lg) 0 var(--space-md) 0;
    text-align: center;
    border-top: 1px solid var(--gray-light);
}

.footer-birds {
    margin-bottom: var(--space-sm);
}

.footer-birds img {
    max-width: 260px;
    width: 100%;
    height: auto;
    opacity: 0.85;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--mint-primary);
    margin-bottom: var(--space-sm);
    font-style: italic;
    font-weight: 300;
}

.footer-links {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--mint-primary);
}

.separator {
    margin: 0 var(--space-sm);
    color: var(--gray-light);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin: 0;
}

.footer-copyright a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: var(--gray-medium);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --space-xl: 2.5rem;
        --space-xxl: 3.5rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--space-md);
    }
}

@media (max-width: 640px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 2rem;
        --space-xxl: 2.5rem;
    }
    
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: var(--space-md) 0;
        min-height: auto;
    }
    
    .play-badge {
        height: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: var(--space-md);
    }
    
    .bird-img {
        max-width: 220px;
    }
}

/* ==========================================
   Site Navigation
   ========================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-light);
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.site-nav-logo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-dark);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.site-nav-logo:hover {
    color: var(--mint-primary);
}

.site-nav-links {
    list-style: none;
    display: flex;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.site-nav-links a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
    color: var(--mint-primary);
}

/* ==========================================
   Hub Landing Page
   ========================================== */

.hub-hero {
    background: linear-gradient(135deg, var(--mint-bg-darker) 0%, var(--mint-bg) 100%);
    padding: var(--space-xl) 0 var(--space-lg) 0;
    text-align: center;
}

.hub-hero-image {
    margin-top: var(--space-md);
}

.hub-hero-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.hub-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--space-xs);
}

.hub-hero .subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    font-weight: 300;
    max-width: 520px;
    margin: 0 auto;
}

.hub-apps {
    padding: var(--space-xl) 0 var(--space-xxl) 0;
    background-color: var(--white);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.app-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.app-card:not(.placeholder):hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(126, 196, 168, 0.2);
    border-color: var(--mint-light);
}

.app-card.placeholder {
    opacity: 0.45;
    cursor: default;
}

.app-card-icon {
    width: 88px;
    height: 88px;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-icon {
    background-color: var(--mint-bg);
    border-radius: 50%;
}

.app-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--gray-dark);
}

.app-card p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0;
}

.app-card-status {
    display: inline-block;
    margin-top: var(--space-sm);
    padding: 0.25em 0.9em;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-card-status.live {
    background-color: var(--mint-bg-darker);
    color: var(--mint-primary);
}

.app-card-status.soon {
    background-color: var(--gray-light);
    color: var(--gray-medium);
}

@media (max-width: 640px) {
    .hub-hero h1 {
        font-size: 2.2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Story Sections
   ========================================== */

.story-section {
    padding: var(--space-lg) 0;
    text-align: center;
}

.story-section .container {
    max-width: 520px;
}

.story-origin {
    background-color: var(--mint-bg);
    padding: var(--space-lg) 0;
    text-align: left;
}

.story-origin-container {
    max-width: 560px;
    margin: 0 auto;
}

.story-flock {
    background-color: var(--mint-bg);
}

.story-philosophy {
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
}

.story-parenthood {
    background-color: var(--mint-bg);
}

.story-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint-primary);
    margin-bottom: var(--space-sm);
}

.story-text {
    font-size: 0.95rem;
    color: var(--gray-medium);
    font-weight: 300;
    line-height: 2;
    font-style: italic;
    opacity: 0.8;
    margin: 0;
}

.story-roles {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.story-roles-line {
    font-size: 0.95rem;
    color: var(--gray-medium);
    font-weight: 400;
    line-height: 1.9;
    opacity: 0.85;
    margin: 0;
}

.story-roles-bird {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 300;
    font-style: italic;
    line-height: 1.9;
    opacity: 0.7;
    margin: 0;
}

.story-roles-closing {
    font-size: 0.95rem;
    color: var(--gray-medium);
    font-weight: 300;
    font-style: italic;
    line-height: 1.9;
    opacity: 0.85;
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.story-read-more {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--mint-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    transition: color 0.2s ease;
}

.story-read-more:hover {
    color: var(--gray-dark);
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--mint-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   Tools Index Page
   ========================================== */

.tools-index {
    padding: var(--space-lg) 0 var(--space-xxl) 0;
}

.tools-section {
    margin-bottom: var(--space-xl);
}

.tools-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-primary);
    margin-bottom: var(--space-xs);
}

.tools-section-intro {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    max-width: 560px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 720px;
}

.app-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    max-width: 960px;
}

.tool-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(126, 196, 168, 0.2);
    border-color: var(--mint-light);
}

.tool-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.tool-card h2,
.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--gray-dark);
}

.tool-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.app-tool-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
}

.app-tool-card .tool-card-icon {
    align-self: center;
}

.app-tool-card h3 {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin: 0;
}

.app-tool-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.app-tool-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: var(--space-sm);
}

.app-tool-available {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-right: 0.1rem;
}

.app-tool-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint-primary);
    text-decoration: none;
    background: rgba(126, 196, 168, 0.1);
    border: 1px solid rgba(126, 196, 168, 0.3);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.app-tool-link:hover {
    background: rgba(126, 196, 168, 0.2);
    border-color: var(--mint-primary);
}

/* Non-clickable badge variant — used inside <a> cards to avoid nested links */
.app-tool-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mint-primary);
    background: rgba(126, 196, 168, 0.1);
    border: 1px solid rgba(126, 196, 168, 0.3);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
}

/* ==========================================
   Shoe Size Calculator
   ========================================== */

.shoesize-back {
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.shoesize-back a {
    color: var(--mint-primary);
    text-decoration: none;
}

.shoesize-back a:hover {
    color: var(--gray-dark);
}

.shoesize-tool {
    padding: var(--space-lg) 0 var(--space-xxl) 0;
}

.shoesize-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: var(--space-lg);
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.shoesize-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-medium);
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}

/* Unit toggle */
.shoesize-unit-group {
    border: none;
    padding: 0;
    margin: 0;
}

.shoesize-unit-toggle {
    display: flex;
    gap: 0.5rem;
}

.shoesize-unit-option {
    cursor: pointer;
}

.shoesize-unit-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.shoesize-unit-option span {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    border: 1.5px solid var(--gray-light);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-medium);
    background: var(--white);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    cursor: pointer;
    user-select: none;
}

.shoesize-unit-option input:checked + span {
    border-color: var(--mint-primary);
    color: var(--mint-primary);
    background: var(--mint-bg);
}

.shoesize-unit-option input:focus-visible + span {
    outline: 2px solid var(--mint-primary);
    outline-offset: 2px;
}

/* Input row */
.shoesize-input-group {
    display: flex;
    flex-direction: column;
}

.shoesize-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shoesize-input {
    width: 140px;
    padding: 0.55rem 0.85rem;
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: var(--font-main);
    color: var(--gray-dark);
    background: var(--white);
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}

.shoesize-input::-webkit-inner-spin-button,
.shoesize-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shoesize-input:focus {
    outline: none;
    border-color: var(--mint-primary);
}

.shoesize-unit-display {
    font-size: 1rem;
    color: var(--gray-medium);
    font-weight: 500;
    min-width: 2rem;
}

/* Button */
.shoesize-btn {
    align-self: flex-start;
    background: var(--mint-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.6rem;
    font-size: 1rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.shoesize-btn:hover {
    background: #6ab898;
    transform: translateY(-1px);
}

.shoesize-btn:active {
    transform: translateY(0);
}

/* Result */
.shoesize-result {
    flex-direction: column;
    gap: 0.75rem;
}

.shoesize-result:not(.is-hidden) {
    display: flex;
}

.shoesize-result-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-medium);
    margin: 0;
}

.shoesize-sizes {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.size-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mint-bg);
    border: 1.5px solid var(--mint-light);
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    min-width: 72px;
}

.size-chip-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint-primary);
    margin-bottom: 0.2rem;
}

.size-chip-value {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.2;
}

.shoesize-error {
    color: #c0392b;
    font-size: 0.95rem;
    margin: 0;
    padding: 0.6rem 0.9rem;
    background: #fdf2f2;
    border-radius: 8px;
    border: 1px solid #f5c6c6;
}

/* Utility: JS-toggled visibility */
.is-hidden {
    display: none !important;
}

/* Note & How-to */
.shoesize-note {
    max-width: 480px;
    margin: var(--space-md) auto 0;
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

.shoesize-howto {
    max-width: 480px;
    margin: var(--space-md) auto 0;
    padding: var(--space-md);
    background: var(--mint-bg);
    border-radius: 16px;
}

.shoesize-howto-headline {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.shoesize-howto-text {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.7;
    margin: 0;
}

.shoesize-chart {
    max-width: 480px;
    margin: var(--space-md) auto 0;
}

.shoesize-chart-headline {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--gray-dark);
}

.shoesize-chart-intro {
    font-size: 0.875rem;
    color: var(--gray-medium);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.shoesize-chart-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
}

.shoesize-chart-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.shoesize-chart-wrap thead th {
    background: var(--mint-bg-darker);
    padding: 0.5rem 0.75rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
    white-space: nowrap;
}

.shoesize-chart-wrap tbody td {
    padding: 0.375rem 0.75rem;
    text-align: center;
    color: var(--gray-medium);
    border-bottom: 1px solid var(--gray-light);
}

.shoesize-chart-wrap tbody tr:last-child td {
    border-bottom: none;
}

.shoesize-chart-wrap tbody tr:nth-child(even) {
    background: var(--mint-bg);
}

.shoesize-chart-eu {
    font-weight: 600;
    color: var(--gray-dark) !important;
}

.shoesize-chart-note {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .shoesize-card {
        padding: var(--space-md);
    }

    .size-chip-value {
        font-size: 1.4rem;
    }
}

/* ==========================================
   Clothes Size Converter
   ========================================== */

/* Custom styled <select> — cross-browser, no extra library needed */
.clothessize-select {
    width: 100%;
    padding: 0.55rem 2.5rem 0.55rem 0.85rem;
    border: 1.5px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: var(--font-main);
    color: var(--gray-dark);
    background-color: var(--white);
    /* Hide native arrow on Webkit/Blink, keep on Firefox for accessibility */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* SVG chevron-down in mint-medium gray */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6C7D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    transition: border-color 0.15s;
}

.clothessize-select:focus {
    outline: none;
    border-color: var(--mint-primary);
}

.clothessize-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Chip value font — 4 chips need to be slightly smaller to stay on one row */
.clothessize-chip-value {
    font-size: 1.25rem !important;
}

@media (max-width: 640px) {
    .clothessize-chip-value {
        font-size: 1.1rem !important;
    }
}


/* ==========================================
   Tools Teaser (homepage)
   ========================================== */

.tools-teaser-section {
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
    padding: var(--space-lg) 0;
    text-align: center;
}

.tools-teaser-container {
    max-width: 520px;
    margin: 0 auto;
}

.tools-teaser-text {
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.7;
    margin: 0 0 var(--space-md);
}

.tools-teaser-cta {
    display: inline-block;
    background: var(--mint-primary);
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s, transform 0.15s;
}

.tools-teaser-cta:hover {
    background: #6ab898;
    transform: translateY(-1px);
}

/* ==========================================
   FAQ Page
   ========================================== */

.faq-list {
    max-width: 680px;
    margin: var(--space-lg) auto var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.15s;
}

.faq-item[open] {
    border-color: var(--mint-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-dark);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--mint-primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid var(--gray-light);
}