/* PikaMood theme styles: mobile-first, local-only, and optimized for a soft product site. */
:root {
    --pm-bg: #fff7fb;
    --pm-surface: rgba(255, 255, 255, 0.84);
    --pm-surface-strong: rgba(255, 255, 255, 0.95);
    --pm-blush: #ffe8f2;
    --pm-blush-strong: #ffd1e0;
    --pm-lavender: #f2e8ff;
    --pm-lavender-strong: #dbd1fa;
    --pm-mint: #e8fff5;
    --pm-mint-strong: #c7f0db;
    --pm-peach: #fff0d6;
    --pm-blue: #e6f5ff;
    --pm-blue-strong: #c2e0fa;
    --pm-accent: #e36b9e;
    --pm-berry: #ff528c;
    --pm-title: #57384d;
    --pm-text: #684d60;
    --pm-muted: #8a667d;
    --pm-border: rgba(87, 56, 77, 0.14);
    --pm-shadow: 0 24px 70px rgba(87, 56, 77, 0.15);
    --pm-soft-shadow: 0 14px 34px rgba(87, 56, 77, 0.11);
    --pm-radius: 24px;
    --pm-radius-small: 14px;
    --pm-content: 1140px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--pm-text);
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 209, 224, 0.84), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(199, 184, 240, 0.72), transparent 24rem),
        radial-gradient(circle at 78% 48%, rgba(199, 240, 219, 0.48), transparent 22rem),
        linear-gradient(180deg, var(--pm-bg), #fffaf1 54%, #f6fbff);
    font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    line-height: 1.65;
}

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

img {
    height: auto;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(255, 82, 140, 0.42);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 20;
    border-radius: 999px;
    background: var(--pm-title);
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 800;
}

.skip-link:focus {
    top: 1rem;
}

.section,
.site-header,
.site-footer {
    width: min(var(--pm-content), calc(100% - 2rem));
    margin-inline: auto;
}

.section {
    padding: 3.75rem 0;
}

.site-header {
    position: sticky;
    top: 0.75rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 48px rgba(87, 56, 77, 0.12);
    padding: 0.62rem 0.72rem;
    backdrop-filter: blur(22px);
}

.site-logo,
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--pm-title);
    font-size: 1.16rem;
    font-weight: 900;
    text-decoration: none;
}

.site-logo__icon,
.site-footer__logo img {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    box-shadow: 0 12px 26px rgba(227, 107, 158, 0.22);
}

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.site-nav__menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
}

.site-nav a {
    color: var(--pm-title);
    font-weight: 800;
    text-decoration: none;
}

.site-nav__menu a {
    display: block;
    border-radius: 999px;
    padding: 0.68rem 0.82rem;
}

.site-nav__menu a:hover {
    background: rgba(255, 232, 242, 0.78);
}

.site-nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid var(--pm-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--pm-title);
    box-shadow: var(--pm-soft-shadow);
    cursor: pointer;
}

.site-nav__toggle-line {
    display: block;
    width: 1.08rem;
    height: 0.12rem;
    margin: 0.12rem 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-open .site-nav__toggle-line:nth-child(1) {
    transform: translateY(0.36rem) rotate(45deg);
}

.site-header.is-open .site-nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .site-nav__toggle-line:nth-child(3) {
    transform: translateY(-0.36rem) rotate(-45deg);
}

.site-header.is-open .site-nav__menu {
    position: absolute;
    top: calc(100% + 0.78rem);
    right: 0;
    display: grid;
    min-width: min(18rem, calc(100vw - 2rem));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--pm-shadow);
    padding: 0.7rem;
    backdrop-filter: blur(22px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pm-accent), var(--pm-berry));
    color: #fff;
    padding: 0.84rem 1.18rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(227, 107, 158, 0.28);
}

.button--small {
    min-height: 2.55rem;
    padding: 0.62rem 0.86rem;
    font-size: 0.92rem;
}

.button--ghost {
    background: var(--pm-surface-strong);
    color: var(--pm-title);
    box-shadow: inset 0 0 0 1px var(--pm-border), var(--pm-soft-shadow);
}

.text-link {
    color: var(--pm-title);
    font-weight: 900;
    text-decoration-color: rgba(227, 107, 158, 0.45);
    text-decoration-thickness: 0.16rem;
    text-underline-offset: 0.22rem;
}

.eyebrow {
    margin: 0 0 0.85rem;
    color: var(--pm-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    color: var(--pm-title);
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: 4rem;
    line-height: 0.96;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 1.28rem;
}

p {
    margin: 0 0 1.1rem;
    font-size: 1.04rem;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: 2.4rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.82), transparent 18rem),
        radial-gradient(circle at 88% 18%, rgba(219, 209, 250, 0.72), transparent 20rem),
        radial-gradient(circle at 78% 82%, rgba(199, 240, 219, 0.66), transparent 24rem),
        linear-gradient(135deg, rgba(255, 232, 242, 0.95), rgba(242, 232, 255, 0.86) 48%, rgba(232, 255, 245, 0.88)),
        var(--pm-blush);
    box-shadow: 0 28px 90px rgba(87, 56, 77, 0.14);
    padding: 3.2rem 1.1rem;
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 999px;
    filter: blur(2px);
}

.hero::before {
    right: -7rem;
    top: -8rem;
    width: 22rem;
    height: 22rem;
    background: rgba(255, 209, 224, 0.56);
}

.hero::after {
    left: 42%;
    bottom: -10rem;
    width: 28rem;
    height: 18rem;
    background: rgba(232, 255, 245, 0.72);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
}

.hero__tagline {
    color: var(--pm-title);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.15;
}

.hero__lede {
    max-width: 39rem;
    color: var(--pm-muted);
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.65rem;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
    margin-top: 1.3rem;
}

.hero__chips span {
    border: 1px solid rgba(87, 56, 77, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--pm-title);
    padding: 0.5rem 0.72rem;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(87, 56, 77, 0.07);
}

.hero__visual {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 232, 242, 0.48));
    box-shadow: 0 28px 82px rgba(87, 56, 77, 0.16);
    backdrop-filter: blur(12px);
    transform: rotate(1deg);
}

.hero__preview {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.feature-band,
.mood-grid,
.two-column,
.three-column {
    display: grid;
    gap: 1rem;
}

.feature-card,
.panel-card,
.page-content,
.privacy-section,
.cta-panel,
.feature-art,
.phone-frame,
.notice,
.support-list article,
.faq-list details {
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    background: var(--pm-surface);
    box-shadow: var(--pm-soft-shadow);
    backdrop-filter: blur(18px);
}

.feature-card,
.panel-card {
    padding: 1.35rem;
}

.feature-card,
.panel-card,
.mood-card,
.support-list article,
.faq-list details {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.panel-card:hover,
.support-list article:hover,
.faq-list details:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(87, 56, 77, 0.13);
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: var(--pm-blush);
    color: var(--pm-accent);
    font-size: 1.45rem;
    font-weight: 900;
}

.feature-card--peach {
    background: linear-gradient(145deg, rgba(255, 240, 214, 0.88), rgba(255, 255, 255, 0.84));
}

.feature-card--mint {
    background: linear-gradient(145deg, rgba(232, 255, 245, 0.9), rgba(255, 255, 255, 0.84));
}

.feature-card--blue {
    background: linear-gradient(145deg, rgba(230, 245, 255, 0.9), rgba(255, 255, 255, 0.84));
}

.split-section,
.locale-section {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.section-heading {
    max-width: 46rem;
    margin-bottom: 1.5rem;
}

.section-heading p,
.section-copy p {
    color: var(--pm-muted);
}

.soft-list,
.trust-list,
.steps-list {
    margin: 1.2rem 0 0;
    padding-left: 1.25rem;
}

.soft-list li,
.trust-list li,
.steps-list li {
    margin-bottom: 0.62rem;
}

.phone-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(8.5rem, 12rem));
    justify-content: center;
    gap: 0.85rem;
    min-height: 25rem;
}

.phone-frame {
    align-self: start;
    overflow: hidden;
    padding: 0.56rem;
    border-radius: 2rem;
    background: linear-gradient(145deg, var(--pm-surface-strong), rgba(255, 232, 242, 0.76));
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 369 / 800;
    border-radius: 1.55rem;
    object-fit: cover;
}

.phone-frame--front {
    margin-top: 1.9rem;
}

.phone-frame--back {
    background: linear-gradient(145deg, rgba(242, 232, 255, 0.9), rgba(255, 255, 255, 0.86));
}

.feature-art {
    overflow: hidden;
    padding: 0.65rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(242, 232, 255, 0.78));
}

.feature-art img {
    width: 100%;
    border-radius: calc(var(--pm-radius) - 8px);
}

.mood-card {
    border-radius: var(--pm-radius);
    padding: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(87, 56, 77, 0.11), var(--pm-soft-shadow);
}

.mood-card h3,
.mood-card p {
    color: inherit;
}

.mood-card--bright {
    background: #ffe8b8;
    color: #50341e;
}

.mood-card--charged {
    background: #ffd1d8;
    color: #552632;
}

.mood-card--soft {
    background: #cff6dd;
    color: #214a3a;
}

.mood-card--heavy {
    background: #d7e6ff;
    color: #26375f;
}

.feeling-tags,
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.feeling-tags {
    margin-top: 1rem;
}

.feeling-tags span,
.pill-row span {
    border: 1px solid rgba(87, 56, 77, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--pm-title);
    padding: 0.48rem 0.7rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.pill-row--compact span {
    font-size: 0.86rem;
    padding: 0.42rem 0.6rem;
}

.locale-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(8.5rem, 12rem));
    justify-content: center;
    gap: 0.85rem;
}

.locale-preview--page {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    margin-top: 2rem;
}

.cta-panel {
    display: grid;
    gap: 1.2rem;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 232, 242, 0.88), rgba(232, 255, 245, 0.82));
}

.cta-panel img {
    justify-self: center;
    width: 8rem;
    height: 8rem;
    border-radius: 2rem;
    box-shadow: var(--pm-soft-shadow);
}

.page-content {
    max-width: 920px;
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding: 1.35rem;
    background:
        radial-gradient(circle at 0 0, rgba(255, 232, 242, 0.7), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 251, 0.76));
}

.page-content h1 {
    font-size: 3rem;
    line-height: 1.02;
}

.legal-copy h2,
.page-content h2 {
    margin-top: 2rem;
    font-size: 1.7rem;
}

.page-content code {
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.76);
    padding: 0.1rem 0.34rem;
    color: var(--pm-title);
    font-size: 0.92em;
}

.support-list,
.faq-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.support-list article,
.notice,
.faq-list details {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.68);
}

.notice h2,
.support-list h2 {
    margin-top: 0;
}

.faq-list summary {
    color: var(--pm-title);
    cursor: pointer;
    font-weight: 900;
}

.faq-list details[open] summary {
    margin-bottom: 0.8rem;
}

.ja-page {
    max-width: 1040px;
}

.site-footer {
    display: grid;
    gap: 1.5rem;
    padding: 2.5rem 0;
    color: var(--pm-muted);
}

.site-footer strong {
    color: var(--pm-title);
    font-size: 1.16rem;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.site-footer a {
    color: var(--pm-title);
    font-weight: 800;
    text-decoration: none;
}

.site-footer__note {
    max-width: 760px;
    font-size: 0.95rem;
}

img.is-missing {
    display: none;
}

@media (min-width: 760px) {
    .section {
        padding: 5rem 0;
    }

    h1 {
        font-size: 5.6rem;
    }

    h2 {
        font-size: 3.1rem;
    }

    .hero__tagline {
        font-size: 2.35rem;
    }

    .hero,
    .split-section,
    .locale-section {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .hero__content {
        padding: 1.8rem;
    }

    .split-section--reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .feature-band,
    .three-column {
        grid-template-columns: repeat(3, 1fr);
    }

    .mood-grid,
    .two-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card,
    .panel-card,
    .page-content {
        padding: 1.8rem;
    }

    .phone-pair {
        grid-template-columns: repeat(2, minmax(11rem, 14rem));
        min-height: 31rem;
    }

    .locale-preview {
        grid-template-columns: repeat(2, minmax(11rem, 14rem));
    }

    .cta-panel {
        grid-template-columns: 9rem 1fr;
        padding: 2rem;
        text-align: left;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

@media (min-width: 900px) {
    .site-nav__toggle {
        display: none;
    }

    .site-header.is-open .site-nav__menu,
    .site-nav__menu {
        position: static;
        display: flex;
        align-items: center;
        min-width: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        backdrop-filter: none;
    }

    .site-nav__menu a {
        padding: 0.58rem 0.76rem;
    }
}

@media (min-width: 1040px) {
    .hero {
        grid-template-columns: 0.88fr 1.12fr;
        min-height: 76vh;
        padding: 5rem 3rem;
    }

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

    .phone-pair {
        grid-template-columns: repeat(2, minmax(12rem, 15rem));
        min-height: 34rem;
    }
}

@media (max-width: 430px) {
    .section,
    .site-header,
    .site-footer {
        width: min(100% - 1rem, var(--pm-content));
    }

    h1 {
        font-size: 3.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .button {
        width: 100%;
    }

    .site-nav .button {
        width: auto;
    }

    .site-header {
        gap: 0.6rem;
    }

    .site-logo {
        gap: 0.48rem;
        font-size: 1rem;
    }

    .site-logo__icon {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 0.86rem;
    }

    .site-nav {
        gap: 0.45rem;
    }

    .site-nav__cta {
        min-height: 2.35rem;
        padding: 0.52rem 0.62rem;
        font-size: 0.78rem;
    }

    .site-nav__toggle {
        width: 2.35rem;
        height: 2.35rem;
    }

    .phone-pair,
    .locale-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        padding: 2.3rem 0.9rem;
    }
}

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

}
