:root {
    color-scheme: light;
    --bg-gradient: radial-gradient(120% 120% at 50% 0%, #f6faff 0%, #eef4ff 37%, #ffffff 100%);
    --color-surface: rgba(255, 255, 255, 0.85);
    --color-surface-strong: #ffffff;
    --color-primary: #1b4dff;
    --color-primary-dark: #0f33c2;
    --color-text: #17213a;
    --color-muted: #4d5a77;
    --color-border: rgba(35, 76, 174, 0.14);
    --shadow-lg: 0 24px 64px rgba(20, 45, 110, 0.12);
    --shadow-md: 0 16px 40px rgba(20, 45, 110, 0.1);
    --shadow-sm: 0 8px 20px rgba(20, 45, 110, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--bg-gradient);
    color: var(--color-text);
    font-family: "Inter", "SF Pro Text", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1120px, 100% - 48px);
    margin: 0 auto;
}

.section {
    padding: clamp(64px, 10vw, 100px) 0;
}

.section-glass {
    position: relative;
}

.section-glass::before {
    content: "";
    position: absolute;
    inset: 0 0 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px);
    z-index: 0;
}

.section-glass > .container {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(246, 250, 255, 0.8);
    border-bottom: 1px solid rgba(35, 76, 174, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 24px; */
    padding-top: 5px;
    padding-bottom: 5px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.brand-icon {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle img {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-list a {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(27, 77, 255, 0.08);
    color: var(--color-primary-dark);
    border-color: rgba(27, 77, 255, 0.2);
}

.header-cta {
    flex-shrink: 0;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(27, 77, 255, 0.14);
}

.hero {
    padding-top: 24px;
}

.hero-layout {
    display: grid;
    gap: clamp(32px, 7vw, 56px);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.hero-copy {
    max-width: 520px;
    position: relative;
    z-index: 10;
}

.hero-copy h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.eyebrow {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(27, 77, 255, 0.75);
}

.hero-lead {
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(480px, 60vw, 620px);
    padding: 0;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: -32% -18% -36%;
    background: rgba(255, 255, 255, 1);
    filter: blur(85px);
    opacity: 1;
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 120%;
    max-width: 800px;
    isolation: isolate;
    transform: scale(1.5);
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: -8%;
    border-radius: clamp(38px, 6vw, 72px);
    background: rgba(255, 255, 255, 1);
    filter: blur(55px);
    opacity: 0;
    z-index: -2;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: -4%;
    border-radius: clamp(36px, 5.5vw, 68px);
    background: rgba(255, 255, 255, 1);
    filter: blur(42px);
    opacity: 0;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.2) 75%, transparent 90%);
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.2) 75%, transparent 90%);
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    box-shadow: var(--shadow-sm);
    gap: 10px;
}

.download-button::before {
    content: "";
    font-family: "SF Pro Display", "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 1.2rem;
    line-height: 1;
}

.download-button:hover,
.download-button:focus-visible {
    background: #131313;
    color: #ffffff;
    text-decoration: none;
}


.download-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
}

.download-qr,
.download-caption {
    display: none;
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 961px) {
    .download-group {
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 22px 28px;
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(27, 77, 255, 0.12);
        box-shadow: 0 28px 60px rgba(20, 45, 110, 0.16);
        backdrop-filter: blur(18px);
    }

    .download-qr {
        display: block;
        width: 140px;
        height: auto;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
    }

    .download-caption {
        display: block;
        margin: 0 0 10px;
        font-size: 0.95rem;
        color: var(--color-muted);
    }
}

.contact-page .sub-header {
    background: rgba(246, 250, 255, 0.92);
    border-bottom: 1px solid rgba(35, 76, 174, 0.08);
    position: sticky;
    top: 0;
    z-index: 15;
    backdrop-filter: blur(12px);
}

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

.sub-nav-link {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-hero {
    padding-top: clamp(48px, 12vw, 96px);
}

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

.contact-lead {
    margin: 18px 0 0;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.contact-actions {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    border: 1px solid rgba(27, 77, 255, 0.12);
    box-shadow: 0 24px 52px rgba(20, 45, 110, 0.12);
    padding: clamp(24px, 4vw, 32px);
    display: grid;
    gap: 18px;
}

.contact-card h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.contact-card ul,
.contact-card ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
    display: grid;
    gap: 12px;
}

.contact-card li strong {
    color: var(--color-text);
}

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

.contact-card--form {
    min-height: 100%;
}

.contact-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.contact-form-shell {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(27, 77, 255, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.contact-form-shell iframe {
    width: 100%;
    min-height: 1100px;
    border: 0;
}

.contact-form-only {
    padding-top: clamp(48px, 12vw, 96px);
}

.contact-form-wrap {
    display: grid;
    gap: 24px;
    max-width: min(960px, 100%);
}

.contact-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.contact-page .contact-lead {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.contact-form-shell {
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(20, 45, 110, 0.16);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(27, 77, 255, 0.12);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.contact-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.contact-back {
    margin: 0;
}

@media (min-width: 961px) {
    .download-group {
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 22px 28px;
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(27, 77, 255, 0.12);
        box-shadow: 0 28px 60px rgba(20, 45, 110, 0.16);
        backdrop-filter: blur(18px);
    }

    .download-qr {
        display: block;
        width: 140px;
        height: auto;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
    }

    .download-caption {
        display: block;
        margin: 0 0 10px;
        font-size: 0.95rem;
        color: var(--color-muted);
    }
}

.hero-copy .download-button {
    margin-top: 0;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

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

.feature-card,
.usecase-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card h3,
.usecase-card h3 {
    margin: 18px 0 12px;
    font-size: 1.2rem;
}

.feature-card p,
.usecase-card p {
    margin: 0;
    color: var(--color-muted);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    display: block;
}

.flow-layout {
    display: grid;
    gap: 40px;
}

.flow-gallery {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flow-gallery figure {
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.flow-gallery figcaption {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(27, 77, 255, 0.15);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(27, 77, 255, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span::after {
    content: "+";
    margin-left: 8px;
    font-weight: 500;
    color: var(--color-muted);
}

.faq-item[open] summary span::after {
    content: "−";
}

.faq-item p {
    /*margin: 16px;*/
    padding: 16px 20px;
    /*background: rgba(239, 245, 255, 0.5);*/
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.faq-more {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.security-layout {
    display: grid;
    gap: 32px;
}

.security-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.security-points li {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 77, 255, 0.12);
    box-shadow: var(--shadow-sm);
}

.security-points h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.security-points p {
    margin: 0;
    color: var(--color-muted);
}

.section-cta {
    padding-bottom: clamp(72px, 12vw, 120px);
}

.cta-container {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: rgba(30, 72, 180, 0.08);
    border: 1px solid rgba(27, 77, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.cta-text h2 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.cta-text p {
    margin: 0 0 24px;
    color: var(--color-muted);
    font-size: 1.02rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer {
    background: #101a3c;
    color: rgba(255, 255, 255, 0.85);
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #fff;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.small-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 960px) {
    .header-inner {
        flex-wrap: wrap;
        position: relative;
        justify-content: center;
    }

    .brand {
        margin: 0 auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 6px;
    }

.primary-nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.25s ease;
    background: transparent;
    margin-top: 8px;
}

.primary-nav.is-open {
    max-height: 320px;
}

.primary-nav .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.primary-nav .nav-list a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}


    .download-group {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        text-align: center;
    }

    .hero-media {
        margin-top: 12px;
        min-height: auto;
    }

    .hero-media::before {
        inset: -20% 0 -20%;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        transform: scale(1);
    }

    .hero-image::before {
        inset: -8% 0 -8%;
    }

    .hero-copy .download-button {
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .download-group {
        flex-direction: column;
        align-items: stretch;
    }

    .download-qr,
    .download-caption {
        display: none;
    }

    .download-group .download-button {
        width: 100%;
        justify-content: center;
        border: none;
    }
}

@media (max-width: 640px) {
    :root {
        font-size: 15px;
    }

    .hero {
        padding-top: 24px;
    }

    .container {
        width: min(100% - 32px, 100%);
    }

    .hero-layout {
        gap: 40px;
    }

    .hero-media::before {
        inset: -20% 0 -20%;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        transform: scale(1);
    }

    .hero-image::before {
        inset: -8% 0 -8%;
    }

    .download-group {
        align-items: stretch;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .download-qr,
    .download-caption {
        display: none !important;
    }

    .download-group .download-button {
        width: 100%;
        justify-content: center;
        border: none;
    }

    .download-group .download-button::before {
        margin-right: 8px;
    }

    .cta-container {
        padding: 28px 24px;
    }

    .contact-hero-inner {
        gap: 24px;
    }

    .contact-card {
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 16px 40px rgba(20, 45, 110, 0.1);
    }

    .contact-grid {
        gap: 20px;
    }

    .contact-form-shell iframe {
        min-height: 900px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Contact page */
.simple-header {
    background: rgba(246, 250, 255, 0.94);
    border-bottom: 1px solid rgba(35, 76, 174, 0.08);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

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

.simple-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.simple-back-link {
    color: var(--color-primary);
    font-weight: 600;
}

.simple-back-link--mobile {
    display: none;
}

.contact-form-only {
    padding-top: clamp(64px, 14vw, 120px);
}

.contact-form-wrap {
    display: grid;
    gap: 24px;
    max-width: min(960px, 100%);
}

.contact-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.contact-page .contact-lead {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-muted);
}

.contact-form-shell {
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(20, 45, 110, 0.16);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(27, 77, 255, 0.12);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.contact-form-shell iframe {
    width: 100%;
    min-height: 1100px;
    border: none;
}

.contact-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* Legal pages */
.legal-page main {
    padding-top: clamp(64px, 14vw, 120px);
}

.legal-wrap {
    display: grid;
    gap: 32px;
    max-width: min(960px, 100%);
}

.legal-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    border: 1px solid rgba(27, 77, 255, 0.12);
    box-shadow: 0 32px 70px rgba(20, 45, 110, 0.16);
    padding: clamp(28px, 4vw, 36px);
}

.legal-panel h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal-panel .legal-updated {
    margin: 0 0 24px;
    color: var(--color-muted);
}

.legal-panel h2 {
    margin: 32px 0 12px;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.legal-panel p,
.legal-panel li {
    color: var(--color-muted);
    line-height: 1.75;
}

.legal-panel ul,
.legal-panel ol {
    margin: 12px 0 0 1.2rem;
    display: grid;
    gap: 8px;
}

.legal-note {
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* Security page */
.security-hero {
    padding-top: clamp(72px, 12vw, 120px);
    background: radial-gradient(120% 120% at 85% 10%, rgba(82, 132, 255, 0.18) 0%, rgba(244, 247, 255, 0) 55%);
}

.security-hero-inner {
    display: grid;
    gap: clamp(32px, 6vw, 56px);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.security-hero-copy h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.2rem, 4.2vw, 3rem);
}

.security-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(400px, 50vw, 520px);
    padding: 0;
    overflow: hidden;
}

.security-hero-visual::before {
    content: "";
    position: absolute;
    inset: -32% -18% -36%;
    background: rgba(255, 255, 255, 1);
    filter: blur(85px);
    opacity: 1;
    z-index: 0;
}

.security-hero-visual img {
    position: relative;
    z-index: 1;
    width: 140%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transform: scale(1.5);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 75%, transparent 85%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 75%, transparent 85%);
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.security-badges li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(27, 77, 255, 0.14);
    box-shadow: 0 18px 40px rgba(20, 45, 110, 0.12);
    font-weight: 600;
    color: var(--color-text);
}

.security-overview {
    padding-top: clamp(56px, 9vw, 88px);
}

.security-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.security-timeline::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, rgba(27, 77, 255, 0.15) 0%, rgba(27, 77, 255, 0.25) 50%, rgba(27, 77, 255, 0.15) 100%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 48px;
}

.timeline-item--last {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(27, 77, 255, 0.08) 0%, rgba(82, 132, 255, 0.12) 100%),
        rgba(255, 255, 255, 1);
    background-blend-mode: normal;
    border: 2px solid rgba(27, 77, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
    background:
        linear-gradient(135deg, rgba(27, 77, 255, 0.14) 0%, rgba(82, 132, 255, 0.20) 100%),
        rgba(255, 255, 255, 1);
    border-color: rgba(27, 77, 255, 0.35);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(27, 77, 255, 0.18);
}

.timeline-content {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    border: 1px solid rgba(27, 77, 255, 0.10);
    padding: 28px 32px;
    box-shadow: 0 12px 40px rgba(20, 45, 110, 0.08);
    transition: all 0.3s ease;
    z-index: 3;
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 18px 50px rgba(20, 45, 110, 0.14);
    border-color: rgba(27, 77, 255, 0.18);
}

.timeline-content h3 {
    margin: 0 0 12px;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--color-text);
}

.timeline-content p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 0.98rem;
}

.security-note {
    margin-top: 56px;
    padding: 28px 36px;
    background: linear-gradient(135deg, rgba(27, 77, 255, 0.06) 0%, rgba(82, 132, 255, 0.08) 100%);
    border-radius: 24px;
    border: 1.5px solid rgba(27, 77, 255, 0.18);
    text-align: center;
}

.security-note p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.7;
}

.security-note strong {
    color: var(--color-primary);
    font-weight: 700;
}

.security-faq h2 {
    margin-bottom: 18px;
}

.security-faq .faq-list {
    margin-bottom: 20px;
}

@media (max-width: 960px) {
    .simple-header-inner {
        justify-content: center;
        position: relative;
    }

    .simple-header-brand {
        margin: 0 auto;
    }

    .simple-back-link--desktop {
        display: none;
    }

    .simple-back-link--mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px;
        border-radius: 999px;
        background: rgba(27, 77, 255, 0.12);
    }

    .contact-form-wrap {
        gap: 20px;
    }

    .contact-form-shell iframe {
        min-height: 1000px;
    }

    .legal-wrap {
        gap: 24px;
    }

    .security-hero-visual {
        order: -1;
    }

    .security-badges {
        gap: 10px;
    }

    .security-timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px;
        margin-bottom: 40px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 22px 24px;
    }

    .security-note {
        padding: 22px 24px;
    }
}

@media (max-width: 640px) {
    .contact-form-shell {
        border-radius: 22px;
        box-shadow: 0 20px 48px rgba(20, 45, 110, 0.12);
    }

    .contact-form-shell iframe {
        min-height: 900px;
    }

    .legal-panel {
        border-radius: 22px;
        box-shadow: 0 20px 48px rgba(20, 45, 110, 0.12);
        padding: 24px;
    }

    .security-badges li {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================
   FAQ Page Styles
   ============================================ */

/* FAQ List Page */
.faq-list-page {
    padding: clamp(48px, 8vw, 80px) 0;
}

.faq-list-header {
    max-width: 800px;
    margin: 0 auto 48px;
}

.faq-list-header h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-text);
}

.faq-list-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0;
}

.faq-simple-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(27, 77, 255, 0.2);
}

.faq-category-title:first-child {
    margin-top: 0;
}

.faq-links {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.faq-links li {
    margin: 0;
    border-bottom: 1px solid rgba(35, 76, 174, 0.1);
}

.faq-links li:last-child {
    border-bottom: none;
}

.faq-links a {
    display: block;
    padding: 16px 20px 16px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.faq-links a::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    opacity: 0;
    transition: all 0.2s;
}

.faq-links a:hover {
    color: var(--color-primary);
    padding-left: 12px;
    text-decoration: none;
}

.faq-links a:hover::after {
    opacity: 1;
    right: 0;
}

.faq-hero {
    padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 56px);
    text-align: center;
}

.faq-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.faq-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 16px 0 20px;
    color: var(--color-text);
}

.faq-categories {
    padding: 0 0 clamp(64px, 10vw, 100px);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-card {
    background: var(--color-surface-strong);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(35, 76, 174, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(27, 77, 255, 0.2);
}

.faq-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(27, 77, 255, 0.08) 0%, rgba(82, 132, 255, 0.12) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.faq-card-icon img {
    width: 48px;
    height: 48px;
}

.faq-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.faq-card-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.faq-card-title a:hover {
    color: var(--color-primary);
}

.faq-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-muted);
    margin: 0;
}

.faq-card-topics {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-card-topics li {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-muted);
    padding-left: 20px;
    position: relative;
}

.faq-card-topics li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--color-primary);
    font-weight: 700;
}

.faq-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: auto;
    padding-top: 8px;
    transition: gap 0.2s;
}

.faq-card-link:hover {
    gap: 10px;
    text-decoration: none;
}

.faq-card-link svg {
    flex-shrink: 0;
}

/* FAQ Single Page Styles */
.faq-single {
    padding: clamp(48px, 8vw, 80px) 0;
}

.faq-single-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface-strong);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 48px);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px;
    color: var(--color-text);
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(27, 77, 255, 0.15);
}

.faq-answer {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-muted);
    margin: 0 0 32px;
}

.faq-answer p {
    margin: 0 0 16px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    text-decoration: none;
}

.faq-nav {
    padding-top: 24px;
    border-top: 1px solid rgba(35, 76, 174, 0.1);
}

/* FAQ Detail Page Styles */

.faq-detail {
    padding: clamp(48px, 8vw, 80px) 0;
}

.faq-detail-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.faq-detail-header h1 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 16px 0 20px;
}

.faq-detail-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-surface-strong);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(35, 76, 174, 0.08);
    overflow: hidden;
}

.faq-item summary {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text);
    padding: 24px 56px 24px 24px;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.2s;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%231B4DFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
    background-color: rgba(27, 77, 255, 0.04);
}

.faq-item-content {
    padding: 0 24px 24px;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.faq-item-content p {
    margin: 0 0 16px;
}

.faq-item-content p:last-child {
    margin-bottom: 0;
}

.faq-item-content ul,
.faq-item-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.faq-item-content li {
    margin: 8px 0;
}

.faq-item-content strong {
    font-weight: 600;
    color: var(--color-text);
}

.faq-item-content code {
    background: rgba(27, 77, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 0.875em;
}

.faq-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin: 48px 0 0;
    transition: gap 0.2s;
}

.faq-back-link:hover {
    gap: 12px;
    text-decoration: none;
}

@media (max-width: 640px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-card {
        padding: 24px 20px;
    }

    .faq-item summary {
        padding: 20px 48px 20px 20px;
        font-size: 1rem;
    }

    .faq-item summary::after {
        right: 20px;
    }

    .faq-item-content {
        padding: 0 20px 20px;
    }
}
