:root {
    --canvas: #e5e8d6;
    --mist: #d1d9c7;
    --paper: #f2f5e6;
    --card: #e0e8d6;
    --white-rim: #fdfdfb;
    --ink: #313b33;
    --muted-ink: #57655a;
    --teal: #4a7d6e;
    --rust: #9e6b47;
    --gold: #b8a057;
    --rose: #a57766;
    --shadow: 0 18px 40px rgba(49, 59, 51, 0.09);
    --radius-panel: 32px;
    --radius-card: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 30%),
        radial-gradient(circle at bottom right, rgba(184, 160, 87, 0.16), transparent 28%),
        linear-gradient(180deg, var(--mist), var(--canvas));
    min-height: 100vh;
}

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

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.panel {
    position: relative;
    background: rgba(242, 245, 230, 0.92);
    border: 1px solid rgba(49, 59, 51, 0.08);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow);
    padding: 28px;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: calc(var(--radius-panel) - 10px);
    pointer-events: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
    gap: 24px;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(74, 125, 110, 0.12);
    filter: blur(2px);
}

.eyebrow,
.section-label {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
}

h1,
h2,
h3,
p,
ul {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 4.7vw, 4rem);
    line-height: 0.95;
    margin-bottom: 16px;
    font-weight: 500;
}

h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.05;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

p,
li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-ink);
}

.hero-text {
    max-width: 54ch;
}

.brand-title {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    line-height: 0.88;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.brand-title-main {
    display: inline-flex;
    align-items: flex-end;
}

.brand-j {
    display: inline-block;
    font-size: 1.37em;
    line-height: 0.73;
    margin-right: -0.015em;
}

.brand-apanese-block {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-0.02em);
}

.brand-simple {
    display: block;
    font-size: 0.2em;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
    margin-left: 0.46em;
    margin-bottom: 0;
    transform: translateY(0.25em);
}

.brand-apanese,
.brand-study {
    display: block;
}

.brand-apanese {
    font-weight: 500;
}

.brand-study {
    margin-left: 0.12em;
    font-weight: 500;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-pills span {
    background: rgba(255, 255, 255, 0.65);
    color: var(--ink);
    border: 1px solid rgba(49, 59, 51, 0.08);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.95rem;
    font-weight: 600;
}

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

.app-icon {
    width: min(240px, 100%);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(49, 59, 51, 0.14);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.span-2 {
    grid-column: span 2;
}

.check-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.policy-grid article {
    background: rgba(255, 255, 255, 0.52);
    border-radius: var(--radius-card);
    padding: 20px;
    border: 1px solid rgba(49, 59, 51, 0.06);
}

.support-tip {
    color: var(--ink);
    font-weight: 600;
}

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

.primary-button,
.secondary-button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
    transform: translateY(-1px);
}

.primary-button {
    justify-self: start;
    color: var(--paper);
    background: var(--ink);
    box-shadow: 0 10px 22px rgba(49, 59, 51, 0.18);
}

.secondary-button {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(49, 59, 51, 0.1);
}

.email-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-card);
    border: 1px solid rgba(49, 59, 51, 0.08);
}

.email-address {
    margin-bottom: 0;
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 700;
    word-break: break-word;
}

.email-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.copy-status {
    min-height: 1.6em;
    margin-bottom: 0;
    color: var(--teal);
    font-weight: 600;
}

@media (max-width: 860px) {
    .hero,
    .content-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: auto;
    }

    .panel {
        padding: 24px;
    }

    .hero-mark {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .page-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    .panel {
        padding: 20px;
        border-radius: 26px;
    }

    .panel::before {
        inset: 9px;
        border-radius: 18px;
    }

    .hero-pills span,
    .primary-button,
    .secondary-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
