:root {
    color-scheme: light;
    --ink: #3a2e25;
    --muted: #7d6a58;
    --line: rgba(58, 46, 37, 0.12);
    --paper: #fbf6ef;
    --sand: #f3e4d0;
    --accent: #e89e45;
    --accent-deep: #c97a2a;
    --wood: #6b4429;
    --shadow: 0 26px 80px rgba(90, 60, 30, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 92% 0%, rgba(232, 158, 69, 0.28), transparent 34rem),
        radial-gradient(circle at 6% 12%, rgba(243, 228, 208, 0.9), transparent 30rem),
        linear-gradient(180deg, #fbf6ef 0%, #f8efe3 52%, #f3e4d0 100%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 14px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(251, 246, 239, 0.84);
    box-shadow: 0 12px 38px rgba(90, 60, 30, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.brand,
.site-header nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    padding-left: 4px;
    font-weight: 800;
}

.brand img {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(232, 158, 69, 0.28);
}

.site-header nav {
    gap: 6px;
}

.site-header nav a {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-header nav a:hover {
    color: var(--ink);
    background: rgba(58, 46, 37, 0.06);
}

.site-header .nav-download {
    color: white;
    background: var(--ink);
}

.site-header .nav-download:hover {
    color: white;
    background: #2a211a;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100svh - 88px);
    margin: 0 auto;
    padding: 52px 0 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 900;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 6.4vw, 76px);
    line-height: 1.08;
}

.hero-text {
    max-width: 560px;
    margin: 26px 0 0;
    color: #5a4a3c;
    font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(90, 60, 30, 0.12);
}

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

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
    margin: 38px 0 0;
}

.facts div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
}

.facts dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.facts dd {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 900;
}

.hero-visual {
    position: relative;
    padding: 48px 0;
}

.hero-visual::before {
    position: absolute;
    inset: 4% 3% 4% 8%;
    content: "";
    border-radius: 44px;
    background: linear-gradient(135deg, rgba(232, 158, 69, 0.85), rgba(243, 228, 208, 0.9));
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}

/* A phone held sideways: dark bezel around a landscape screenshot. */
.device {
    position: relative;
    padding: 10px;
    border-radius: 34px;
    background: #1c1816;
    box-shadow: 0 30px 70px rgba(40, 26, 14, 0.3);
}

.device img {
    width: 100%;
    border-radius: 25px;
}

.hero-visual .device {
    transform: rotate(-1.5deg);
}

/* Sections */

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0;
}

.intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.trust h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 50px);
    line-height: 1.14;
}

.intro > p {
    align-self: end;
    margin: 0;
    color: #5a4a3c;
    font-size: 20px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading h2 {
    max-width: 760px;
}

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

.feature-card {
    min-height: 236px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(90, 60, 30, 0.08);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--accent), #f2c27e);
    font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
    background: linear-gradient(135deg, var(--wood), #a0683f);
}

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

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* Screens: landscape play pages on top, portrait pages below. */

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

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

.screens figure {
    margin: 0;
    padding: 12px 12px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 60px rgba(90, 60, 30, 0.1);
}

.screens figure img {
    width: 100%;
    border-radius: 8px;
}

.screen-wide img {
    aspect-ratio: 1400 / 644;
    object-fit: cover;
}

.screen-tall img {
    aspect-ratio: 640 / 1180;
    object-fit: cover;
    object-position: top;
}

.screens figcaption {
    padding: 14px 4px 0;
    color: #4a3b2f;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

/* Pro */

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

.pro-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 50px rgba(90, 60, 30, 0.08);
}

.pro-card.highlight {
    border-color: rgba(232, 158, 69, 0.5);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(243, 228, 208, 0.82));
}

.pro-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.pro-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 1.2em;
    color: #5a4a3c;
}

.pro-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* Trust block */

.trust {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: stretch;
    margin-bottom: 58px;
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(243, 228, 208, 0.95), rgba(232, 158, 69, 0.55));
    box-shadow: var(--shadow);
}

.trust-copy p:last-child {
    max-width: 690px;
    margin: 20px 0 0;
    color: #4a3b2f;
    font-size: 18px;
}

.trust-links {
    display: grid;
    gap: 12px;
    align-content: center;
}

.trust-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    font-weight: 900;
}

.trust-links a::after {
    content: "→";
}

/* Other apps */

.app-catalog {
    margin-bottom: 58px;
    padding-top: 0;
}

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

.app-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 20px 54px rgba(90, 60, 30, 0.08);
}

.app-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--wood), var(--accent));
    font-size: 24px;
    font-weight: 900;
}

.app-kicker {
    margin: 0 0 2px;
    color: var(--accent-deep);
    font-size: 13px;
    font-weight: 900;
}

.app-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.app-card p:not(.app-kicker) {
    margin: 0;
    color: var(--muted);
}

.app-card a {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    color: white;
    background: var(--ink);
    font-weight: 900;
}

.app-card a::after {
    content: "→";
}

/* Footer */

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

/* Sub pages */

.page-hero {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0 34px;
}

.page-hero h1 {
    max-width: 12em;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: #5a4a3c;
    font-size: clamp(18px, 2vw, 21px);
}

.policy-content {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto 68px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 70px rgba(90, 60, 30, 0.1);
}

.policy-content h2 {
    margin: 34px 0 12px;
    font-size: 26px;
    line-height: 1.25;
}

.policy-content h2:first-of-type {
    margin-top: 10px;
}

.policy-content h3 {
    margin: 20px 0 8px;
    font-size: 19px;
}

.policy-content p,
.policy-content li {
    color: #4f4033;
    font-size: 17px;
}

.policy-content a {
    color: var(--accent-deep);
    font-weight: 800;
}

.policy-content ul {
    padding-left: 1.25em;
}

.summary {
    padding: 18px 22px;
    border-radius: 8px;
    background: rgba(243, 228, 208, 0.7);
}

.summary p {
    margin: 0;
}

.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: stretch;
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(243, 228, 208, 0.95), rgba(232, 158, 69, 0.55));
    box-shadow: var(--shadow);
}

.support-panel h2 {
    margin: 0;
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.14;
}

.support-panel p {
    max-width: 660px;
    color: #4a3b2f;
    font-size: 18px;
}

.support-actions {
    margin-top: 26px;
}

.support-actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.copy-status {
    min-height: 28px;
    margin: 14px 0 0;
    font-weight: 800;
}

.support-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.support-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.support-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.15em;
    color: #4f4033;
}

.faq {
    padding-top: 72px;
}

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

.faq-list details {
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.faq-list summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.faq-list details p {
    margin: 12px 0 0;
    color: #4f4033;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding-top: 42px;
    }

    .intro,
    .trust,
    .support-panel,
    .pro-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

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

@media (max-width: 680px) {
    .site-header {
        align-items: stretch;
        border-radius: 22px;
    }

    .brand span {
        display: none;
    }

    .site-header nav {
        width: 100%;
        justify-content: flex-end;
        gap: 2px;
    }

    .site-header nav a {
        padding: 8px 9px;
        font-size: 13px;
    }

    .hero {
        gap: 12px;
        padding-bottom: 46px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .facts,
    .feature-grid,
    .screen-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .facts div {
        padding: 13px 14px;
    }

    .hero-visual {
        padding: 28px 0;
    }

    .device {
        padding: 6px;
        border-radius: 22px;
    }

    .device img {
        border-radius: 17px;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        display: block;
    }

    .trust {
        padding: 28px 18px;
    }

    .page-hero {
        padding-top: 54px;
    }

    .policy-content,
    .support-panel {
        padding: 28px 18px;
    }

    .site-footer {
        display: block;
    }

    .site-footer p + p {
        margin-top: 8px;
    }
}

/* An email address as a heading: small enough to stay on one line on phones. */
#mail-title {
    font-size: clamp(22px, 5.6vw, 40px);
}
