/* Anatani.shop marketing landing — Anatani.shop Design System (marketing surface).
   Scoped under .mk so it cannot leak into the app chrome (site.css / tailwind.css). */

.mk {
    --green: #419386;
    --green-deep: #30766C;
    --green-tint: #E4EFED;
    --amber: #F2C87A;
    --amber-strong: #F1C87A;
    --amber-soft: #F7DFB3;
    --coral: #DB796B;
    --ink: #262D2D;
    --muted: #6B7371;
    --muted-deep: #4B5453;
    --line: #E3E4E4;
    --surface: #FFFFFF;
    --paper-warm: #FBFAF6;
    --paper-cool: #FBFDFD;
    --sky: #D1E7F2;
    --sky-soft: #E7F2F8;
    --bar-top: #35899B;
    --bar-main: #A7C5D0;

    --font-body: "Manrope", system-ui, sans-serif;
    --font-display: "Noto Serif", "Noto Serif JP", Georgia, serif;
    --font-jp: "Noto Sans JP", system-ui, sans-serif;
    --font-wordmark: "Figtree", "Manrope", system-ui, sans-serif;

    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper-cool);
    text-wrap: pretty;
}

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

.mk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }

/* --- shared type ------------------------------------------------------- */
.mk-display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.mk-section-title { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.mk-hero-title { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 1.75rem 0 2rem; }
.mk-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 31rem; margin: 0 0 2.5rem; }
.mk-lead-center { margin: 0 auto; max-width: 34rem; }
.mk-small { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }
.mk-jp { font-family: var(--font-jp); }

.mk-kicker { display: flex; align-items: center; gap: .85rem; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--green-deep); }
.mk-center { justify-content: center; text-align: center; }
.mk-kicker-muted { color: var(--muted-deep); }
.mk-kicker-light { color: rgba(255,255,255,.85); }
.mk-rule { width: 34px; height: 1px; background: currentColor; opacity: .9; flex: 0 0 auto; }

.mk-num { font-family: var(--font-display); font-size: 12px; letter-spacing: .06em; color: var(--green-deep); }

.mk-head { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; max-width: 46rem; margin: 0 auto; }
.mk-split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.mk-split-head .mk-section-title { margin-top: 1.5rem; }

/* --- CTA --------------------------------------------------------------- */
.mk-cta {
    display: inline-flex; align-items: center; gap: 1.5rem;
    padding: .95rem 1rem .95rem 1.75rem;
    background: var(--amber); color: var(--ink);
    font-weight: 700; font-size: 1rem; text-decoration: none;
    border-radius: 4px; box-shadow: 0 10px 24px rgba(38,45,45,.10);
    transition: transform 150ms ease, filter 150ms ease;
}
.mk-cta:hover { transform: translateY(-2px); filter: brightness(.97); color: var(--ink); }
.mk-cta-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; font-size: 1rem; flex: 0 0 auto; }
.mk-cta-sm { gap: 1rem; padding: .7rem .8rem .7rem 1.35rem; font-size: .9rem; }
.mk-cta-sm .mk-cta-badge { width: 28px; height: 28px; }

/* --- header + footer moved to chrome.css --------------------------------
   The .mkh* header and .mk-foot* footer are shared site-wide (rendered by _Layout) and now live
   in chrome.css. This file keeps only the landing-specific hero/sections below. */

/* --- hero -------------------------------------------------------------- */
.mk-hero { background: linear-gradient(160deg, #FBFDFD 0%, #F4FAFB 55%, #EEF7FA 100%); padding: 4rem 0 6rem; position: relative; overflow: hidden; }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; align-items: center; }
.mk-hero-copy { min-width: 0; }
.mk-hero-note { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; margin: 1.75rem 0 0; }
.mk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* --- banner carousel --------------------------------------------------- */
.mk-carousel { position: relative; min-width: 0; }
.mk-slides { position: relative; width: 100%; aspect-ratio: 8 / 5; border-radius: 28px; overflow: hidden; background: #E9F1F4; box-shadow: 0 24px 60px rgba(38,45,45,.10); }
.mk-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms cubic-bezier(.2,.6,.2,1); pointer-events: none; }
.mk-slide.is-active { opacity: 1; pointer-events: auto; }
.mk-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-slide-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.95) 44%, rgba(255,255,255,.72) 58%, rgba(255,255,255,0) 80%); pointer-events: none; }
.mk-slide-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: 1.5rem 1.5rem 1.5rem 2rem; width: 50%; max-width: 21rem; pointer-events: none; }
.mk-slide-copy .mk-cta { pointer-events: auto; align-self: flex-start; margin-top: .5rem; }
.mk-slide-kanji { font-family: var(--font-jp); font-size: 1.6rem; color: var(--green); line-height: 1; }
.mk-slide-title { font-size: 1.7rem; }
.mk-slide-text { margin: 0; color: var(--muted-deep); font-size: .8rem; line-height: 1.7; }
.mk-carousel-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.mk-dots { display: flex; gap: .4rem; align-items: center; }
.mk-dot-btn { width: 8px; height: 8px; border-radius: 999px; border: 0; cursor: pointer; padding: 0; background: rgba(38,45,45,.2); transition: width 250ms ease, background 250ms ease; }
.mk-dot-btn.is-active { width: 22px; background: var(--green-deep); }
.mk-arrows { display: flex; gap: .5rem; }
.mk-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; font: inherit; font-size: 1rem; }
.mk-arrow:hover { border-color: var(--green); color: var(--green-deep); }

/* --- sources ----------------------------------------------------------- */
.mk-sources { background: #CEE7F0; padding: 3.5rem 0; border-bottom: 1px solid rgba(38,45,45,.10); }
.mk-sources-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.mk-sources-title { font-size: 1.65rem; margin-bottom: .9rem; }
.mk-source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.mk-source { display: grid; place-items: center; text-align: center; padding: 1.1rem 1.5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; transition: border-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
a.mk-source:hover { border-color: var(--green); color: var(--green-deep); box-shadow: 0 8px 20px rgba(38,45,45,.07); }

/* --- steps ------------------------------------------------------------- */
.mk-steps { background: var(--paper-warm); padding: 6rem 0; }
.mk-step-row { display: flex; gap: .5rem; margin: 4.5rem 0 0; padding: 0; list-style: none; }
.mk-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mk-step:not(.mk-step-last)::after { content: ""; position: absolute; top: 84px; left: 50%; right: -50%; height: 1px; background: var(--line); }
.mk-step-node { position: relative; width: 168px; height: 168px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-warm); display: grid; place-items: center; }
.mk-step-node .mk-num { position: absolute; top: 26px; }
.mk-ico { width: 52px; height: 52px; color: var(--green-deep); }
.mk-step-title { margin: 2rem 0 .9rem; font-weight: 700; font-size: 1.15rem; }
.mk-step-text { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; max-width: 15rem; }

/* --- services cards ---------------------------------------------------- */
.mk-services { background: var(--paper-cool); padding: 6rem 0; }
.mk-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mk-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 2rem 2rem 2.5rem; min-height: 260px; display: flex; flex-direction: column; transition: box-shadow 250ms ease; }
.mk-card:hover { box-shadow: 0 12px 32px rgba(38,45,45,.07); }
.mk-card h3 { margin: auto 0 0; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.mk-card p { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.mk-card::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid var(--green-tint); opacity: .5; pointer-events: none; }
.mk-card-filled { background: var(--green); border-color: transparent; }
.mk-card-filled .mk-num { color: rgba(255,255,255,.75); }
.mk-card-filled h3 { color: #fff; }
.mk-card-filled p { color: rgba(255,255,255,.85); }
.mk-card-filled::after { border-color: rgba(255,255,255,.08); opacity: 1; }

/* --- why / trust ------------------------------------------------------- */
.mk-why { background: var(--sky); padding: 6rem 0; position: relative; overflow: hidden; }
.mk-arc { position: absolute; top: -220px; right: -160px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(38,45,45,.12); }
.mk-why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; position: relative; }
.mk-why .mk-section-title { margin: 1.75rem 0 2rem; }
.mk-why-lead { color: var(--muted-deep); max-width: 27rem; margin-bottom: 3rem; }
.mk-toyama { border-left: 3px solid var(--amber); padding-left: 1.25rem; }
.mk-toyama span { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .12em; color: var(--green-deep); }
.mk-trust { display: flex; gap: 2rem; align-items: flex-start; padding: 2rem 0; border-top: 1px solid rgba(38,45,45,.12); }
.mk-trust-num { width: 54px; height: 54px; border-radius: 50%; background: var(--sky-soft); color: var(--green-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; flex: 0 0 auto; }
.mk-trust h3 { font-weight: 700; font-size: 1rem; margin: 0 0 .6rem; }
.mk-trust p { margin: 0; color: var(--muted-deep); font-size: .9rem; line-height: 1.7; }

/* --- categories (photo grid) ------------------------------------------- */
.mk-cats { background: var(--paper-cool); padding: 6rem 0; }
.mk-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; }
.mk-cat { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); margin: -.5px; background: transparent; transition: background 250ms ease; }
.mk-cat:hover { background: var(--surface); }
.mk-cat-img { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--paper-warm); overflow: hidden; }
.mk-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-cat-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.1rem; }
.mk-cat-label { font-weight: 700; font-size: .8rem; color: var(--ink); }
.mk-cat-arrow { color: var(--muted); font-size: .85rem; }

/* --- FAQ --------------------------------------------------------------- */
.mk-faq { background: var(--paper-warm); padding: 6rem 0; }
.mk-faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.mk-faq .mk-section-title { margin-top: 1.75rem; }
.mk-faq-item { border-top: 1px solid var(--line); padding: 1.75rem 0; }
.mk-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; }
.mk-faq-item summary::-webkit-details-marker { display: none; }
.mk-faq-mark { color: var(--green); font-size: 1.25rem; line-height: 1; flex: 0 0 auto; }
.mk-faq-mark::before { content: "+"; }
.mk-faq-item[open] .mk-faq-mark::before { content: "\00D7"; }
.mk-faq-item p { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; max-width: 44rem; }
.mk-hairline { border-top: 1px solid var(--line); }

/* --- blog & news ------------------------------------------------------- */
.mk-blog { background: var(--paper-warm); padding: 6rem 0; }
.mk-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.mk-blog-head .mk-section-title { margin-top: 1.5rem; }
.mk-blog-all { color: var(--green-deep); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; padding-bottom: .5rem; }
.mk-blog-all:hover { color: var(--green); }

/* Featured card | 2x2 small cards | news panel — the mock's three columns. */
.mk-blog-grid { display: grid; grid-template-columns: 1.15fr 1.5fr 1.05fr; gap: 1.25rem; align-items: start; }
.mk-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.mk-post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow 150ms ease, transform 150ms ease; }
.mk-post:hover { box-shadow: 0 10px 26px rgba(38,45,45,.08); transform: translateY(-2px); }
.mk-post-img { display: block; background: var(--sky-soft); aspect-ratio: 16 / 10; overflow: hidden; }
.mk-post-featured .mk-post-img { aspect-ratio: 4 / 3; }
.mk-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-post-body { display: flex; flex-direction: column; gap: .5rem; padding: .9rem 1rem 1rem; }
.mk-post-title { font-weight: 700; font-size: .85rem; line-height: 1.45; }
.mk-post-featured .mk-post-title { font-size: 1.05rem; line-height: 1.4; }
.mk-post-tag { color: var(--green-deep); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.mk-post-meta { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .78rem; }

.mk-news { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.25rem .35rem; }
.mk-news-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .95rem; padding-bottom: .6rem; }
.mk-news-row { display: grid; grid-template-columns: 5.2rem 1fr; gap: .75rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.mk-news-date { color: var(--green-deep); font-size: .75rem; font-variant-numeric: tabular-nums; }
.mk-news-title { color: var(--ink); font-size: .82rem; line-height: 1.45; }
.mk-news-row:hover .mk-news-title { color: var(--green-deep); }

/* --- customer reviews (Stage 24) --------------------------------------- */
.mk-reviews { padding: 6rem 0; }
.mk-reviews-aside { display: flex; align-items: flex-end; gap: 2.5rem; padding-bottom: .5rem; }
.mk-reviews-score { display: flex; flex-direction: column; gap: .35rem; }
.mk-reviews-score-line { font-size: .8rem; color: var(--ink); }
.mk-reviews-count { color: var(--muted); font-weight: 400; }

.mk-stars { color: var(--amber-strong); letter-spacing: .18em; font-size: .82rem; line-height: 1; }

/* Four across when there are four; auto-fit rather than a fixed four so a shop with two published
   reviews shows two full-width cards instead of two cards and a hole. */
.mk-review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.mk-review { display: flex; flex-direction: column; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem 1.35rem 1.35rem; }
.mk-review-text { margin: 0; font-size: .84rem; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
/* margin-top:auto pins the footer down, so the names sit on one line across the row however long the
   review above them runs. */
.mk-review-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.mk-review-name { font-size: .85rem; font-weight: 700; }
.mk-review-meta { color: var(--muted); font-size: .76rem; }

/* --- final CTA band ---------------------------------------------------- */
.mk-final { background: var(--green-deep); padding: 6rem 0; position: relative; overflow: hidden; text-align: center; }
.mk-final-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 660px; height: 660px; border-radius: 50%; background: rgba(255,255,255,.05); }
.mk-final-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.mk-title-light { color: #fff; }
.mk-final-lead { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; max-width: 34rem; margin: 0 0 1rem; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
    .mk-hero-grid,
    .mk-sources-grid,
    .mk-why-grid,
    .mk-faq-grid,
    .mk-split-head { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .mk-card-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .mk-blog-grid { grid-template-columns: 1fr 1fr; }
    .mk-news { grid-column: 1 / -1; }
    .mk-review-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-step-row { flex-wrap: wrap; gap: 2.5rem 1rem; }
    .mk-step { flex: 1 1 40%; }
    .mk-step:not(.mk-step-last)::after { display: none; }
}
@media (max-width: 720px) {
    .mk-wrap { padding: 0 1.25rem; }

    .mk-hero { padding: 2rem 0 3rem; }
    .mk-steps, .mk-services, .mk-why, .mk-cats, .mk-faq, .mk-blog, .mk-reviews { padding: 3.25rem 0; }
    .mk-blog-grid, .mk-post-grid, .mk-review-grid { grid-template-columns: 1fr; }
    .mk-blog-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    /* The score and the "all reviews" link stack under the title rather than squeezing beside it. */
    .mk-reviews-aside { flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 0; }
    .mk-final { padding: 3.5rem 0; }

    .mk-slides { aspect-ratio: 4 / 5; }
    .mk-slide-scrim { background: linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.35) 78%, rgba(255,255,255,0) 100%); }
    .mk-slide-copy { width: 100%; max-width: none; justify-content: flex-end; padding: 1.25rem; }
    .mk-slide-title { font-size: 1.4rem; }

    .mk-card-grid { grid-template-columns: 1fr; }
    .mk-cat-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2.25rem; }
    .mk-source-grid { grid-template-columns: repeat(2, 1fr); }
    .mk-step-row { flex-direction: column; gap: 2.5rem; margin-top: 2.5rem; }
    .mk-step { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-slide, .mk-cta, .mk-card, .mk-cat, .mk-dot-btn { transition: none; }
}
