:root {
    --brand-ink: #241746;
    --brand-purple: #6337ad;
    --brand-blue: #218eb7;
    --brand-orange: #f28a27;
    --brand-purple-soft: #f1edfa;
    --brand-blue-soft: #eaf5fb;
    --brand-border: #e8e4f0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        Arial,
        sans-serif;

    color: var(--brand-ink);
    background: #ffffff;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--brand-border);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.logo-image {
    display: block;
    width: 250px;
    height: 68px;
    background: transparent;
    object-fit: cover;
    object-position: center 50%;
}

.logo:focus-visible {
    border-radius: 9px;
    outline: 3px solid rgba(99, 55, 173, .3);
    outline-offset: 3px;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: #667085;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand-ink);
}

.nav-button {
    padding: 10px 18px;

    border-radius: 999px;

    background: linear-gradient(115deg, #50308f, #32205e);
    color: white;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   BUTTON
========================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s,
        opacity .2s;
}

.button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.button-primary {
    background: linear-gradient(115deg, #6337ad, #356fac);
    color: white;
}

.button-secondary {
    background: var(--brand-purple-soft);
    color: var(--brand-ink);
}

.button-light {
    background: white;
    color: var(--brand-ink);
}


/* =========================
   HERO
========================= */

.hero {
    padding: 110px 0 120px;

    background:
        radial-gradient(circle at 80% 30%,
            #e6f3fb,
            transparent 35%),
        #f8f7fc;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    align-items: center;

    gap: 80px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--brand-purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .16em;
}

.hero h1 {
    margin: 0;

    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.08;

    letter-spacing: -.04em;
}

.hero h1 span {
    display: block;
    color: var(--brand-purple);
}

.hero p {
    max-width: 620px;

    margin: 26px 0 34px;

    color: #667085;

    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================
   PHONE VISUAL
========================= */

.hero-visual {
    position: relative;

    min-height: 480px;

    display: grid;
    place-items: center;
}

.phone-card {
    position: relative;
    z-index: 2;

    width: 270px;
    min-height: 470px;

    border: 8px solid var(--brand-ink);
    border-radius: 34px;

    background: white;

    box-shadow:
        0 30px 80px rgba(23, 32, 51, .18);

    overflow: hidden;
}

.phone-header {
    padding: 20px;

    display: flex;
    justify-content: space-between;

    font-size: 12px;
    font-weight: 800;
}

.phone-content {
    padding: 30px 24px;
    text-align: center;
}

.app-icon-large {
    width: 76px;
    height: 76px;

    margin: 25px auto;

    display: grid;
    place-items: center;

    border-radius: 22px;

    background: var(--brand-blue-soft);

    color: #27689b;

    font-size: 34px;
    font-weight: 800;
}

.phone-content h3 {
    margin-bottom: 5px;
}

.phone-content p {
    margin: 0;

    color: #8a93a3;

    font-size: 12px;
}

.progress-bar {
    height: 8px;

    margin: 30px 0;

    overflow: hidden;

    border-radius: 20px;

    background: #edf0f5;
}

.progress-bar span {
    display: block;

    width: 72%;
    height: 100%;

    background: linear-gradient(90deg, #208fbd, #7137ad, #f28a27);
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 5px;
}

.mini-stats strong {
    display: block;
    font-size: 18px;
}

.mini-stats small {
    color: #8a93a3;
    font-size: 9px;
}

.orbit {
    position: absolute;

    border: 1px dashed #c8b9e8;

    border-radius: 50%;
}

.orbit-one {
    width: 440px;
    height: 440px;
}

.orbit-two {
    width: 340px;
    height: 340px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.section-soft {
    background: #f8f7fc;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 18px;

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.15;

    letter-spacing: -.035em;
}

.section-heading p {
    margin: 0;

    color: #667085;
}


/* =========================
   FEATURES
========================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 32px;

    border: 1px solid var(--brand-border);
    border-radius: 18px;

    background: white;
}

.feature-icon {
    width: 54px;
    height: 54px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: var(--brand-purple-soft);

    color: var(--brand-purple);

    font-size: 22px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 0 0 10px;

    font-size: 22px;
}

.feature-card p {
    margin: 0;

    color: #667085;
}


/* =========================
   APPS
========================= */

.app-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.app-card {
    overflow: hidden;

    border: 1px solid var(--brand-border);
    border-radius: 18px;

    background: white;
}

.app-card-icon {
    height: 150px;

    display: grid;
    place-items: center;

    background: linear-gradient(140deg, #edf6fb, #f2edfb);

    color: #32699a;

    font-size: 46px;
    font-weight: 800;
}

.app-card-body {
    padding: 26px;
}

.app-label {
    display: block;

    margin-bottom: 8px;

    color: var(--brand-purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
}

.app-card h3 {
    margin: 0 0 10px;
}

.app-card p {
    color: #667085;
}

.coming-soon {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 999px;

    background: #f1f4f8;

    color: #667085;

    font-size: 11px;
    font-weight: 700;
}

.text-link {
    color: #32699a;
    font-weight: 700;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 100px 0;

    background: linear-gradient(120deg, #241746, #38236e);

    color: white;

    text-align: center;
}

.cta-section .eyebrow {
    color: #ffc476;
}

.cta-section h2 {
    margin: 0;

    font-size: clamp(40px, 6vw, 64px);
}

.cta-section p {
    margin: 15px 0 30px;

    color: #c4cad4;
}


/* =========================
   PAGE HERO
========================= */

.page-hero {
    padding: 90px 0;

    background: #f8f7fc;

    text-align: center;
}

.page-hero h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 64px);

    line-height: 1.1;
}

.page-hero p {
    margin: 15px 0 0;

    color: #667085;
}


/* =========================
   PRODUCT
========================= */

.product-card {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 40px;

    margin-bottom: 24px;
    padding: 40px;

    border: 1px solid var(--brand-border);
    border-radius: 22px;

    background: white;
}

.product-icon {
    width: 150px;
    height: 150px;

    display: grid;
    place-items: center;

    border-radius: 35px;

    background: var(--brand-blue-soft);

    color: #286b9c;

    font-size: 55px;
    font-weight: 800;
}

.product-content h2 {
    margin: 0 0 12px;

    font-size: 32px;
}

.product-content p {
    max-width: 700px;

    color: #667085;
}

.product-features {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 20px 0;
}

.product-features span {
    padding: 6px 12px;

    border-radius: 999px;

    background: #f1f4f8;

    font-size: 12px;
}


/* =========================
   CONTACT
========================= */

.contact-container {
    max-width: 760px;
}

.contact-layout {
    display: grid;

    grid-template-columns:
        .7fr 1.3fr;

    gap: 70px;
}

.contact-info h2 {
    margin-top: 0;

    font-size: 32px;
}

.contact-info p {
    color: #667085;
}

.contact-note {
    margin-top: 35px;
    padding: 22px;

    border-left: 4px solid var(--brand-purple);

    background: #f8f7fc;
}

.contact-note p {
    margin-bottom: 0;
}


.contact-form-wrapper {
    padding: 36px;

    border: 1px solid #e3e7ed;
    border-radius: 18px;

    background: white;

    box-shadow:
        0 15px 45px rgba(23, 32, 51, .06);
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 9px;

    font-size: 14px;
    font-weight: 700;
}

.required-label {
    padding: 2px 7px;

    border-radius: 4px;

    background: #fff0f0;

    color: #c24141;

    font-size: 10px;
}

.optional {
    padding: 2px 7px;

    border-radius: 4px;

    background: #f1f4f8;

    color: #667085;

    font-size: 10px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #d8dee7;
    border-radius: 8px;

    background: white;

    color: var(--brand-ink);

    font-family: inherit;
    font-size: 14px;

    outline: none;
}

.form-row textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #356fac;

    box-shadow:
        0 0 0 3px rgba(53, 111, 172, .12);
}

.privacy-check {
    margin: 28px 0;

    padding: 18px;

    border-radius: 10px;

    background: #f8f7fc;
}

.privacy-check label {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    font-size: 13px;
}

.privacy-check input {
    margin-top: 5px;
}

.privacy-check a {
    color: #32699a;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .button {
    min-width: 220px;
    cursor: pointer;
}

.form-submit .button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.form-required-note {
    margin: 15px 0 0;

    color: #8a93a3;

    font-size: 11px;
}

.form-required-note span {
    color: #c24141;
}

.form-error {
    display: none;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #f3c6c2;
    border-radius: 8px;
    background: #fff1f0;
    color: #c0392b;
    font-size: 14px;
    line-height: 1.6;
}

.form-error.is-visible {
    display: block;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 60px 0 25px;

    background: #111827;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}

.footer-logo {
    color: white;
}

.footer-grid p {
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-links h4 {
    margin: 0 0 8px;
}

.footer-links a {
    color: #9ca3af;

    font-size: 13px;
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;

    border-top: 1px solid #293241;

    color: #788394;

    font-size: 12px;
}

.legal-hero {
    padding: 76px 0;
}

.legal-hero .container {
    max-width: 850px;
}

.legal-hero .eyebrow {
    margin-bottom: 10px;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.legal-hero p {
    margin: 16px 0 0;
    color: #667085;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.legal-nav a {
    padding: 7px 12px;
    border: 1px solid #ddd3f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--brand-purple);
    font-size: 13px;
    font-weight: 700;
}

.legal-content {
    max-width: 850px;
}

.legal-content > .notice,
.legal-content > .card {
    margin: 0 0 24px;
}

.legal-content > section {
    margin: 0 0 24px;
    padding: 28px 32px;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: white;
    scroll-margin-top: 96px;
}

.legal-content > section.card {
    padding: 28px 32px;
}

.legal-content h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

.legal-content h3 {
    margin: 28px 0 10px;
    font-size: 19px;
}

.legal-content p,
.legal-content li {
    color: #475467;
}

.legal-content a {
    color: #32699a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content table {
    width: 100%;
    margin: 20px 0 28px;
    border-collapse: collapse;
    border: 1px solid var(--brand-border);
    background: white;
}

.legal-content th,
.legal-content td {
    min-width: 150px;
    padding: 13px;
    border-bottom: 1px solid var(--brand-border);
    text-align: left;
    vertical-align: top;
}

.legal-content th {
    background: #f8f7fc;
    color: var(--brand-ink);
}

.legal-content tr:last-child td {
    border-bottom: 0;
}

.legal-content .notice {
    padding: 18px 20px;
    border-left: 4px solid var(--brand-purple);
    border-radius: 10px;
    background: linear-gradient(120deg, #edf6fb, #f2edfb);
    color: #3f3459;
}

.legal-content .notice strong {
    color: var(--brand-purple);
}

.legal-content .small {
    color: #667085;
    font-size: 14px;
}

.legal-footer {
    margin-top: 0;
}

.account-page .account-content {
    max-width: 850px;
}

.account-card {
    padding: 32px;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 15px 45px rgba(23, 32, 51, .06);
}

.account-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.account-card h3 {
    margin: 26px 0 8px;
    font-size: 18px;
}

.account-card p,
.account-card li {
    color: #475467;
}

.account-card .muted {
    color: #667085;
}

.account-card a {
    color: #32699a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-page .account-notice {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--brand-purple);
    border-radius: 10px;
    background: linear-gradient(120deg, #edf6fb, #f2edfb);
    color: #3f3459;
}

.account-page .account-notice strong {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-purple);
}

.account-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--brand-border);
}

.account-page .auth-box {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    background: #f8f7fc;
}

.account-page .signin-alternative {
    margin-top: 14px;
}

.account-page label {
    display: block;
    margin: 14px 0 6px;
    font-size: 14px;
    font-weight: 700;
}

.account-page input {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d8dee7;
    border-radius: 8px;
    background: white;
    color: var(--brand-ink);
    font: inherit;
    outline: none;
}

.account-page input:focus {
    border-color: #356fac;
    box-shadow: 0 0 0 3px rgba(53, 111, 172, .12);
}

.account-page .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.account-page button {
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(115deg, #6337ad, #356fac);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.account-page button:hover {
    opacity: .9;
}

.account-page button.secondary {
    background: #f1f4f8;
    color: var(--brand-ink);
}

.account-page button.danger {
    background: #a93232;
}

.account-page button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.account-page .signed-in,
.account-page .status {
    display: none;
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
}

.account-page .signed-in {
    border: 1px solid #d8cfed;
    background: var(--brand-purple-soft);
    color: var(--brand-purple);
}

.account-page .status.success {
    display: block;
    border: 1px solid #d8cfed;
    background: var(--brand-purple-soft);
    color: var(--brand-purple);
}

.account-page .status.error {
    display: block;
    border: 1px solid #f1b8b8;
    background: #fff1f1;
    color: #a61b1b;
}

.account-page .check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
}

.account-page .check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.account-page .check label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.account-page ul {
    padding-left: 22px;
}

.account-page li {
    margin: 6px 0;
}

.account-page .hidden {
    display: none !important;
}

.account-footer {
    margin-top: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-field input {
    position: absolute;
    left: -9999px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .hero {
        padding: 75px 0;
    }

    .feature-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 520px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav-button {
        display: none;
    }

    .logo-image {
        width: 190px;
        height: 52px;
    }

    .phone-card {
        width: 240px;
    }

    .orbit-one {
        width: 320px;
        height: 320px;
    }

    .orbit-two {
        width: 260px;
        height: 260px;
    }

    .contact-form-wrapper {
        padding: 22px;
    }

    .form-submit .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {
    .legal-hero {
        padding: 58px 0;
    }

    .legal-content > section,
    .legal-content > section.card,
    .account-card {
        padding: 22px 18px;
    }

    .legal-content table {
        display: block;
        overflow-x: auto;
    }

    .account-page .buttons button {
        width: 100%;
    }
}