:root {
    --bg: #f3f7f8;
    --bg-soft: #e8f2f2;
    --card: #ffffff;
    --text: #102f33;
    --muted: #63787d;
    --primary: #087c7a;
    --primary-dark: #055f5e;
    --accent: #1f9d8a;
    --accent-soft: #dff5f0;
    --warning-bg: #fff8e9;
    --warning-border: rgba(171, 105, 0, 0.24);
    --warning-text: #5b4108;
    --border: rgba(13, 76, 79, 0.13);
    --border-strong: rgba(13, 76, 79, 0.22);
    --shadow: 0 24px 70px rgba(7, 57, 61, 0.14);
    --shadow-soft: 0 12px 35px rgba(7, 57, 61, 0.09);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(31, 157, 138, 0.18), transparent 36rem),
        radial-gradient(circle at bottom right, rgba(8, 124, 122, 0.14), transparent 34rem),
        linear-gradient(135deg, #f6fafb 0%, var(--bg) 52%, #eef6f6 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 18px;
    z-index: 999;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #ffffff;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 18px;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* ==========================
   Header
   ========================== */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.official-logos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.official-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(8, 54, 58, 0.06);
}

.official-logo img {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.brand-mark {
    display: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-name {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.38rem;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.brand-dinkes {
    color: var(--primary-dark);
}

.brand-app {
    color: var(--accent);
}

.brand-subtitle {
    max-width: 340px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-nav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.public-menu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(12px);
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #31575b;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-link:hover {
    background: var(--accent-soft);
    color: var(--primary-dark);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.user-chip {
    max-width: 220px;
    overflow: hidden;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.72);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--text);
    color: #ffffff;
    font-weight: 750;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
    box-shadow: 0 16px 34px rgba(7, 57, 61, 0.16);
}

/* ==========================
   Hero
   ========================== */

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 46px;
    min-height: calc(100vh - 230px);
    padding: 42px 0 64px;
}

.hero-content {
    min-width: 0;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(8, 124, 122, 0.16);
    border-radius: 999px;
    background: rgba(223, 245, 240, 0.8);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.35rem, 4.7vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-lead {
    max-width: 700px;
    margin: 24px 0 0;
    color: #526b70;
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.82;
}

.hero-sublead {
    max-width: 700px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--primary), var(--accent));
    color: #ffffff;
    font-weight: 850;
    white-space: nowrap;
    box-shadow: 0 18px 42px rgba(8, 124, 122, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(8, 124, 122, 0.34);
}

.action-note {
    max-width: 370px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

/* ==========================
   Trust strip
   ========================== */

.trust-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #31575b;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(8, 54, 58, 0.04);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 124, 122, 0.28);
    background: #ffffff;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.trust-note {
    max-width: 700px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ==========================
   Hero visual card
   ========================== */

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 24px -10px -18px 32px;
    z-index: 0;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(8, 124, 122, 0.12), rgba(31, 157, 138, 0.04));
    transform: rotate(3deg);
}

.app-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.58);
}

.window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cbd9db;
}

.app-card-body {
    padding: 24px;
}

.mini-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    font-weight: 850;
}

.mini-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-weight: 900;
}

.status-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(8, 124, 122, 0.15);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(223, 245, 240, 0.88), rgba(255, 255, 255, 0.82));
}

.status-panel strong {
    display: block;
    margin-top: 4px;
    font-size: 1.18rem;
}

.status-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 32px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 850;
}

.reserved-visual {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(223, 245, 240, 0.9), rgba(255, 255, 255, 0.88));
    box-shadow: 0 12px 28px rgba(8, 54, 58, 0.06);
}

.reserved-visual img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #e4eeee;
}

.reserved-visual-caption {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
}

.reserved-visual-caption strong {
    color: var(--text);
    font-size: 0.98rem;
}

.reserved-visual-caption span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.dashboard-lines {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.line {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: #e4eeee;
}

.line-wide {
    width: 92%;
}

.line-medium {
    width: 72%;
}

.line-small {
    width: 52%;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.module-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 142px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    color: #2a5559;
    box-shadow: 0 12px 24px rgba(8, 54, 58, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 124, 122, 0.28);
    box-shadow: 0 18px 34px rgba(8, 54, 58, 0.09);
}

.module-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.25;
}

.module-card span {
    display: block;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.55;
}

.module-card em {
    display: inline-flex;
    width: fit-content;
    margin-top: 12px;
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 850;
}

/* ==========================
   Notice
   ========================== */

.notice-section {
    padding: 0 0 30px;
}

.notice-card {
    padding: 20px 22px;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-lg);
    background: var(--warning-bg);
    color: var(--warning-text);
}

.notice-card p {
    margin: 8px 0 0;
    line-height: 1.7;
}

.inline-link {
    display: inline-flex;
    margin-top: 12px;
    color: #7a5200;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================
   Sections
   ========================== */

.info-section,
.detail-section,
.ethic-section,
.legal-section {
    padding: 42px 0;
}

.section-heading {
    max-width: 840px;
}

.section-heading h2,
.ethic-card h2,
.legal-card h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-heading p,
.legal-card p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

/* ==========================
   Feature cards
   ========================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-soft);
}

.feature-number {
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 1.25rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.card-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 850;
}

.card-link::after {
    content: " →";
}

/* ==========================
   Detail cards
   ========================== */

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.detail-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 32px rgba(8, 54, 58, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 124, 122, 0.28);
    box-shadow: 0 18px 40px rgba(8, 54, 58, 0.1);
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.detail-card strong {
    color: var(--text);
    font-size: 1.12rem;
}

.detail-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.72;
}

/* ==========================
   Ethics
   ========================== */

.ethic-card {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(232, 242, 242, 0.7));
    box-shadow: var(--shadow-soft);
}

.ethic-list {
    display: grid;
    gap: 12px;
}

.ethic-item {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px solid rgba(8, 124, 122, 0.12);
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ethic-item:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 124, 122, 0.28);
}

.ethic-item strong {
    color: var(--primary-dark);
}

.ethic-item span {
    color: var(--muted);
    line-height: 1.65;
}

/* ==========================
   Legal / policy links
   ========================== */

.legal-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.legal-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.legal-link {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(8, 124, 122, 0.12);
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-link:hover {
    transform: translateY(-1px);
    border-color: rgba(8, 124, 122, 0.28);
    box-shadow: 0 12px 24px rgba(8, 54, 58, 0.06);
}

.legal-link strong {
    color: var(--primary-dark);
    font-size: 0.98rem;
}

.legal-link span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ==========================
   Footer
   ========================== */

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr;
    align-items: start;
    gap: 22px;
    padding: 30px 0 38px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-identity strong,
.site-footer strong {
    display: block;
    color: var(--text);
}

.footer-identity span {
    display: block;
    margin-top: 4px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #31575b;
    font-weight: 750;
}

.footer-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-note {
    display: grid;
    gap: 4px;
    text-align: right;
    line-height: 1.55;
}

/* ==========================
   Focus & motion
   ========================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(8, 124, 122, 0.35);
    outline-offset: 4px;
}

/* ==========================
   Public content pages
   ========================== */

.public-page .site-header {
    min-height: auto;
}

.public-main {
    padding: 20px 0 56px;
}

.page-hero {
    padding: 42px 0 30px;
}

.page-hero-content {
    max-width: 850px;
}

.page-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 780px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-section {
    padding: 26px 0;
}

.content-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.content-card + .content-card {
    margin-top: 18px;
}

.content-card h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.content-card h3 {
    margin: 22px 0 10px;
    color: var(--primary-dark);
    font-size: 1.16rem;
}

.content-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.8;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.content-list li {
    position: relative;
    padding: 14px 16px 14px 42px;
    border: 1px solid rgba(8, 124, 122, 0.12);
    border-radius: 18px;
    background: #ffffff;
    color: var(--muted);
    line-height: 1.65;
}

.content-list li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 900;
}

.info-callout {
    padding: 18px 20px;
    border: 1px solid rgba(8, 124, 122, 0.18);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(223, 245, 240, 0.88), rgba(255, 255, 255, 0.86));
    color: #31575b;
    line-height: 1.75;
}

.info-callout strong {
    color: var(--primary-dark);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-dark);
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.secondary-button:hover {
    transform: translateY(-1px);
    background: var(--accent-soft);
}

/* ==========================
   Responsive
   ========================== */

.mobile-menu {
    display: none;
}

.mobile-menu-summary {
    list-style: none;
}

.mobile-menu-summary::-webkit-details-marker {
    display: none;
}

.mobile-menu-summary::marker {
    display: none;
}

.menu-icon {
    display: inline-grid;
    gap: 4px;
    width: 18px;
}

.menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

@media (max-width: 1120px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        width: 100%;
        justify-content: space-between;
    }

    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-note {
        text-align: left;
    }
}

@media (max-width: 920px) {
    .hero-visual::before {
        display:none;
    }
    .hero-section {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
        padding-top: 24px;
    }

    .hero-visual {
        max-width: 620px;
    }

    .feature-grid,
    .ethic-card,
    .legal-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .top-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
        width: 100%;
    }

    .mobile-menu-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 12px 15px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.86);
        color: var(--primary-dark);
        font-weight: 850;
        cursor: pointer;
        box-shadow: 0 10px 26px rgba(8, 54, 58, 0.06);
        user-select: none;
    }

    .mobile-menu[open] .mobile-menu-summary {
        border-bottom-right-radius: 14px;
        border-bottom-left-radius: 14px;
        background: #ffffff;
    }

    .mobile-menu[open] .menu-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu[open] .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] .menu-icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .menu-icon span {
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-menu-panel {
        display: grid;
        gap: 8px;
        margin-top: 8px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 36px rgba(8, 54, 58, 0.09);
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        padding: 11px 13px;
        border-radius: 14px;
        color: #31575b;
        font-size: 0.95rem;
        font-weight: 750;
        background: rgba(243, 247, 248, 0.72);
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-link::after {
        content: "›";
        color: var(--accent);
        font-size: 1.2rem;
        font-weight: 900;
    }

    .mobile-menu-link:hover {
        transform: translateY(-1px);
        background: var(--accent-soft);
        color: var(--primary-dark);
    }

    .nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .user-chip {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .nav-button {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 22px, 1180px);
    }

    .site-header {
        gap: 16px;
        padding: 20px 0;
    }

    .brand {
        align-items: flex-start;
        width: 100%;
    }

    .official-logos {
        gap: 6px;
    }

    .official-logo {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .brand-subtitle {
        max-width: 250px;
        white-space: normal;
    }

    .hero-section {
        padding-bottom: 44px;
    }

    .hero-content h1 {
        letter-spacing: -0.055em;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .nav-button {
        width: 100%;
    }

    .trust-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-item {
        width: 100%;
    }

    .reserved-visual img {
        height: 130px;
    }

    .module-grid,
    .detail-grid,
    .legal-link-grid {
        grid-template-columns: 1fr;
    }

    .app-card-body,
    .feature-card,
    .detail-card,
    .ethic-card,
    .legal-card {
        padding: 20px;
    }

    .module-card {
        min-height: 128px;
    }

    .detail-card {
        min-height: auto;
    }
    
        .public-main {
        padding-bottom: 42px;
    }

    .page-hero {
        padding: 28px 0 22px;
    }

    .content-card {
        padding: 20px;
    }

    .page-actions {
        flex-direction: column;
    }

    .secondary-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .brand {
        gap: 10px;
    }

    .official-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 1.22rem;
    }

    .brand-subtitle {
        font-size: 0.74rem;
    }

    .hero-content h1 {
        font-size: 2.12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}