@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --ink: #0b1621;
    --ink-2: #162636;
    --paper: #f6f1e9;
    --mist: #e4e8ef;
    --accent: #ff6b3d;
    --accent-2: #f7c948;
    --shadow: 0 18px 40px rgba(10, 20, 30, 0.18);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, #fff3df 0%, #f7eee2 35%, #f0f4f8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    max-width: 100%;
}

.bg-orb {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    max-width: 100vw;
}

.orb-one {
    top: -200px;
    left: -120px;
    background: #ffd1b3;
}

.orb-two {
    bottom: -220px;
    right: -140px;
    background: #bfe4ff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(246, 241, 233, 0.85);
    border-bottom: 1px solid rgba(22, 38, 54, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(22, 38, 54, 0.15);
    box-shadow: 0 8px 16px rgba(10, 20, 30, 0.15);
}

.logo-text {
    line-height: 1;
}

.nav {
    display: flex;
    gap: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a {
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    border-bottom-color: var(--accent);
}

.nav a.active {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(22, 38, 54, 0.12);
    box-shadow: 0 10px 24px rgba(12, 22, 33, 0.08);
}

.menu-toggle {
    display: none;
    align-items: center;
    border: 1px solid rgba(22, 38, 54, 0.12);
    background: #fff;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(12, 22, 33, 0.08);
}

.menu-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 12px 0 18px;
    border-top: 1px solid rgba(22, 38, 54, 0.08);
    background: rgba(246, 241, 233, 0.96);
    backdrop-filter: blur(10px);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-nav {
    display: grid;
    gap: 12px;
    padding: 0 4vw;
}

.mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(12, 22, 33, 0.08);
    font-weight: 600;
}

.mobile-nav a.active {
    border: 1px solid rgba(255, 107, 61, 0.4);
    color: var(--accent);
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 190px;
}

.header-search button {
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    padding: 0;
    font-weight: 600;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

.search-submit-icon {
    width: 17px;
    height: 17px;
}

.search-popup {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 40;
    border: 1px solid rgba(22, 38, 54, 0.14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 34px rgba(12, 22, 33, 0.16);
    padding: 6px;
    max-height: 340px;
    overflow-y: auto;
}

.search-popup[hidden] {
    display: none;
}

.search-popup-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.search-popup-item:hover,
.search-popup-item.is-active {
    background: #fff4ef;
    border-color: #ffd6c8;
}

.search-popup-title {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: #172b3f;
}

.search-popup-meta {
    display: block;
    color: #516273;
    font-size: 0.78rem;
    margin-top: 2px;
}

.search-popup-summary {
    display: block;
    color: #465869;
    font-size: 0.84rem;
    margin-top: 4px;
    line-height: 1.35;
}

.search-popup-note {
    padding: 10px 12px;
    color: #5b6b7d;
    font-size: 0.84rem;
}

.search-popup-view-all {
    display: block;
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--accent);
}

.search-popup-view-all:hover {
    background: #fff4ef;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(255, 107, 61, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(255, 107, 61, 0.35);
}

.button.small {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.button.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(22, 38, 54, 0.2);
    box-shadow: none;
}

.button.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero {
    padding: 80px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin: 10px 0 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-2);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #324255;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 24px 0 28px;
    flex-wrap: wrap;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.stat-value {
    font-weight: 600;
    color: var(--ink);
}

.stat-label {
    font-size: 0.85rem;
    color: #546376;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.featured-stack {
    width: min(100%, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.featured-avatar {
    width: min(78%, 360px);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(10, 20, 30, 0.25);
}

.featured-card {
    width: 100%;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #172b3f 0%, #0d1f30 100%);
    color: #f4f5f7;
    box-shadow: var(--shadow);
}

.featured-card h2 {
    font-family: 'Fraunces', serif;
    margin: 12px 0;
}

.featured-card .meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 16px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.pill.ghost {
    background: rgba(13, 22, 33, 0.08);
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 12px;
}

.section {
    padding: 70px 0;
}

.page-hero {
    padding-top: 60px;
    padding-bottom: 30px;
}

.section.alt {
    background: rgba(255, 255, 255, 0.7);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}


.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 8px;
}

.section-subtitle {
    color: #4b5a6b;
    margin: 0;
}

.search-summary {
    margin-top: 12px;
    color: #4b5a6b;
}

.result-section {
    margin-top: 32px;
}

.result-section .section-title {
    margin-bottom: 16px;
}

.updates-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.resource-card,
.about-card,
.contact-card {
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.update-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(173, 193, 215, 0.62);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 249, 255, 0.95) 100%);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.update-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 128, 84, 0.95), rgba(120, 195, 255, 0.9));
    pointer-events: none;
}

.update-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 159, 188, 0.75);
    box-shadow:
        0 20px 36px rgba(15, 29, 44, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.94) inset;
}

.update-card h3,
.resource-card h3,
.about-card h3,
.contact-card h3 {
    margin: 12px 0;
}

.update-card h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.1rem, 2.1vw, 1.32rem);
    line-height: 1.35;
    letter-spacing: 0.1px;
}

.update-card p {
    margin: 0;
}

.update-card .pill {
    background: rgba(255, 107, 61, 0.14);
    color: #9d4e2f;
    border: 1px solid rgba(255, 107, 61, 0.28);
    letter-spacing: 0.1em;
    font-weight: 700;
}

.update-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #5c6b7a;
}

.update-meta time {
    font-weight: 600;
    color: #56687a;
}

.update-card .text-link {
    margin-top: auto;
}

.update-card .tag-row {
    margin-top: 2px;
}

.update-card .tag {
    background: #edf4fb;
    border: 1px solid #d3e1ef;
    color: #2f4b68;
}

details {
    margin-top: 12px;
}

details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--accent);
}

.preserve-format {
    white-space: pre-wrap;
    line-height: 1.65;
}

.text-link-button {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: color 0.2s ease;
}

.text-link-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.text-link-button:hover {
    color: #d94f25;
}

.text-link-button:hover::after {
    transform: scaleX(1);
}

.text-link-button:focus-visible {
    outline: 2px solid rgba(255, 107, 61, 0.42);
    outline-offset: 4px;
    border-radius: 6px;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

.steps-modal {
    --modal-ink: #24364a;
    --modal-muted: #5d7086;
    --modal-border: rgba(203, 186, 161, 0.58);
    --modal-strip: linear-gradient(90deg, #ffb66c 0%, #ffd9ad 48%, #d3e7ff 100%);
    --modal-surface: radial-gradient(circle at top right, #fff3df 0%, #f7eee2 35%, #f0f4f8 100%);
    --modal-head: linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(244, 238, 228, 0.7));
    --modal-panel: linear-gradient(180deg, rgba(255, 253, 247, 0.56), rgba(240, 244, 248, 0.52));
    --modal-button-border: #c8b8a2;
    --modal-button-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 237, 224, 0.76));
    --modal-button-ink: #32485f;
    --modal-fade-duration: 0.24s;
    --modal-pop-duration: 0.28s;
    --modal-pop-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: clamp(14px, 2vw, 28px);
}

.steps-modal[data-theme='minimal'] {
    --modal-ink: #1f2f41;
    --modal-muted: #5b6d80;
    --modal-border: rgba(190, 202, 218, 0.78);
    --modal-strip: linear-gradient(90deg, #dce8f6 0%, #eef4fb 100%);
    --modal-surface: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    --modal-head: linear-gradient(180deg, rgba(244, 248, 253, 0.96), rgba(254, 255, 255, 0.96));
    --modal-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 255, 0.94));
    --modal-button-border: #c1cfdf;
    --modal-button-bg: linear-gradient(180deg, #ffffff, #f1f7ff);
    --modal-button-ink: #2f4762;
}

.steps-modal[data-theme='glass'] {
    --modal-ink: #eef5ff;
    --modal-muted: #d8e7fb;
    --modal-border: rgba(179, 214, 255, 0.46);
    --modal-strip: linear-gradient(90deg, rgba(180, 227, 255, 0.88), rgba(255, 214, 172, 0.82));
    --modal-surface: linear-gradient(140deg, rgba(33, 53, 78, 0.62), rgba(29, 41, 62, 0.66));
    --modal-head: linear-gradient(180deg, rgba(200, 225, 255, 0.16), rgba(232, 245, 255, 0.08));
    --modal-panel: linear-gradient(180deg, rgba(242, 248, 255, 0.08), rgba(226, 238, 255, 0.06));
    --modal-button-border: rgba(185, 218, 255, 0.45);
    --modal-button-bg: linear-gradient(180deg, rgba(224, 238, 255, 0.2), rgba(208, 229, 255, 0.12));
    --modal-button-ink: #f4f9ff;
}

.steps-modal[hidden] {
    display: none;
}

.steps-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 24, 0.62);
    backdrop-filter: blur(6px);
    animation: steps-modal-fade var(--modal-fade-duration) ease;
}

.steps-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(820px, 96vw);
    max-height: min(84vh, 760px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--modal-border);
    background: var(--modal-surface);
    color: var(--modal-ink);
    box-shadow:
        0 28px 70px rgba(15, 28, 46, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.82) inset;
    animation: steps-modal-pop var(--modal-pop-duration) var(--modal-pop-ease);
}

.steps-modal-strip {
    height: 4px;
    background: var(--modal-strip);
}

.steps-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(183, 169, 147, 0.4);
    background: var(--modal-head);
    position: relative;
    z-index: 2;
}

.steps-modal-title-wrap {
    display: grid;
    gap: 4px;
}

.steps-modal-kicker {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--modal-muted);
    font-weight: 700;
}

.steps-modal-head h3 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    letter-spacing: 0.2px;
    color: var(--modal-ink);
}

.steps-modal-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.steps-modal-presets {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.steps-chip {
    border: 1px solid rgba(167, 184, 204, 0.58);
    background: rgba(255, 255, 255, 0.62);
    color: #344c65;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.steps-modal[data-theme='glass'] .steps-chip {
    border-color: rgba(183, 218, 255, 0.45);
    background: rgba(220, 236, 255, 0.16);
    color: #f2f7ff;
}

.steps-chip:hover {
    transform: translateY(-1px);
    border-color: #96adca;
}

.steps-chip.is-active {
    background: #273f5c;
    color: #f2f8ff;
    border-color: #273f5c;
}

.steps-modal[data-theme='glass'] .steps-chip.is-active {
    background: rgba(214, 232, 255, 0.24);
    border-color: rgba(214, 232, 255, 0.72);
    color: #ffffff;
}

.steps-modal-close {
    border: 1px solid var(--modal-button-border);
    border-radius: 999px;
    background: var(--modal-button-bg);
    color: var(--modal-button-ink);
    padding: 7px 13px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.steps-modal-close:hover {
    border-color: #b79b76;
    box-shadow: 0 8px 18px rgba(35, 60, 90, 0.16);
    transform: translateY(-1px);
}

.steps-modal-close:focus-visible {
    outline: 2px solid rgba(255, 107, 61, 0.42);
    outline-offset: 3px;
}

.steps-modal-layout {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    min-height: 0;
    height: 100%;
    overflow: hidden;
    align-items: stretch;
}

.steps-modal-side {
    padding: 16px 16px 20px 18px;
    border-right: 1px solid rgba(179, 192, 209, 0.42);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow: auto;
    scrollbar-gutter: stable;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(240, 246, 255, 0.28));
}

.steps-meta-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
    margin: 0;
    font-size: 0.86rem;
}

.steps-meta-grid p {
    margin: 0;
}

.steps-meta-label {
    color: var(--modal-muted);
    font-weight: 600;
}

.steps-modal-summary {
    margin: 0;
    color: var(--modal-ink);
    font-size: 0.9rem;
    line-height: 1.55;
}

.steps-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.steps-modal-tag {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(36, 64, 97, 0.1);
    color: #29425e;
    font-size: 0.74rem;
    font-weight: 600;
}

.steps-modal[data-theme='glass'] .steps-modal-tag {
    background: rgba(214, 231, 255, 0.2);
    color: #f5f9ff;
}

.steps-modal-tag.empty {
    opacity: 0.8;
}

.steps-modal-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.steps-action-btn {
    border: 1px solid #b4c3d5;
    background: linear-gradient(180deg, #ffffff, #f0f6ff);
    color: #27405b;
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.steps-modal[data-theme='glass'] .steps-action-btn {
    border-color: rgba(191, 220, 255, 0.45);
    background: linear-gradient(180deg, rgba(234, 246, 255, 0.2), rgba(210, 230, 255, 0.14));
    color: #f4f9ff;
}

.steps-action-btn:hover {
    transform: translateY(-1px);
    border-color: #8aa4c1;
    box-shadow: 0 8px 14px rgba(27, 49, 74, 0.14);
}

.steps-action-btn.ghost {
    background: transparent;
}

.steps-copy-feedback {
    margin: 2px 0 0;
    min-height: 1.1em;
    font-size: 0.76rem;
    color: var(--modal-muted);
    font-weight: 600;
}

.steps-modal-main {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.steps-modal-body {
    padding: 18px 22px 22px;
    color: var(--modal-ink);
    font-size: 1rem;
    line-height: 1.8;
    text-wrap: pretty;
    height: 100%;
    min-height: 0;
    overflow: auto;
    max-height: none;
    scrollbar-gutter: stable;
    background: var(--modal-panel);
}

.steps-content {
    display: grid;
    gap: 12px;
}

.steps-section {
    border: 1px solid rgba(176, 193, 214, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
    padding: 13px 14px;
    display: grid;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(38, 58, 82, 0.08);
}

.steps-modal[data-theme='glass'] .steps-section {
    background: rgba(236, 247, 255, 0.08);
    border-color: rgba(186, 216, 255, 0.35);
}

.steps-section-title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-family: 'Fraunces', serif;
}

.steps-paragraph {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.steps-list {
    margin: 2px 0 0;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.steps-list li {
    line-height: 1.72;
}

.steps-list li::marker {
    color: #d46d38;
    font-weight: 700;
}

.steps-more-btn {
    margin-top: 2px;
    border: 1px dashed rgba(140, 160, 184, 0.85);
    background: rgba(255, 255, 255, 0.6);
    color: #2a4460;
    padding: 7px 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
}

.steps-modal[data-theme='glass'] .steps-more-btn {
    border-color: rgba(194, 221, 255, 0.46);
    background: rgba(235, 246, 255, 0.12);
    color: #f4f8ff;
}

.steps-modal[data-theme='glass'] .steps-list li::marker {
    color: #ffd8b0;
}

.steps-modal[data-motion='snappy'] {
    --modal-fade-duration: 0.12s;
    --modal-pop-duration: 0.18s;
    --modal-pop-ease: cubic-bezier(0.24, 0.84, 0.35, 1);
}

.steps-modal[data-motion='smooth'] {
    --modal-fade-duration: 0.26s;
    --modal-pop-duration: 0.34s;
    --modal-pop-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

@keyframes steps-modal-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes steps-modal-pop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    font-size: 0.75rem;
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: start;
}

.about-card {
    background: linear-gradient(160deg, #fff 0%, #f7f7f9 100%);
}

.list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}

.list li {
    padding-left: 18px;
    position: relative;
}

.list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}

.contact {
    background: linear-gradient(130deg, #0f1c2b 0%, #10273c 100%);
    color: #f5f6f8;
}

.contact a {
    color: #fff;
    text-decoration: underline;
}

.contact-card {
    background: #fff;
    color: var(--ink);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #d5dbe3;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-note {
    font-size: 0.8rem;
    color: #667587;
}

.site-footer {
    padding: 24px 0 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #5d6c7c;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin {
    background: linear-gradient(150deg, #f7f2ea 0%, #f0f4f8 100%);
}

.admin-container {
    padding: 60px 0 80px;
    display: grid;
    gap: 24px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.alert {
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
}

.alert.success {
    background: #e7f7ef;
    color: #0f5132;
}

.alert.error {
    background: #fdecea;
    color: #842029;
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }
    .logo {
        order: 1;
    }
    .menu-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }
    .mobile-menu {
        display: block;
    }
    .logo-image {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .header-search {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }
    .header-search input {
        width: 100%;
    }
    .hero {
        padding-top: 40px;
    }
    .featured-avatar {
        width: min(78%, 280px);
    }
    .steps-modal {
        padding: 10px;
    }
    .steps-modal-dialog {
        width: calc(100vw - 20px);
        max-height: 92vh;
        border-radius: 16px;
    }
    .steps-modal-strip {
        height: 3px;
    }
    .steps-modal-head {
        padding: 12px 14px;
        gap: 10px;
    }
    .steps-modal-controls {
        width: 100%;
        justify-content: flex-start;
    }
    .steps-modal-presets {
        width: 100%;
    }
    .steps-modal-head h3 {
        font-size: 1.05rem;
    }
    .steps-chip {
        font-size: 0.72rem;
        padding: 5px 9px;
    }
    .steps-modal-close {
        padding: 6px 10px;
        font-size: 0.82rem;
    }
    .steps-modal-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100%;
    }
    .steps-modal-side {
        border-right: none;
        border-bottom: 1px solid rgba(179, 192, 209, 0.42);
        padding: 12px 14px;
        max-height: 38vh;
    }
    .steps-modal-actions {
        grid-template-columns: 1fr;
    }
    .steps-copy-feedback {
        grid-column: 1 / -1;
    }
    .steps-modal-body {
        padding: 14px 14px 18px;
        height: 100%;
        max-height: none;
        font-size: 0.95rem;
        line-height: 1.68;
    }
}
