:root {
    color-scheme: light;
    --ink: #0b1220;
    --ink-soft: #172033;
    --paper: #f5f3ee;
    --surface: #ffffff;
    --text: #172033;
    --muted: #596273;
    --line: #ccd1d8;
    --mint: #8ce7d5;
    --mint-strong: #52cdb7;
    --amber: #f2b84b;
    --focus: #126e63;
    font-family: "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    background: var(--paper);
    color: var(--text);
}

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

html {
    margin: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--text);
    line-height: 1.7;
}

body,
button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

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

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-160%);
    border: 1px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(11, 18, 32, 0.96);
    color: #ffffff;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 176px 1fr auto;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 164px;
    height: 54px;
}

.site-brand img {
    width: 100%;
    max-height: 32px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 14px;
}

.site-nav a,
.header-login,
.text-link {
    text-decoration: none;
}

.site-nav a:hover,
.header-login:hover,
.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--header {
    min-height: 40px;
    padding: 8px 16px;
    border-color: var(--mint);
    background: var(--mint);
    color: var(--ink);
}

.button--header:hover,
.button--primary:hover {
    border-color: #b8f2e7;
    background: #b8f2e7;
}

.hero {
    position: relative;
    display: flex;
    min-height: min(760px, calc(100svh - 132px));
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: #ffffff;
}

.hero__media,
.hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    z-index: -2;
    object-fit: cover;
    object-position: center 16%;
    opacity: 0.78;
}

.hero__shade {
    z-index: -1;
    background:
        radial-gradient(circle at 78% 16%, rgba(82, 205, 183, 0.18), transparent 34%),
        radial-gradient(circle at 50% 110%, rgba(242, 184, 75, 0.1), transparent 32%),
        linear-gradient(90deg, rgba(5, 10, 20, 0.97) 0%, rgba(5, 10, 20, 0.9) 42%, rgba(5, 10, 20, 0.4) 72%, rgba(5, 10, 20, 0.54) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 88px 96px;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 7px 12px 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 4px;
    background: rgba(11, 18, 32, 0.76);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.campaign-badge span {
    padding: 3px 7px;
    border-radius: 3px;
    background: var(--amber);
    color: var(--ink);
}

.campaign-badge:hover {
    border-color: var(--amber);
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--mint);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.eyebrow--dark {
    color: #287d71;
}

.hero h1 {
    margin: 0;
    font-size: 76px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: 0;
}

.hero__lead {
    max-width: 760px;
    margin: 28px 0 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
}

.hero__description {
    max-width: 690px;
    margin: 22px 0 0;
    color: #e3e8ef;
    font-size: 16px;
    line-height: 1.9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button--primary {
    border-color: var(--mint);
    background: var(--mint);
    color: var(--ink);
}

.button--secondary {
    border-color: rgba(255, 255, 255, 0.66);
    background: rgba(11, 18, 32, 0.62);
    color: #ffffff;
}

.button--secondary:hover {
    border-color: #ffffff;
    background: rgba(11, 18, 32, 0.9);
}

.hero__note {
    margin: 14px 0 0;
    color: #d8dee8;
    font-size: 12px;
}

.trust-strip {
    border-top: 1px solid #334057;
    border-bottom: 1px solid #334057;
    background: var(--ink-soft);
    color: #ffffff;
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 60px;
    align-items: center;
}

.trust-strip span {
    padding: 10px 18px;
    border-right: 1px solid #334057;
    font-size: 12px;
    text-align: center;
}

.trust-strip span:first-child {
    border-left: 1px solid #334057;
}

.section {
    padding-block: 104px;
}

.section--light {
    background: var(--surface);
}

.section--paper {
    background: var(--paper);
}

.section--ink {
    border-block: 1px solid #29364c;
    background: var(--ink);
    color: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: end;
    gap: 72px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.closing-cta h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 0;
}

.section-heading > p:last-child,
.section-heading--split > p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.section-heading--on-dark > p:last-child,
.section-heading--on-dark > p {
    color: #c8d0dd;
}

.problem-section {
    border-bottom: 1px solid var(--line);
}

.problem-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 88px;
}

.problem-layout .section-heading {
    margin-bottom: 34px;
}

.problem-copy__lead {
    margin: 0 0 30px;
    color: var(--text);
    font-size: 17px;
    line-height: 2;
}

.friction-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.friction-list li {
    position: relative;
    padding: 17px 12px 17px 32px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.friction-list li::before {
    position: absolute;
    top: 17px;
    left: 8px;
    color: #287d71;
    content: "—";
    font-weight: 700;
}

.founder-note {
    margin: 34px 0 0;
    padding: 24px 0 0 28px;
    border-top: 1px solid var(--line);
    border-left: 3px solid var(--amber);
}

.founder-note p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 2;
}

.founder-note footer {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.editorial-media,
.brand-film {
    position: relative;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #8f99a8;
    border-radius: 6px;
    background: #111c2e;
}

.editorial-media--story {
    aspect-ratio: 4 / 3;
    align-self: center;
}

.editorial-media--portrait {
    aspect-ratio: 4 / 5;
}

.editorial-media img,
.brand-film img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-media--story::after,
.brand-film::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(5, 10, 20, 0.84) 100%);
    content: "";
    pointer-events: none;
}

.editorial-media--story figcaption {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.brand-film {
    aspect-ratio: 16 / 9;
    margin-top: 56px;
    border-color: #526078;
}

.brand-film__caption {
    position: absolute;
    right: 40px;
    bottom: 36px;
    left: 40px;
    z-index: 1;
    display: grid;
    max-width: 760px;
    gap: 10px;
    color: #ffffff;
}

.brand-film__caption span {
    color: var(--mint);
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 700;
}

.brand-film__caption strong {
    max-width: 680px;
    font-size: 23px;
    line-height: 1.55;
}

.belief-section {
    padding-block: 112px;
}

.belief-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 88px;
}

.belief-copy h2 {
    max-width: 760px;
    margin: 0;
    font-size: 42px;
    line-height: 1.45;
}

.belief-copy__lead {
    max-width: 760px;
    margin: 30px 0 0;
    color: #d5dbe5;
    font-size: 16px;
    line-height: 2;
}

.belief-principles {
    border-top: 1px solid #526078;
}

.belief-principles > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding-block: 22px;
    border-bottom: 1px solid #526078;
}

.belief-principles span {
    color: var(--mint);
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
}

.belief-principles p {
    margin: 0;
    color: #e0e6ee;
    font-size: 14px;
    line-height: 1.8;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.product-proof {
    margin: 0 0 42px;
    border: 1px solid #8f99a8;
    background: var(--ink);
}

.product-proof img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
}

.product-proof figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px;
    color: #d5dbe5;
    font-size: 12px;
}

.product-proof figcaption span {
    color: var(--mint);
    font-family: Consolas, "Courier New", monospace;
    font-weight: 700;
    white-space: nowrap;
}

.experience-item {
    min-width: 0;
    padding: 36px 32px 38px;
    border-left: 1px solid var(--line);
}

.experience-item:last-child {
    border-right: 1px solid var(--line);
}

.experience-item__number,
.feature-card__index {
    color: #287d71;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    font-weight: 700;
}

.experience-item h3,
.feature-card h3 {
    margin: 28px 0 12px;
    font-size: 20px;
    line-height: 1.45;
}

.experience-item p,
.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.difference-section {
    border-block: 1px solid var(--line);
}

.difference-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 84px;
}

.difference-layout .section-heading {
    margin-bottom: 0;
}

.comparison {
    border-top: 2px solid var(--ink);
}

.comparison__row {
    display: grid;
    grid-template-columns: 0.7fr 1fr 1.15fr;
    min-width: 0;
    border-bottom: 1px solid var(--line);
}

.comparison__row > * {
    min-width: 0;
    padding: 18px;
    border-left: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.7;
}

.comparison__row > *:last-child {
    border-right: 1px solid var(--line);
    background: #e7f7f2;
    color: #173e37;
    font-weight: 700;
}

.comparison__row--head > * {
    background: #e9ecef;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.comparison__row strong {
    color: var(--ink);
}

.founder-section {
    border-bottom: 1px solid var(--line);
}

.founder-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 88px;
}

.founder-copy h2 {
    margin: 0 0 28px;
    font-size: 40px;
    line-height: 1.45;
}

.founder-copy > p:not(.eyebrow) {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    list-style: none;
}

.start-steps li {
    min-width: 0;
    padding: 28px 24px 30px;
    border-left: 1px solid var(--line);
}

.start-steps li:last-child {
    border-right: 1px solid var(--line);
}

.start-steps__number {
    color: #287d71;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    font-weight: 700;
}

.start-steps h3 {
    margin: 22px 0 8px;
    font-size: 18px;
    line-height: 1.45;
}

.start-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.start-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #aeb5bf;
    border-left: 4px solid var(--amber);
    background: var(--surface);
}

.start-cta p {
    margin: 0;
    font-size: 14px;
}

.start-cta strong {
    margin-right: 8px;
    color: #8b5700;
}

.feature-card {
    min-width: 0;
    min-height: 250px;
    padding: 26px;
    border: 1px solid #3a465c;
    border-radius: 6px;
    background: var(--ink-soft);
}

.feature-card__index {
    color: var(--mint);
}

.feature-card p {
    color: #c8d0dd;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.pricing-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 440px;
    flex-direction: column;
    padding: 34px;
    border: 1px solid #aeb5bf;
    border-radius: 6px;
    background: var(--surface);
}

.pricing-card--featured {
    border: 2px solid var(--ink);
    background: #e7f7f2;
}

.pricing-card__badge {
    position: absolute;
    top: -15px;
    left: 24px;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--amber);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.pricing-card__name {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 22px 0 6px;
    color: var(--ink);
    font-family: Consolas, "Courier New", monospace;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.pricing-card__price span {
    font-size: 20px;
}

.pricing-card__price small {
    color: var(--muted);
    font-family: "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.pricing-card__allowance {
    margin: 16px 0 0;
    padding-block: 12px;
    border-block: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.pricing-card__description {
    flex: 1;
    margin: 22px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

.button--outline {
    border-color: var(--ink);
    background: transparent;
    color: var(--ink);
}

.button--outline:hover {
    background: var(--ink);
    color: #ffffff;
}

.button--primary-dark {
    border-color: var(--ink);
    background: var(--ink);
    color: #ffffff;
}

.button--primary-dark:hover {
    border-color: #26344d;
    background: #26344d;
}

.pricing-note {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.pricing-note a,
.contact-form__footer a,
.document-content a,
.support-page a:not(.button),
.document-related a {
    color: var(--focus);
    text-underline-offset: 4px;
}

.mobile-only-break {
    display: none;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 80px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    cursor: pointer;
    padding: 24px 42px 24px 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}

.faq-list details p {
    margin: -6px 0 24px;
    padding-right: 42px;
    color: var(--muted);
    font-size: 14px;
}

.contact-section {
    border-top: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 88px;
}

.contact-layout .section-heading {
    margin-bottom: 0;
}

.contact-form-wrap {
    min-width: 0;
}

.contact-form {
    display: grid;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--ink);
}

.contact-form__field {
    display: grid;
    gap: 8px;
}

.contact-form__field label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.contact-form__field label span {
    margin-left: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: 1px solid #9fa7b3;
    border-radius: 4px;
    background: var(--surface);
    color: var(--text);
    padding: 12px 14px;
}

.contact-form__field textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.7;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: var(--focus);
}

.contact-form__field .input-validation-error {
    border-color: #b42318;
}

.field-validation {
    min-height: 20px;
    color: #9b1c1c;
    font-size: 12px;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 4px;
}

.contact-form__footer p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.contact-form__footer .button {
    min-width: 132px;
}

.contact-form__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.form-status {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 13px;
}

.form-status--success {
    border-color: #408778;
    background: #e7f7f2;
    color: #173e37;
}

.form-status--error {
    border-color: #d88a8a;
    background: #fff1f1;
    color: #8c1d1d;
}

.validation-summary-valid {
    display: none;
}

.closing-cta {
    padding-block: 76px;
    border-block: 1px solid #334057;
    background: var(--ink-soft);
    color: #ffffff;
}

.closing-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.closing-cta__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.text-link {
    font-size: 13px;
}

.document-hero {
    padding-block: 82px 76px;
    border-bottom: 1px solid #334057;
    background: var(--ink-soft);
    color: #ffffff;
}

.document-hero__inner {
    max-width: 940px;
}

.document-hero h1 {
    margin: 12px 0 18px;
    font-size: 48px;
    line-height: 1.2;
}

.document-hero p {
    max-width: 760px;
    margin: 0;
    color: #d5dbe5;
}

.document-hero .document-hero__meta {
    margin-top: 22px;
    color: #aeb8c8;
    font-size: 12px;
}

.document-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 760px);
    justify-content: center;
    gap: 76px;
    padding-block: 72px 104px;
}

.document-nav {
    position: sticky;
    top: 112px;
    align-self: start;
    border-top: 2px solid var(--ink);
}

.document-nav p {
    margin: 0;
    padding-block: 14px 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.document-nav a {
    display: block;
    padding-block: 7px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.document-nav a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.document-content {
    min-width: 0;
}

.document-content section {
    padding-bottom: 44px;
    scroll-margin-top: 108px;
}

.document-content section + section {
    padding-top: 44px;
    border-top: 1px solid var(--line);
}

.document-content h2,
.support-section h2,
.support-primary h2 {
    margin: 0 0 20px;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.45;
}

.document-content h3 {
    margin: 30px 0 12px;
    color: var(--ink);
    font-size: 17px;
}

.document-content p,
.document-content li,
.support-page p,
.support-page li,
.support-page dt,
.support-page dd {
    color: #374151;
    font-size: 15px;
}

.document-content p {
    margin: 0 0 18px;
}

.document-content ul,
.document-content ol,
.support-page ul {
    margin: 0 0 20px;
    padding-left: 1.35rem;
}

.document-content li + li,
.support-page li + li {
    margin-top: 8px;
}

.document-single {
    max-width: 980px;
    padding-block: 72px 104px;
}

.document-notice {
    display: grid;
    gap: 4px;
    margin-bottom: 32px;
    padding: 18px 20px;
    border: 1px solid #c78b25;
    border-left-width: 4px;
    background: #fff8e8;
    color: #5d3a00;
    font-size: 13px;
}

.document-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border-top: 2px solid var(--ink);
}

.document-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.document-table th,
.document-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    color: #374151;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
}

.document-table thead th,
.document-table--disclosure th {
    background: #e9ecef;
    color: var(--ink);
    font-weight: 700;
}

.document-table--disclosure th {
    width: 220px;
}

.document-related {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.support-page {
    max-width: 980px;
    padding-block: 72px 104px;
}

.support-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 0 48px;
    border-bottom: 1px solid var(--line);
}

.support-primary > div {
    max-width: 680px;
}

.support-primary p,
.support-section p {
    margin: 0 0 18px;
}

.support-section {
    padding-block: 44px;
    border-bottom: 1px solid var(--line);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px;
    border-bottom: 1px solid var(--line);
}

.support-grid .support-section {
    border-bottom: 0;
}

.support-section--warning {
    padding-left: 24px;
    border-left: 4px solid var(--amber);
}

.support-contact-list {
    margin: 0;
}

.support-contact-list > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
}

.support-contact-list dt {
    color: var(--ink);
    font-weight: 700;
}

.support-contact-list dd {
    margin: 0;
}

.support-section__note {
    margin-top: 22px !important;
    color: var(--muted) !important;
    font-size: 13px !important;
}

.site-footer {
    padding-block: 52px;
    background: #070b13;
    color: #b6bfcc;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.site-footer__brand {
    display: grid;
    gap: 10px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}

.site-footer__links a {
    color: #d5dbe5;
    font-size: 12px;
    text-decoration: none;
}

.site-footer__link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #d5dbe5;
    cursor: pointer;
    font-size: 12px;
}

.site-footer__links a:hover,
.site-footer__link-button:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-brand--footer {
    height: 42px;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
}

.site-footer__copyright {
    text-align: right;
}

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 28px rgba(11, 18, 32, 0.12);
}

.cookie-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding-block: 20px;
}

.cookie-banner__copy h2,
.cookie-dialog h2,
.cookie-preference h3 {
    margin: 0;
    color: var(--ink);
    letter-spacing: 0;
}

.cookie-banner__copy h2 {
    font-size: 17px;
}

.cookie-banner__copy p {
    max-width: 720px;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.cookie-banner__copy a {
    color: var(--focus);
    font-weight: 700;
}

.cookie-banner__actions,
.cookie-dialog__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-button,
.document-action {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.cookie-button--primary,
.document-action {
    background: var(--ink);
    color: #ffffff;
}

.cookie-button--quiet {
    background: var(--surface);
    color: var(--ink);
}

.cookie-button--link {
    min-height: auto;
    padding-inline: 6px;
    border-color: transparent;
    background: transparent;
    color: var(--focus);
}

.cookie-button:hover,
.document-action:hover {
    border-color: var(--focus);
}

.document-action {
    margin-top: 12px;
}

.cookie-dialog {
    width: min(620px, calc(100% - 32px));
    max-height: calc(100svh - 32px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
}

.cookie-dialog::backdrop {
    background: rgba(7, 11, 19, 0.68);
}

.cookie-dialog__body {
    padding: 26px;
}

.cookie-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-dialog__eyebrow {
    margin: 0 0 4px;
    color: var(--focus);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-dialog h2 {
    font-size: 23px;
}

.cookie-dialog__close {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.cookie-dialog__lead {
    margin: 18px 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.cookie-preference {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding-block: 20px;
    border-top: 1px solid var(--line);
}

.cookie-preference h3 {
    font-size: 15px;
}

.cookie-preference p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.cookie-switch {
    display: inline-flex;
    min-width: 104px;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.cookie-switch input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--focus);
}

.cookie-switch input:disabled {
    cursor: not-allowed;
}

.cookie-dialog__actions {
    justify-content: flex-end;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* Landing page visual treatment */
.landing-page {
    background: #080d17;
}

.landing-page .trust-strip {
    border-color: rgba(140, 231, 213, 0.2);
    background:
        radial-gradient(circle at 18% 50%, rgba(82, 205, 183, 0.16), transparent 28%),
        radial-gradient(circle at 82% 50%, rgba(69, 96, 153, 0.2), transparent 32%),
        linear-gradient(110deg, #0b1220 0%, #17243b 48%, #0c1527 100%);
}

.landing-page .trust-strip span {
    border-color: rgba(140, 231, 213, 0.16);
}

.landing-page .section--light {
    background:
        radial-gradient(circle at 88% 12%, rgba(82, 205, 183, 0.09), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(40, 74, 132, 0.06), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #f4f7f6 52%, #eef3f4 100%);
}

.landing-page .section--paper {
    background:
        radial-gradient(circle at 82% 8%, rgba(82, 205, 183, 0.08), transparent 28%),
        radial-gradient(circle at 12% 92%, rgba(242, 184, 75, 0.08), transparent 30%),
        linear-gradient(145deg, #f7f5ef 0%, #f0f1ee 52%, #e9eef0 100%);
}

.landing-page .section--ink {
    position: relative;
    overflow: hidden;
    border-color: rgba(140, 231, 213, 0.16);
    background:
        radial-gradient(circle at 12% 8%, rgba(82, 205, 183, 0.16), transparent 32%),
        radial-gradient(circle at 88% 82%, rgba(54, 78, 133, 0.24), transparent 38%),
        radial-gradient(circle at 54% 112%, rgba(242, 184, 75, 0.08), transparent 28%),
        linear-gradient(138deg, #070b13 0%, #111c30 48%, #08111f 100%);
}

.landing-page #features {
    background:
        radial-gradient(circle at 82% 10%, rgba(82, 205, 183, 0.16), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(49, 72, 126, 0.3), transparent 38%),
        linear-gradient(152deg, #080d17 0%, #111a2d 52%, #07111d 100%);
}

.landing-page .feature-card {
    border-color: rgba(140, 231, 213, 0.18);
    background:
        radial-gradient(circle at 100% 0%, rgba(82, 205, 183, 0.11), transparent 38%),
        linear-gradient(145deg, rgba(28, 41, 66, 0.96), rgba(10, 17, 31, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.landing-page .editorial-media,
.landing-page .brand-film,
.landing-page .product-proof {
    border-color: rgba(140, 231, 213, 0.28);
    box-shadow: 0 30px 80px rgba(3, 8, 18, 0.22);
}

.landing-page .experience-item,
.landing-page .start-steps li {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(236, 242, 242, 0.42));
}

.landing-page .comparison__row > *:last-child {
    background: linear-gradient(135deg, #e6f8f3 0%, #d9eee9 100%);
}

.landing-page .pricing-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(82, 205, 183, 0.09), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f2f5f4 100%);
    box-shadow: 0 22px 54px rgba(15, 27, 48, 0.08);
}

.landing-page .pricing-card--featured {
    border-color: #126e63;
    background:
        radial-gradient(circle at 88% 8%, rgba(82, 205, 183, 0.28), transparent 38%),
        linear-gradient(145deg, #effbf8 0%, #d9eee9 100%);
}

.landing-page .start-cta {
    background: linear-gradient(110deg, #ffffff 0%, #eef8f5 55%, #e8eef3 100%);
    box-shadow: 0 20px 46px rgba(15, 27, 48, 0.08);
}

.landing-page .button--primary {
    border-color: #8ce7d5;
    background: linear-gradient(120deg, #a8f1e3 0%, #69d9c4 58%, #8ce7d5 100%);
    box-shadow: 0 12px 32px rgba(82, 205, 183, 0.2);
}

.landing-page .button--primary-dark {
    border-color: #1a2c47;
    background: linear-gradient(125deg, #0b1220 0%, #1a2c47 58%, #123e43 100%);
    box-shadow: 0 12px 30px rgba(7, 13, 25, 0.2);
}

.landing-page .closing-cta {
    border-color: rgba(140, 231, 213, 0.2);
    background:
        radial-gradient(circle at 14% 18%, rgba(82, 205, 183, 0.2), transparent 30%),
        radial-gradient(circle at 86% 82%, rgba(57, 82, 143, 0.3), transparent 38%),
        radial-gradient(circle at 58% 120%, rgba(242, 184, 75, 0.09), transparent 28%),
        linear-gradient(135deg, #070b13 0%, #142038 52%, #08111e 100%);
}

@media (max-width: 900px) {
    .site-header__inner {
        grid-template-columns: 144px 1fr;
    }

    .site-nav {
        display: none;
    }

    .site-header__actions {
        justify-content: flex-end;
    }

    .section-heading--split,
    .faq-layout,
    .problem-layout,
    .contact-layout,
    .belief-layout,
    .difference-layout,
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .belief-layout,
    .founder-layout {
        gap: 48px;
    }

    .difference-layout {
        gap: 42px;
    }

    .editorial-media--story,
    .editorial-media--portrait {
        width: min(620px, 100%);
        margin-inline: auto;
    }

    .experience-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .start-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .start-steps li:nth-child(3),
    .start-steps li:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .experience-item:nth-child(3) {
        border-top: 1px solid var(--line);
    }

    .experience-item:nth-child(4) {
        border-top: 1px solid var(--line);
        border-right: 1px solid var(--line);
    }

    .pricing-card {
        padding: 28px 22px;
    }

    .closing-cta__inner,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .cookie-banner__inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-footer__links {
        justify-content: flex-start;
    }

    .document-layout {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 42px;
    }

    .site-footer__copyright {
        text-align: left;
    }
}

@media (max-width: 680px) {
    .page-shell {
        width: min(1180px, calc(100% - 32px));
    }

    .site-header {
        height: 64px;
    }

    .site-header__inner {
        grid-template-columns: 124px 1fr;
        gap: 12px;
    }

    .site-brand {
        width: 120px;
        height: 44px;
    }

    .button--header {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 12px;
    }

    .hero {
        min-height: calc(100svh - 116px);
    }

    .hero__media {
        object-position: center;
    }

    .hero__shade {
        background:
            radial-gradient(circle at 78% 12%, rgba(82, 205, 183, 0.16), transparent 34%),
            linear-gradient(180deg, rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.86) 64%, rgba(5, 10, 20, 0.96)),
            linear-gradient(90deg, rgba(5, 10, 20, 0.68), rgba(5, 10, 20, 0.3));
    }

    .hero__content {
        padding-block: 38px 34px;
    }

    .campaign-badge {
        align-items: flex-start;
        margin-bottom: 18px;
        line-height: 1.55;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero__lead {
        margin-top: 18px;
        font-size: 26px;
    }

    .hero__description {
        margin-top: 16px;
        font-size: 14px;
    }

    .hero__actions {
        margin-top: 24px;
    }

    .hero__actions,
    .closing-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .trust-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip span:nth-child(3),
    .trust-strip span:nth-child(4) {
        border-top: 1px solid #334057;
    }

    .section {
        padding-block: 72px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2,
    .closing-cta h2,
    .document-content h2,
    .support-section h2,
    .support-primary h2,
    .belief-copy h2,
    .founder-copy h2 {
        font-size: 30px;
    }

    .belief-section {
        padding-block: 78px;
    }

    .belief-copy__lead {
        font-size: 14px;
    }

    .brand-film {
        aspect-ratio: 4 / 3;
        margin-top: 42px;
    }

    .brand-film__caption {
        right: 22px;
        bottom: 20px;
        left: 22px;
    }

    .brand-film__caption strong {
        font-size: 18px;
    }

    .product-proof figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .comparison__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparison__row--head {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .comparison__row strong {
        grid-column: 1 / -1;
        border-right: 1px solid var(--line);
        background: #e9ecef;
    }

    .comparison__row:not(.comparison__row--head) span::before {
        display: block;
        margin-bottom: 7px;
        color: var(--muted);
        font-family: Consolas, "Courier New", monospace;
        font-size: 9px;
        font-weight: 700;
    }

    .comparison__row:not(.comparison__row--head) span:nth-child(2)::before {
        content: "一般的なAIチャット";
    }

    .comparison__row:not(.comparison__row--head) span:nth-child(3)::before {
        color: #287d71;
        content: "NovelShaft";
    }

    .document-hero {
        padding-block: 62px 58px;
    }

    .document-hero h1 {
        font-size: 36px;
    }

    .document-layout {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 48px 76px;
    }

    .document-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 18px;
        padding-top: 10px;
    }

    .document-nav p {
        width: 100%;
    }

    .document-nav a {
        padding-block: 5px;
    }

    .document-content section {
        padding-bottom: 36px;
    }

    .document-content section + section {
        padding-top: 36px;
    }

    .document-content h2,
    .support-section h2,
    .support-primary h2 {
        font-size: 23px;
    }

    .document-single,
    .support-page {
        padding-block: 48px 76px;
    }

    .document-table--disclosure th {
        width: 150px;
    }

    .support-primary {
        align-items: stretch;
        flex-direction: column;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .support-grid .support-section + .support-section {
        border-top: 1px solid var(--line);
    }

    .support-section--warning {
        padding-left: 20px;
    }

    .support-contact-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .mobile-only-break {
        display: block;
    }

    .experience-grid,
    .feature-grid,
    .pricing-grid,
    .start-steps {
        grid-template-columns: 1fr;
    }

    .experience-item,
    .experience-item:nth-child(3),
    .experience-item:nth-child(4) {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .experience-item:first-child {
        border-top: 1px solid var(--line);
    }

    .feature-card {
        min-height: 220px;
    }

    .start-steps li,
    .start-steps li:nth-child(3),
    .start-steps li:nth-child(4) {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .start-steps li:first-child {
        border-top: 1px solid var(--line);
    }

    .start-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__footer .button {
        width: 100%;
    }

    .pricing-grid {
        gap: 28px;
    }

    .pricing-card {
        min-height: 390px;
    }

    .closing-cta {
        padding-block: 62px;
    }

    .site-footer {
        padding-block: 42px;
    }

    .cookie-banner__actions,
    .cookie-dialog__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-banner__actions .cookie-button,
    .cookie-dialog__actions .cookie-button {
        width: 100%;
    }

    .cookie-dialog__body {
        padding: 20px;
    }

    .cookie-preference {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .site-header__inner {
        grid-template-columns: 108px 1fr;
        gap: 8px;
    }

    .site-brand {
        width: 104px;
    }

    .site-header__actions {
        gap: 9px;
    }

    .header-login {
        font-size: 11px;
    }

    .button--header {
        padding-inline: 9px;
        font-size: 11px;
    }
}

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

    .button {
        transition: none;
    }
}
