@import url("https://fonts.googleapis.com/css2?family=Martian+Mono:wght@200;300;400;500&display=swap");

:root {
    --peach: #feb195;
    --coral: #f67280;
    --mauve: #c06c84;
    --plum: #6c5b7b;
    --paper: #fff8f4;
    --ink: #3f3349;
    --line: rgba(63, 51, 73, 0.22);
    --surface: rgba(255, 248, 244, 0.82);
    --accent: var(--coral);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Martian Mono", monospace;
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.36), transparent 26%),
        linear-gradient(135deg, var(--peach), var(--accent));
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.seo-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.seo-page::before {
    content: "";
    position: fixed;
    inset: 18px;
    z-index: -1;
    border: 1px dashed rgba(63, 51, 73, .32);
    pointer-events: none;
}

.seo-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .2;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 70% 35%, #000 0, transparent 72%);
}

.theme-coral { --accent: var(--coral); }
.theme-mauve { --accent: var(--mauve); }
.theme-plum { --accent: var(--plum); }
.theme-peach { --accent: #f49a79; }

.page-shell {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.site-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 18px;
}

.brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    text-decoration: none;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.nav a {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: .72;
}

.nav a:hover,
.nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(46px, 8vw, 120px);
    min-height: calc(100vh - 150px);
    padding: 58px 0 84px;
}

.copy { max-width: 760px; }
.eyebrow {
    margin: 0 0 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}

h1 {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(44px, 6.8vw, 108px);
    line-height: .94;
    letter-spacing: -.07em;
    font-weight: 500;
    text-wrap: balance;
}

.lead {
    max-width: 780px;
    margin: 34px 0 0;
    font-size: clamp(14px, 1.25vw, 19px);
    line-height: 1.75;
    font-weight: 300;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(63, 51, 73, .48);
    background: rgba(255,255,255,.16);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.btn:hover { background: var(--paper); transform: translateY(-2px); }

.visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.visual::before,
.visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.visual::before {
    inset: 4%;
    border: 1px dashed rgba(63,51,73,.38);
    transform: rotate(-2deg);
}

.visual::after {
    width: 72%;
    height: 72%;
    border: 1px dashed rgba(255,248,244,.64);
    transform: rotate(6deg);
}

.visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(86%, 580px);
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 24px 42px rgba(63,51,73,.16));
}

.details {
    border-top: 1px dashed rgba(63,51,73,.38);
    border-bottom: 1px dashed rgba(63,51,73,.38);
    background: rgba(255,248,244,.3);
}

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

.detail {
    padding: 34px 28px;
    border-right: 1px dashed rgba(63,51,73,.32);
}

.detail:last-child { border-right: 0; }
.detail h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: -.02em; }
.detail p { margin: 0; font-size: 11px; line-height: 1.7; font-weight: 300; }

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0 34px;
    font-size: 9px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
    .site-head { align-items: flex-start; }
    .nav { max-width: 58%; gap: 10px 14px; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding: 56px 0 70px; }
    .visual { min-height: 320px; }
    .details-grid { grid-template-columns: 1fr; }
    .detail { border-right: 0; border-bottom: 1px dashed rgba(63,51,73,.32); }
    .detail:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
    .page-shell { width: min(100% - 28px, 1320px); }
    .seo-page::before { inset: 8px; }
    .site-head { display: block; padding-top: 24px; }
    .nav { max-width: none; justify-content: flex-start; margin-top: 18px; }
    h1 { font-size: clamp(38px, 13vw, 64px); }
    .lead { font-size: 13px; line-height: 1.65; }
    .visual { min-height: 260px; }
    .footer { flex-direction: column; }
}
