:root {
    color-scheme: light;
    --canvas: #f0f2f5;
    --surface: #ffffff;
    --ink: #1f252d;
    --muted: #727d89;
    --line: #dfe3e8;
    --accent: #df4c06;
    --accent-soft: #f7e9e2;
    --green: #087c49;
    --green-soft: #e0f1e8;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--canvas);
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 92% 4%, rgba(223, 76, 6, 0.08), transparent 24rem),
        var(--canvas);
    line-height: 1.68;
}

a {
    color: var(--accent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.brand-mark {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(223, 76, 6, 0.22);
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    margin: 0;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: 0.01em;
}

.brand-subtitle,
.eyebrow,
.meta,
.muted {
    color: var(--muted);
}

.brand-subtitle {
    margin: 1px 0 0;
    font-size: 13px;
}

.hero,
.card {
    border: 1px solid rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(31, 37, 45, 0.08);
    backdrop-filter: blur(18px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 6vw, 48px);
    border-radius: 32px;
    margin-bottom: 24px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 36rem;
}

.beat-signature {
    position: absolute;
    top: 42px;
    right: 42px;
    display: grid;
    justify-items: end;
    gap: 12px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.beat-track {
    display: flex;
    align-items: center;
    gap: 9px;
}

.beat-track span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #c9ced5;
}

.beat-track span:first-child {
    width: 17px;
    height: 17px;
    background: var(--accent);
    box-shadow: 0 0 0 7px var(--accent-soft);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 8vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.lede {
    max-width: 38rem;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 3.5vw, 19px);
}

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

.card {
    padding: 28px;
    border-radius: 24px;
}

.card.full {
    grid-column: 1 / -1;
}

.card h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.card h3 {
    margin: 28px 0 8px;
    font-size: 17px;
}

.card p:first-of-type {
    margin-top: 0;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
    margin-bottom: 0;
}

.icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
}

.icon.green {
    color: var(--green);
    background: var(--green-soft);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 15px;
    color: #fff;
    background: var(--accent);
    font-weight: 720;
    text-decoration: none;
}

.button.secondary {
    color: var(--ink);
    background: #e4e7eb;
}

a:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(223, 76, 6, 0.36);
    outline-offset: 4px;
}

.brand-mark:is(a) {
    text-decoration: none;
}

.notice {
    padding: 16px 18px;
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--accent-soft);
}

.placeholder {
    display: inline-block;
    padding: 2px 8px;
    border: 1px dashed var(--accent);
    border-radius: 8px;
    color: var(--accent);
    background: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92em;
}

ul,
ol {
    padding-left: 1.35em;
}

li + li {
    margin-top: 8px;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 28px 6px 0;
    color: var(--muted);
    font-size: 13px;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 640px) {
    .shell {
        padding-top: 28px;
    }

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

    .card.full {
        grid-column: auto;
    }

    .hero,
    .card {
        border-radius: 22px;
    }

    .beat-signature {
        position: static;
        justify-items: start;
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .button {
        transition: transform 160ms ease, box-shadow 160ms ease;
    }

    .button:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(223, 76, 6, 0.18);
    }


    .beat-track span:first-child {
        animation: beat-pulse 1s ease-out infinite;
    }
}

@keyframes beat-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 7px var(--accent-soft);
    }
    18% {
        transform: scale(1.12);
        box-shadow: 0 0 0 12px rgba(247, 233, 226, 0.42);
    }
}
