:root {
    --navy: #0c1b33;
    --primary: #13294b;
    --primary-hover: #1d3b6b;
    --accent: #b45309;
    --accent-bright: #d97706;
    --ink: #0f172a;
    --ink-body: #334155;
    --muted: #64748b;
    --paper: #f7f8fa;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-body);
    background: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

.guide-header {
    position: relative;
    color: var(--white);
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-orbit {
    display: none;
}

.guide-nav {
    width: min(1120px, calc(100% - 3rem));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.guide-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.guide-brand span {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
}

.guide-back {
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.guide-back:hover {
    color: var(--white);
}

.guide-hero {
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 4.5rem 0 5rem;
}

.guide-eyebrow {
    margin: 0 0 0.7rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-header .guide-eyebrow,
.resolution-section .guide-eyebrow {
    color: #e2b866;
}

.guide-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.guide-motto {
    margin: 1.15rem 0 2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.guide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.guide-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.guide-container {
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
}

.guide-intro,
.guide-section {
    padding: 4.5rem 0;
}

.guide-intro {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.guide-intro h2,
.section-marker h2,
.section-heading h2,
.resolution-content h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
}

.guide-intro > .guide-container > p:not(.guide-eyebrow),
.section-marker p:not(.guide-eyebrow),
.section-heading p:not(.guide-eyebrow) {
    max-width: 620px;
    color: var(--muted);
    margin: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.value-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.value-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.value-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
}

.value-card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ink-body);
}

.guide-split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

.guideline-list {
    display: grid;
    gap: 1rem;
}

.guideline-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.35rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.guideline-item > span {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary);
    padding-top: 0.15rem;
}

.guideline-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
}

.guideline-item p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ink-body);
}

.traditions-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tradition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.tradition-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.tradition-card > span {
    display: inline-block;
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.tradition-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
}

.tradition-card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ink-body);
}

.resolution-section {
    background: var(--primary);
    color: var(--white);
}

.resolution-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.resolution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.resolution-grid article {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 1.5rem;
}

.resolution-grid span {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e2b866;
    margin-bottom: 0.5rem;
}

.resolution-grid h3 {
    color: var(--white);
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.resolution-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
}

.guide-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding: 1.75rem 0;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-footer .guide-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.guide-footer p {
    margin: 0;
}

.guide-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 820px) {
    .guide-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
