:root {
    --bg: #FFF7FB;
    --surface: #FFFFFF;
    --surface-pink: #FFF0F6;
    --surface-purple: #F6F1FF;
    --title: #332631;
    --text: #514451;
    --muted: #807080;
    --pink: #FF629F;
    --pink-deep: #E94D8E;
    --peach: #FF9BBC;
    --purple: #936BFF;
    --border: rgba(255, 98, 159, 0.16);
    --border-strong: rgba(255, 98, 159, 0.28);
    --footer: #30232D;
    --footer-text: #FFEAF3;
    --shadow: 0 18px 50px rgba(126, 71, 108, 0.10);
    --shadow-small: 0 10px 28px rgba(126, 71, 108, 0.08);
    --gradient: linear-gradient(135deg, #FF9BBC 0%, #FF629F 50%, #936BFF 100%);
    --max: 1220px;
    --header-h: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

body.drawer-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    border: 0;
}

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

h1,
h2,
h3,
h4 {
    color: var(--title);
    line-height: 1.25;
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-150%);
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--title);
    color: #fff;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: var(--header-h);
    background: rgba(255, 247, 251, 0.90);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(81, 68, 81, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(calc(100% - 40px), var(--max));
    min-height: var(--header-h);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(520px, 2.2fr) minmax(200px, 0.9fr);
    align-items: center;
    gap: 24px;
}

.brand-link,
.drawer-brand,
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.brand-mark {
    width: auto;
    max-width: 164px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.desktop-nav a {
    min-height: 44px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #665666;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active {
    background: var(--surface-pink);
    color: var(--pink-deep);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.button {
    min-height: 48px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 25px rgba(233, 77, 142, 0.22);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(147, 107, 255, 0.26);
    filter: saturate(1.03);
}

.button:active {
    transform: translateY(0);
}

.button-small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
}

.button-secondary {
    background: #fff;
    color: var(--pink-deep);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-small);
}

.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pink-deep);
    font-weight: 800;
}

.text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
    transform: translateX(4px);
}

.menu-button,
.drawer-close {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    background: #fff;
    color: var(--title);
    box-shadow: var(--shadow-small);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    pointer-events: none;
}

.mobile-menu-button {
    display: none;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(48, 35, 45, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2200;
    width: min(410px, 88vw);
    height: 100dvh;
    padding: 24px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 60px rgba(48, 35, 45, 0.18);
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
}

.site-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-close {
    font-size: 30px;
    line-height: 1;
}

.drawer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 22px 0;
}

.drawer-nav a {
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #fff;
    color: #5c4c5a;
    font-weight: 700;
}

.drawer-nav a:hover,
.drawer-nav a:focus-visible,
.drawer-nav a.is-active {
    background: var(--surface-pink);
    border-color: var(--border);
    color: var(--pink-deep);
}

.drawer-note {
    padding: 18px;
    border-radius: 18px;
    background: var(--surface-purple);
}

.drawer-note strong {
    color: var(--title);
}

.drawer-note p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

main {
    min-height: 60vh;
}

.section,
.inner-section {
    position: relative;
    padding: 84px 0;
}

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

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

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 40px), 860px);
    margin: 0 auto;
}

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

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

.eyebrow {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pink-deep);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient);
}

.section-heading h2,
.inner-section h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.035em;
}

.section-heading p,
.lead {
    color: #6e5d6c;
    font-size: 18px;
}

.hero {
    min-height: calc(90vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 72px 0 88px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after,
.inner-hero::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
}

.hero::before {
    width: 380px;
    height: 380px;
    top: -110px;
    right: -80px;
    background: radial-gradient(circle, rgba(255, 155, 188, .34), rgba(255, 155, 188, 0));
}

.hero::after {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(147, 107, 255, .20), rgba(147, 107, 255, 0));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    gap: 70px;
    align-items: center;
}

.hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(58px, 8vw, 106px);
    letter-spacing: -0.07em;
}

.hero-copy .hero-subtitle {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--title);
    font-size: clamp(24px, 3.4vw, 43px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.hero-copy .hero-intro {
    max-width: 760px;
    color: #665666;
    font-size: 18px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.hero-points {
    margin-top: 34px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.hero-points li,
.tag {
    min-height: 36px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .80);
    color: #6a5866;
    font-size: 14px;
    font-weight: 700;
}

.hero-visual,
.media-panel {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 20% -8% -8% 25%;
    z-index: -1;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 155, 188, .34), rgba(147, 107, 255, .22));
    pointer-events: none;
}

.content-media {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 24px;
}

.media-fallback {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 22% 28%, rgba(255,255,255,.90) 0 11%, transparent 12%),
        radial-gradient(circle at 74% 24%, rgba(255,255,255,.70) 0 8%, transparent 9%),
        linear-gradient(150deg, #FFE4F0 0%, #FFF5FA 46%, #EEE8FF 100%);
}

.media-fallback span {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 12px 30px rgba(126,71,108,.08);
    pointer-events: none;
}

.media-fallback span:nth-child(1) {
    width: 64%;
    height: 54%;
    left: 18%;
    top: 21%;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(255,255,255,.94), rgba(255,255,255,.58));
}

.media-fallback span:nth-child(2) {
    width: 72px;
    height: 72px;
    right: 13%;
    top: 12%;
    background: rgba(255,98,159,.20);
}

.media-fallback span:nth-child(3) {
    width: 104px;
    height: 104px;
    left: 8%;
    bottom: 8%;
    background: rgba(147,107,255,.16);
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
    display: grid;
    gap: 22px;
}

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

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.card.soft {
    background: var(--surface-pink);
}

.card.purple {
    background: var(--surface-purple);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.card p {
    color: #6c5b69;
}

.card .text-link {
    margin-top: 8px;
}

.icon-badge {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--surface-pink);
    color: var(--pink-deep);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px var(--border);
}

.quick-grid .card {
    min-height: 205px;
    display: flex;
    flex-direction: column;
}

.quick-grid .text-link {
    margin-top: auto;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.inspiration-card {
    grid-column: span 3;
    min-height: 220px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.inspiration-card:nth-child(1),
.inspiration-card:nth-child(6) {
    grid-column: span 5;
}

.inspiration-card:nth-child(2),
.inspiration-card:nth-child(7) {
    grid-column: span 4;
}

.inspiration-card:nth-child(3),
.inspiration-card:nth-child(8) {
    grid-column: span 3;
}

.inspiration-card:nth-child(4),
.inspiration-card:nth-child(5) {
    grid-column: span 6;
}

.inspiration-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -38px;
    bottom: -38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,155,188,.22), rgba(147,107,255,.17));
    pointer-events: none;
}

.inspiration-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.inspiration-card .tag {
    margin-top: 12px;
    margin-right: 6px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 58px;
    align-items: center;
}

.split.reverse {
    grid-template-columns: minmax(360px, .8fr) minmax(0, 1fr);
}

.prose p {
    color: #665666;
    font-size: 17px;
}

.check-list,
.plain-list,
.step-list,
.timeline,
.link-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 32px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-pink);
    color: var(--pink-deep);
    font-size: 13px;
    font-weight: 900;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.feature-row article {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--border);
}

.feature-row h3 {
    font-size: 19px;
}

.message-callout,
.notice,
.action-panel {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #FFF4F9);
    box-shadow: var(--shadow-small);
}

.notice strong,
.message-callout strong {
    display: block;
    margin-bottom: 8px;
    color: var(--title);
    font-size: 20px;
}

.feedback-card {
    position: relative;
    padding-top: 48px;
}

.feedback-card::before {
    content: "“";
    position: absolute;
    top: 12px;
    left: 24px;
    color: rgba(255, 98, 159, .35);
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1;
    pointer-events: none;
}

.feedback-card footer {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

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

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.faq-list summary {
    min-height: 58px;
    padding: 16px 50px 16px 20px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--title);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pink-deep);
    font-size: 24px;
    pointer-events: none;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0;
    padding: 0 20px 20px;
    color: #675764;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 70px;
    background: linear-gradient(180deg, rgba(255,240,246,.76), rgba(255,247,251,0));
}

.inner-hero::before {
    width: 320px;
    height: 320px;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, rgba(147,107,255,.18), transparent 70%);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 54px;
    align-items: center;
}

.inner-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: -0.055em;
}

.inner-hero .lead {
    max-width: 780px;
}

.inner-hero .media-fallback {
    min-height: 280px;
}

.breadcrumbs {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--pink-deep);
    font-weight: 700;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--border);
    box-shadow: var(--shadow-small);
}

.info-strip article {
    padding: 24px;
    background: #fff;
}

.info-strip h3 {
    margin-bottom: 7px;
    font-size: 19px;
}

.info-strip p {
    color: var(--muted);
    font-size: 14px;
}

.step-list {
    counter-reset: steps;
    display: grid;
    gap: 18px;
}

.step-list li {
    counter-increment: steps;
    padding: 24px 24px 24px 82px;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.step-list li::before {
    content: counter(steps, decimal-leading-zero);
    position: absolute;
    top: 22px;
    left: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--surface-pink);
    color: var(--pink-deep);
    font-weight: 900;
}

.step-list h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 18px;
    width: 2px;
    background: var(--border-strong);
    pointer-events: none;
}

.timeline li {
    position: relative;
    padding-left: 58px;
}

.timeline li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 9px;
    width: 20px;
    height: 20px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 1px var(--border-strong);
}

.timeline h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-list a {
    min-height: 44px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--pink-deep);
    font-weight: 800;
}

.link-list a:hover,
.link-list a:focus-visible {
    border-color: var(--border-strong);
    background: var(--surface-pink);
}

.action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255,240,246,.95), rgba(246,241,255,.95));
}

.action-panel h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 4vw, 38px);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-small);
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.simple-table th,
.simple-table td {
    padding: 17px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.simple-table th {
    background: var(--surface-pink);
    color: var(--title);
}

.simple-table tr:last-child td {
    border-bottom: 0;
}

.site-footer {
    padding: 72px 0 24px;
    background: var(--footer);
    color: var(--footer-text);
}

.footer-shell {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, .7fr);
    gap: 42px;
}

.footer-brand p {
    max-width: 410px;
    margin-top: 18px;
    color: rgba(255,234,243,.72);
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-brand .brand-text {
    background: none;
    color: #fff;
}

.footer-group h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 17px;
}

.footer-group a {
    min-height: 36px;
    display: flex;
    align-items: center;
    color: rgba(255,234,243,.72);
    font-size: 14px;
}

.footer-group a:hover,
.footer-group a:focus-visible {
    color: #fff;
}

.footer-bottom {
    width: min(calc(100% - 40px), var(--max));
    margin: 46px auto 0;
    padding-top: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255,234,243,.13);
    color: rgba(255,234,243,.58);
    font-size: 13px;
}

.footer-bottom p:first-child {
    max-width: 760px;
}

.mobile-tabbar {
    display: none;
}

@media (max-width: 1080px) {
    .nav-shell {
        grid-template-columns: minmax(135px, .7fr) minmax(480px, 2fr) minmax(180px, .8fr);
        gap: 12px;
    }

    .desktop-nav a {
        padding-inline: 10px;
        font-size: 14px;
    }

    .hero-grid,
    .split,
    .split.reverse,
    .inner-hero-grid {
        gap: 42px;
    }

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

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

    .footer-shell {
        grid-template-columns: 1.2fr repeat(2, .8fr);
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 68px;
    }

    .nav-shell {
        width: min(calc(100% - 28px), var(--max));
        min-height: var(--header-h);
        grid-template-columns: 52px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .brand-link {
        justify-self: center;
    }

    .desktop-nav,
    .desktop-menu-button {
        display: none;
    }

    .nav-actions .button {
        min-width: 70px;
        padding-inline: 14px;
    }

    .brand-mark {
        max-width: 134px;
        height: 38px;
    }

    .brand-text {
        font-size: 21px;
    }

    .hero {
        min-height: auto;
        padding-top: 58px;
    }

    .hero-grid,
    .split,
    .split.reverse,
    .inner-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .media-panel {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .inner-hero-grid .media-panel {
        order: 2;
    }

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

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

    .feature-row {
        grid-template-columns: 1fr;
    }

    .inspiration-card,
    .inspiration-card:nth-child(n) {
        grid-column: span 6;
    }

    .action-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-shell {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 64px;
    }

    html {
        scroll-padding-top: calc(var(--header-h) + 12px);
    }

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .nav-shell,
    .container,
    .narrow,
    .footer-shell,
    .footer-bottom {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        min-height: var(--header-h);
    }

    .nav-shell {
        min-height: var(--header-h);
    }

    .menu-button,
    .drawer-close {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .nav-actions .button {
        min-height: 44px;
        padding-inline: 13px;
        font-size: 13px;
    }

    .brand-mark {
        max-width: 116px;
        height: 34px;
    }

    .brand-text {
        font-size: 19px;
    }

    .section,
    .inner-section {
        padding: 62px 0;
    }

    .hero {
        padding: 48px 0 66px;
    }

    .hero-copy h1 {
        font-size: clamp(48px, 18vw, 74px);
    }

    .hero-copy .hero-subtitle {
        font-size: 28px;
    }

    .hero-copy .hero-intro,
    .section-heading p,
    .lead,
    .prose p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .hero-actions .text-link {
        width: 100%;
        justify-content: center;
    }

    .media-fallback {
        min-height: 280px;
    }

    .inner-hero {
        padding: 58px 0 48px;
    }

    .inner-hero h1 {
        font-size: 44px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .info-strip {
        grid-template-columns: 1fr;
    }

    .card,
    .inspiration-card,
    .message-callout,
    .notice,
    .action-panel {
        padding: 22px;
        border-radius: 20px;
    }

    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .inspiration-card,
    .inspiration-card:nth-child(n) {
        grid-column: auto;
        min-height: 0;
    }

    .drawer-nav {
        grid-template-columns: 1fr;
    }

    .site-drawer {
        width: min(88vw, 380px);
        padding: 18px;
    }

    .step-list li {
        padding: 76px 20px 20px;
    }

    .step-list li::before {
        top: 18px;
        left: 20px;
    }

    .action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .action-buttons .button,
    .action-buttons .button-secondary {
        width: 100%;
    }

    .site-footer {
        padding-top: 56px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-tabbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1500;
        min-height: calc(68px + env(safe-area-inset-bottom));
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid var(--border);
        background: rgba(255,255,255,.94);
        box-shadow: 0 -10px 30px rgba(81,68,81,.10);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .mobile-tabbar a {
        min-height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        border-radius: 14px;
        color: #786777;
        font-size: 12px;
        font-weight: 800;
    }

    .mobile-tabbar a span {
        font-size: 18px;
        line-height: 1.1;
        pointer-events: none;
    }

    .mobile-tabbar a.is-active {
        background: var(--surface-pink);
        color: var(--pink-deep);
    }
}

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