/* Colours and fonts are the app's own (src/renderer/style.css in farmer-planner). */
:root {
    --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --pine: #16261D;
    --pine-raised: #1E3327;
    --wheat: #F1E9D2;
    --wheat-deep: #E6DAB4;
    --wheat-light: #F8F3E4;
    --ink: #1C2A20;
    --ink-soft: #5B6456;
    --green: #3F6B44;
    --green-dark: #2C4C31;
    --green-soft: rgba(63, 107, 68, 0.14);
    --amber: #C97A2B;
    --amber-dark: #9C5D1D;
    --amber-soft: rgba(201, 122, 43, 0.18);
    --rust: #A6452B;
    --line: rgba(28, 42, 32, 0.16);
    --line-strong: rgba(28, 42, 32, 0.32);
    --on-pine: #F1E9D2;
    --on-pine-soft: rgba(241, 233, 210, 0.72);

    --wrap: 1160px;
    --gutter: 24px;
    --radius: 16px;
    --radius-small: 8px;
    --section-space: clamp(64px, 9vw, 120px);

    /* Type scale: 16px base, steps of about 1.25. */
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.375rem;
    --fs-xl: clamp(2rem, 4.5vw, 3rem);
    --fs-hero: clamp(3rem, 8.5vw, 6.75rem);
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    background: var(--pine);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

p {
    margin: 0;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10;
    padding: 10px 16px;
    background: var(--amber);
    color: var(--ink);
    font-weight: 600;
    border-radius: var(--radius-small);
}

.skip-link:focus {
    top: 16px;
}

/* ---- header ---- */

.site-header {
    color: var(--on-pine);
    /* The app's dashed amber line under the title bar. */
    background:
        repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 24px) bottom / 100% 2px no-repeat,
        var(--pine);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 76px;
}

.brand img {
    width: 160px;
    height: auto;
}

.site-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.site-nav a {
    font-weight: 500;
    text-decoration: none;
    color: var(--on-pine-soft);
}

.site-nav a:hover {
    color: var(--on-pine);
}

.site-nav a[aria-current="page"] {
    color: var(--on-pine);
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.lang-switch {
    display: flex;
    border: 1.5px solid rgba(241, 233, 210, 0.3);
    border-radius: 999px;
    padding: 3px;
}

.lang-switch a {
    text-decoration: none;
    color: var(--on-pine-soft);
    font: 600 var(--fs-sm) var(--font-mono);
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.lang-switch a:hover {
    color: var(--on-pine);
}

.lang-switch a[aria-current="page"] {
    background: var(--amber);
    color: var(--ink);
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--fs-md);
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.btn-primary {
    background: var(--amber);
    color: var(--ink);
}

.btn-primary:hover {
    background: #DB8C3B;
}

.btn-ghost {
    border-color: rgba(241, 233, 210, 0.4);
    color: var(--on-pine);
}

.btn-ghost:hover {
    border-color: var(--on-pine);
}

/* ---- hero ---- */

.hero {
    position: relative;
    padding-top: clamp(56px, 8vw, 104px);
    color: var(--on-pine);
    /* Faint diagonal rows, like the app's window background. */
    background:
        repeating-linear-gradient(135deg, rgba(241, 233, 210, 0.025) 0 2px, transparent 2px 22px),
        var(--pine);
}

.hero-title {
    max-width: 11ch;
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 0.88;
}

.hero-lead {
    max-width: 60ch;
    margin-top: 28px;
    font-size: var(--fs-md);
    color: var(--on-pine-soft);
}

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

.hero-meta {
    margin-top: 16px;
    font-size: var(--fs-sm);
    color: var(--on-pine-soft);
}

.shot {
    margin: 0;
}

.shot img {
    width: 100%;
    border-radius: var(--radius);
}

.shot-hero {
    position: relative;
    z-index: 1;
    margin: clamp(48px, 7vw, 88px) auto calc(-1 * clamp(80px, 14vw, 200px));
}

.shot-hero img {
    box-shadow: 0 30px 60px rgba(5, 10, 7, 0.45);
}

/* ---- sections on wheat ---- */

.months,
.features,
.start,
.faq {
    background: var(--wheat);
    padding: var(--section-space) 0;
}

.months {
    padding-top: calc(clamp(80px, 14vw, 200px) + var(--section-space));
}

.features,
.start,
.faq {
    border-top: 1px solid var(--line);
}

.section-head {
    max-width: 680px;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: var(--fs-xl);
    color: var(--ink);
}

.section-head p {
    margin-top: 16px;
    font-size: var(--fs-md);
    color: var(--ink-soft);
}

/* ---- month demo ---- */

.month-strip {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    margin-bottom: 20px;
}

.month-strip button {
    padding: 10px 0;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: var(--wheat-light);
    color: var(--ink);
    font: 600 var(--fs-sm) var(--font-mono);
    text-transform: uppercase;
    cursor: pointer;
}

.month-strip button:hover {
    border-color: var(--amber);
}

.month-strip button[aria-pressed="true"] {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    color: var(--wheat-light);
}

.plan-demo {
    background: var(--wheat-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.plan-demo table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: var(--fs-base);
}

.plan-demo th {
    padding: 14px 20px;
    background: var(--wheat-deep);
    border-bottom: 2px solid var(--amber);
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.plan-demo td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.field-no {
    display: inline-block;
    min-width: 32px;
    padding: 2px 8px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-small);
    text-align: center;
    font-size: var(--fs-sm);
}

.state {
    display: inline-block;
    padding: 3px 12px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.state-sow {
    background: var(--amber);
    color: var(--ink);
}

.state-harvest {
    background: var(--green);
    color: var(--wheat-light);
}

.state-growing {
    background: var(--green-soft);
    color: var(--green-dark);
}

.state-toPlant {
    border-color: var(--line-strong);
    color: var(--ink-soft);
}

.plan-summary {
    padding: 16px 20px;
    font-size: var(--fs-base);
    font-weight: 500;
}

/* ---- features ---- */

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

.feature-group {
    padding-top: 20px;
    border-top: 3px solid var(--green);
}

.feature-group h3 {
    font-size: var(--fs-lg);
    margin-bottom: 16px;
}

.feature-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-group li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--ink-soft);
}

.feature-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--amber);
}

/* ---- animals ---- */

.animals {
    padding: var(--section-space) 0;
    background: var(--pine-raised);
    color: var(--on-pine);
}

.animals-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
}

.animals-text h2 {
    font-size: var(--fs-xl);
}

.animals-text p {
    max-width: 52ch;
    margin-top: 20px;
    color: var(--on-pine-soft);
}

.shot-side img {
    box-shadow: 0 24px 48px rgba(5, 10, 7, 0.4);
}

/* ---- steps ---- */

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    max-width: 720px;
}

.steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-md);
}

.steps li::before {
    content: counter(step);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--amber-dark);
}

/* ---- faq ---- */

.faq-list {
    max-width: 720px;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: var(--fs-md);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--amber-dark);
}

.faq details[open] summary::after {
    content: '\2212';
}

.faq details p {
    max-width: 62ch;
    padding-bottom: 20px;
    color: var(--ink-soft);
}

/* ---- footer ---- */

.site-footer {
    padding: 40px 0;
    color: var(--on-pine-soft);
    font-size: var(--fs-sm);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.footer-inner .footer-links {
    margin-left: auto;
}

/* ---- small screens ---- */

@media (max-width: 900px) {
    .feature-groups,
    .animals-inner {
        grid-template-columns: 1fr;
    }

    .feature-groups {
        gap: 36px;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 16px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0 16px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        gap: 20px;
        font-size: var(--fs-sm);
    }

    .lang-switch {
        margin-left: auto;
    }

    .month-strip {
        grid-template-columns: repeat(6, 1fr);
    }

    .plan-demo th,
    .plan-demo td {
        padding: 12px 12px;
    }

    .col-ha {
        display: none;
    }

    .footer-inner .footer-links {
        margin-left: 0;
    }
}

/* ---- hero: furrows and the page-load sequence ---- */

.hero-text,
.shot-hero {
    position: relative;
    z-index: 1;
}

.hero-furrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.furrow-lines {
    fill: none;
    stroke: var(--amber);
    stroke-width: 1.5;
    stroke-opacity: 0.16;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: furrow-draw 2.4s cubic-bezier(0.6, 0, 0.2, 1) 0.2s forwards;
}

.furrow-lines use:nth-child(odd) {
    stroke-opacity: 0.1;
}

@keyframes furrow-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes rise-tilt {
    from {
        opacity: 0;
        transform: perspective(1600px) translateY(80px) rotateX(14deg);
    }
    to {
        opacity: 1;
        transform: perspective(1600px) translateY(0) rotateX(0);
    }
}

.hero-title {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-lead {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both;
}

.hero-actions {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.22s both;
}

.hero-meta {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both;
}

.shot-hero img {
    transform-origin: 50% 100%;
    animation: rise-tilt 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}

/* ---- month demo: controls, map and table side by side ---- */

.month-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.month-controls .month-strip {
    flex: 1;
    margin-bottom: 0;
}

.play-season {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: var(--wheat-light);
    font: 600 var(--fs-sm) var(--font-body);
    white-space: nowrap;
    cursor: pointer;
}

.play-season:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.play-season svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.play-season .icon-stop,
.play-season[aria-pressed="true"] .icon-play {
    display: none;
}

.play-season[aria-pressed="true"] .icon-stop {
    display: block;
}

.months-body {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 24px;
    align-items: start;
}

.farm-map {
    margin: 0;
}

.farm-map svg {
    display: block;
    width: 100%;
    height: auto;
}

.map-ground {
    fill: #C9BB8C;
}

.map-road {
    fill: none;
    stroke: #A89770;
    stroke-width: 12;
}

.map-track {
    fill: none;
    stroke: #A89770;
    stroke-width: 6;
}

.map-field polygon:first-child {
    fill: #9A7B57;
    stroke: rgba(28, 42, 32, 0.35);
    stroke-width: 1.5;
    transition: fill 0.6s ease;
}

.map-rows line {
    stroke: rgba(28, 42, 32, 0.16);
    stroke-width: 2;
}

.map-rows {
    pointer-events: none;
}

.map-field text {
    font: 600 18px var(--font-mono);
    fill: var(--wheat-light);
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(28, 42, 32, 0.55);
    stroke-width: 3px;
    pointer-events: none;
}

.map-field[data-state="toPlant"] polygon:first-child {
    fill: #9A7B57;
}

.map-field[data-state="sow"] polygon:first-child {
    fill: var(--amber);
}

.map-field[data-state="growing"] polygon:first-child {
    fill: #5E8A4F;
}

.map-field[data-state="harvest"] polygon:first-child {
    fill: #D8B45A;
}

/* Fields to sow now get a marching outline, so the eye lands on them first. */
.map-field[data-state="sow"] polygon:first-child {
    stroke: var(--amber-dark);
    stroke-width: 3;
    stroke-dasharray: 10 6;
    animation: march 1.2s linear infinite;
}

@keyframes march {
    to {
        stroke-dashoffset: -16;
    }
}

.map-field.is-hot polygon:first-child {
    stroke: var(--ink);
    stroke-width: 4;
}

.yard-ground {
    fill: #B5A57A;
}

.yard-barn {
    fill: var(--rust);
}

.yard-shed {
    fill: #6E6A5C;
}

.yard-silo {
    fill: #D9D2BC;
    stroke: #8A8470;
    stroke-width: 2;
}

.yard-tree {
    fill: var(--green-dark);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 12px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(28, 42, 32, 0.3);
}

.swatch-toPlant { background: #9A7B57; }
.swatch-sow { background: var(--amber); }
.swatch-growing { background: #5E8A4F; }
.swatch-harvest { background: #D8B45A; }

.plan-demo tbody tr {
    transition: background-color 0.15s;
}

.plan-demo tbody tr:hover {
    background: var(--amber-soft);
}

.plan-demo .state {
    transition: background-color 0.4s, color 0.4s;
}

/* ---- feature icons ---- */

.feature-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-head h3 {
    margin-bottom: 0;
}

.feature-icon {
    flex: none;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- responsive additions ---- */

@media (max-width: 1080px) {
    .month-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .play-season {
        align-self: flex-start;
    }
}

@media (max-width: 960px) {
    .months-body {
        grid-template-columns: 1fr;
    }

    .farm-map {
        max-width: 560px;
    }
}

@media (max-width: 420px) {
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .plan-demo th,
    .plan-demo td {
        padding: 10px 8px;
    }

    .plan-demo table {
        font-size: var(--fs-sm);
    }

    .state {
        padding: 3px 8px;
        font-size: 0.6875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .furrow-lines {
        stroke-dashoffset: 0;
    }
}

/* ---- 404 page ---- */

.not-found {
    min-height: calc(100vh - 78px);
    padding-bottom: clamp(56px, 8vw, 104px);
}

/* ---- shared bits for the subpages ---- */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--on-pine-soft);
}

.footer-links a:hover {
    color: var(--on-pine);
}

.btn-small {
    padding: 8px 18px;
    font-size: var(--fs-sm);
}

/* A subpage opens on pine like the home page, with a smaller title. */
.page-head {
    padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
    color: var(--on-pine);
    background:
        repeating-linear-gradient(135deg, rgba(241, 233, 210, 0.025) 0 2px, transparent 2px 22px),
        var(--pine);
}

.page-title {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
}

.page-lead {
    max-width: 62ch;
    margin-top: 20px;
    font-size: var(--fs-md);
    color: var(--on-pine-soft);
}

/* ---- versions: a timeline, newest first ---- */

.releases,
.contact {
    background: var(--wheat);
    padding: clamp(48px, 7vw, 88px) 0 var(--section-space);
}

.release-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.release {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 0 0 56px 32px;
    border-left: 2px solid var(--line-strong);
}

.release:last-child {
    padding-bottom: 0;
}

/* The dot on the timeline. */
.release::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--wheat);
    border: 2px solid var(--green);
}

.release-latest::before {
    background: var(--amber);
    border-color: var(--amber-dark);
}

.release-head {
    align-self: start;
    position: sticky;
    top: 24px;
}

.release-version {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ink);
}

.release-date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--ink-soft);
}

.release-badge {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--amber);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 600;
}

.release-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 16px;
}

.release-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--green-dark);
}

.release-changes {
    max-width: 72ch;
    color: var(--ink);
}

.release-changes h4 {
    margin: 24px 0 8px;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--green-dark);
}

.release-changes h4:first-child {
    margin-top: 4px;
}

.release-changes ul {
    margin: 0;
    padding-left: 20px;
}

.release-changes li {
    margin-bottom: 8px;
}

.release-changes li ul {
    margin-top: 8px;
}

.release-changes code {
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--wheat-deep);
    font-family: var(--font-mono);
    font-size: 0.875em;
}

.release-more summary {
    display: inline-flex;
    padding: 8px 18px;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.release-more summary::-webkit-details-marker {
    display: none;
}

.release-more summary:hover {
    border-color: var(--green);
}

.release-more[open] summary {
    margin-bottom: 16px;
}

/* ---- contact ---- */

.contact-inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

.channels {
    margin: 0;
    padding: 0;
    list-style: none;
}

.channel {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.channel:first-child {
    padding-top: 0;
}

.channel-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--green);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.channel h2,
.contact-form h2 {
    font-size: var(--fs-lg);
    margin-bottom: 8px;
}

.channel p {
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.channel a {
    font-weight: 600;
    color: var(--green-dark);
    overflow-wrap: anywhere;
}

.contact-form {
    padding: clamp(24px, 4vw, 36px);
    background: var(--wheat-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-form h2 {
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: var(--fs-sm);
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-small);
    background: #FFFDF7;
    color: var(--ink);
    font: inherit;
}

.form-row textarea {
    resize: vertical;
    min-height: 160px;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 3px solid var(--amber);
    outline-offset: 1px;
    border-color: var(--amber-dark);
}

.form-hint {
    margin-top: 6px;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

/* Bots fill it in; people never see it. */
.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-small);
    font-weight: 500;
}

.form-status.is-ok {
    background: var(--green-soft);
    color: var(--green-dark);
}

.form-status.is-error {
    background: rgba(166, 69, 43, 0.12);
    color: var(--rust);
}

.contact-form .btn {
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
}

.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

@media (max-width: 900px) {
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .release {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .release-head {
        position: static;
    }
}

@media (max-width: 720px) {
    .release {
        padding-left: 22px;
    }
}
