/* Explain: Unified design layer for RTN Express branding and layout. */
/* RTN Express — unified flat design layer.
   Solid ink surfaces, vivid orange actions, white cards on warm peach bands,
   large readable text, generous spacing and 14px corners. */

:root {
    --radius-card: 14px;
    --radius-control: 14px;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.85;
    overflow-x: hidden;
}

main,
header,
footer {
    max-width: 100%;
}

/* Header stays a solid ink bar — no translucency, no blur */
.site-header,
.site-header.is-scrolled {
    background: #1E1E1E;
    border-bottom: 1px solid #3A3A3A;
    box-shadow: 0 12px 30px rgba(30, 30, 30, 0.28);
    backdrop-filter: none;
}

/* Flat surfaces replace any glass or transparent panel */
.glass-panel {
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.rating-card,
.stat-tile {
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.stat-tile {
    padding: 1.25rem;
}

/* Large card and panel corner utilities unified to 14px */
[class~="rounded-[2rem]"],
[class~="rounded-[1.75rem]"],
[class~="rounded-[1.5rem]"],
[class~="rounded-[1.25rem]"],
[class~="rounded-3xl"],
[class~="rounded-2xl"],
[class~="rounded-xl"] {
    border-radius: var(--radius-card);
}

/* Buttons — flat, orange, pill shaped and comfortable to tap */
.rtn-btn-primary,
.rtn-btn-ghost,
.rtn-btn-whatsapp,
.rtn-btn-outline,
.btn.rounded-full {
    border-radius: 999px;
    min-height: 50px;
    font-weight: 900;
}

.rtn-btn-primary {
    background: var(--accent-color);
    color: var(--night-color);
}

.rtn-btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: transparent;
}

.map-target-btn,
.city-pick,
.timing-pill {
    border-radius: var(--radius-control);
}

/* Form controls — at least 46px tall on a clean white surface */
.input,
.select,
.textarea {
    min-height: 46px;
    border-radius: var(--radius-control);
    border: 1px solid var(--border-color);
    background: var(--surface-color) !important;
    color: var(--text-color) !important;
}

.input::placeholder,
.textarea::placeholder {
    color: rgba(30, 30, 30, 0.45) !important;
}

/* White cards sitting on a peach band get a soft edge */
.bg-\[var\(--surface-color\)\] .rating-card,
.bg-\[var\(--background-color\)\] .rating-card {
    box-shadow: 0 10px 26px rgba(30, 30, 30, 0.06);
}

/* Installation guide page */
.platform-icon {
    display: grid;
    height: 3rem;
    width: 3rem;
    place-items: center;
    border-radius: var(--radius-card);
}

.platform-android {
    background: #3ddc84;
    color: #05301a;
}

.platform-apple {
    background: #1f2937;
    color: #ffffff;
}

.step-index {
    display: grid;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

.easy-badge,
.manual-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.easy-badge {
    background: var(--accent-color);
    color: var(--night-color);
}

.manual-badge {
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-muted);
}

/* Typography — narrow, tall headlines and roomy, boldly-set running text
   applied consistently across every page. */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.75rem);
}

h2 {
    font-size: clamp(1.9rem, 4.8vw, 3.5rem);
}

h3 {
    font-size: clamp(1.4rem, 2.7vw, 2.1rem);
    line-height: 1.2;
}

h4,
h5,
h6 {
    font-size: 1.3rem;
    line-height: 1.3;
}