/* ============================================================
   NET3 — brand refresh
   Daylight gallery -järjestelmä (Ada-teema) + Cisco-tyylinen hero.
   Off-white kanvas, litteät valkoiset kortit hiusviivareunoin,
   yksi kirjasin yhdellä leikkauksella (Inter 400), pillerinapit.
   Metsänvihreä #00543d kantaa brändin; jalokiviaksentit vain
   stat-korttien reunapalkkeina.
   ============================================================ */

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

:root {
    /* Värit */
    --ink: #0a0b0c;
    --ink-70: rgba(10, 11, 12, 0.7);
    --ink-60: rgba(10, 11, 12, 0.6);
    --ink-45: rgba(10, 11, 12, 0.45);
    --hairline: rgba(10, 11, 12, 0.12);
    --bone: #f9f9f9;
    --paper: #ffffff;
    --forest: #00543d;
    --forest-deep: #003d2c;
    --periwinkle: #abcbf9;
    --candy-pink: #ffbbfc;
    --butter: #fce88b;
    --forest-wash: #eaf3ef;
    --butter-wash: #fdf6da;
    --danger: #b42318;
    --danger-wash: #fdf1f0;

    /* Hero (tumma pinta — BGP-canvasin maailma) */
    --hero-bg: #040f07;

    /* Typografia — hierarkia koon, ei lihavuuden kautta */
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-caption: 0.75rem;     /* 12 */
    --text-body-sm: 0.875rem;    /* 14 */
    --text-body: 1rem;           /* 16 */
    --text-subheading: 1.25rem;  /* 20 */
    --text-heading-sm: 1.5rem;   /* 24 */
    --text-heading: 2rem;        /* 32 */
    --text-heading-lg: 3rem;     /* 48 */

    /* Muodot: kortit 8, kentät 4, napit pilleri */
    --radius-card: 8px;
    --radius-input: 4px;
    --radius-pill: 9999px;

    /* Z-akseli */
    --z-nav: 100;
    --z-menu: 110;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: var(--text-body);
    color: var(--ink);
    line-height: 1.56;
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--forest);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
    color: var(--forest-deep);
}

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

h1, h2, h3, h4 {
    font-weight: 400;
    text-wrap: balance;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-paper {
    background: var(--paper);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.2vw, var(--text-heading-lg));
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--ink-60);
    max-width: 640px;
    margin: 0 auto;
    text-wrap: pretty;
}

/* ===== Napit — pillerit, ei gradientteja, ei varjoja ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: inherit;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
    background: var(--forest);
    color: #ffffff;
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
    color: #ffffff;
}

.btn-dark {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

.btn-dark:hover {
    background: #26282a;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--hairline);
}

.btn-outline:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ===== Ilmoituspalkki ===== */
.announce {
    background: var(--ink);
    color: #ffffff;
    padding: 9px 0;
    font-size: var(--text-body-sm);
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.announce p {
    color: rgba(255, 255, 255, 0.85);
}

.announce a {
    color: #ffffff;
    background: var(--forest);
    border-radius: var(--radius-pill);
    padding: 4px 14px;
    white-space: nowrap;
}

.announce a:hover {
    background: var(--forest-deep);
    color: #ffffff;
}

/* ===== Navigaatio ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
}

.logo-text {
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
}

.logo-text-green {
    color: var(--ink);
}

.logo-three {
    color: var(--forest);
    margin-left: 1px;
}

.logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--forest);
    align-self: center;
    transform: translateY(-8px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: var(--ink);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--forest);
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.25s;
}

/* ===== Hero — tumma täysleveä pinta ===== */
.hero {
    position: relative;
    background: var(--hero-bg);
    color: #ffffff;
    overflow: hidden;
}

/* Etusivun hero: pehmeä "huurrelasi"-tausta (Ada) — suuret utuiset
   väripesät ilman kuvaa. Ei animaatiota, ei canvasia. */
.hero-blobs {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 42% 48% at 76% 24%, rgba(0, 132, 96, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 36% 44% at 92% 72%, rgba(171, 203, 249, 0.20) 0%, transparent 70%),
        radial-gradient(ellipse 46% 52% at 58% 88%, rgba(0, 84, 61, 0.65) 0%, transparent 72%),
        radial-gradient(ellipse 30% 36% at 22% 12%, rgba(252, 232, 139, 0.10) 0%, transparent 70%);
    filter: blur(48px);
    pointer-events: none;
}

.hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(4, 15, 7, 0.94) 0%,
        rgba(4, 15, 7, 0.72) 42%,
        rgba(4, 15, 7, 0.28) 75%,
        rgba(4, 15, 7, 0.15) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding-top: 112px;
    padding-bottom: 112px;
    min-height: min(760px, 88vh);
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
    margin-bottom: 36px;
    text-wrap: pretty;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Saatavuuskortti — sivun tärkein elementti ===== */
.hero-check {
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--radius-card);
    padding: 32px 28px;
}

.hero-check-title {
    font-size: var(--text-heading-sm);
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-check-sub {
    font-size: var(--text-body-sm);
    color: var(--ink-60);
    margin-bottom: 24px;
    text-wrap: pretty;
}

.availability-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-optional {
    color: var(--ink-45);
    font-size: 0.85em;
}

.hero-check-stats {
    display: flex;
    border-top: 1px solid var(--hairline);
    margin-top: 24px;
    padding-top: 18px;
}

.hc-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    border-right: 1px solid var(--hairline);
    padding: 0 8px;
}

.hc-stat:last-child {
    border-right: none;
}

.hc-val {
    font-size: var(--text-subheading);
    color: var(--ink);
    line-height: 1.2;
}

.hc-lbl {
    font-size: var(--text-caption);
    color: var(--ink-60);
}

/* ===== Alasivujen otsakelohko ===== */
.page-head {
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 80px 0 64px;
}

.page-head h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.page-head p {
    color: var(--ink-60);
    font-size: 1.125rem;
    max-width: 640px;
    text-wrap: pretty;
}

/* ===== Kohderyhmäpolut (etusivu) ===== */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.audience-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.18s ease;
}

.audience-card:hover {
    border-color: var(--ink);
}

.audience-card h3 {
    font-size: var(--text-heading);
    line-height: 1.2;
}

.audience-card p {
    color: var(--ink-70);
    font-size: var(--text-body);
    text-wrap: pretty;
    flex-grow: 1;
}

.audience-card .btn {
    margin-top: 12px;
}

/* ===== Hintalappu (kotiliittymät) ===== */
.plan-price {
    display: block;
    font-size: var(--text-heading);
    line-height: 1.1;
    margin-top: 14px;
    color: var(--ink);
}

.plan-price .per {
    font-size: var(--text-body-sm);
    color: var(--ink-60);
}

/* ===== Tekniikkasivu (verkko.html) ===== */
.hero-compact .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 88px;
    padding-bottom: 88px;
    min-height: min(560px, 70vh);
    align-content: center;
}

.hero-compact .hero-copy {
    max-width: 640px;
}

.tech-lead {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
    color: var(--ink-70);
    font-size: 1.1rem;
    text-wrap: pretty;
}

.spec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    background: var(--paper);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-body-sm);
    min-width: 640px;
}

.spec-table th,
.spec-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
    vertical-align: top;
}

.spec-table thead th {
    font-weight: 400;
    color: var(--ink-60);
    font-size: var(--text-caption);
    background: var(--bone);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-table tbody th {
    font-weight: 400;
    color: var(--ink);
    white-space: nowrap;
}

.spec-table td {
    color: var(--ink-70);
}

.link-more {
    display: inline-block;
    margin-top: 24px;
    font-size: var(--text-body-sm);
}

.link-more::after {
    content: ' →';
}

.plans-note {
    text-align: center;
    color: var(--ink-60);
}

.ddos-cta .link-more {
    color: rgba(255, 255, 255, 0.75);
    margin: 16px 0 0;
    display: block;
}

.ddos-cta .link-more:hover {
    color: #ffffff;
}

/* ===== Lomakekentät ===== */
.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0; /* estää select-kentän intrinsic-leveyttä levittämästä gridiä */
}

.form-group select {
    width: 100%;
    min-width: 0;
}

.form-group label {
    font-size: var(--text-body-sm);
    color: var(--ink-70);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-input);
    font-size: var(--text-body);
    font-family: inherit;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(0, 84, 61, 0.12);
}

/* ===== Saatavuustulos ===== */
.availability-result {
    text-align: center;
    margin-top: 20px;
    padding: 24px 20px;
    border-radius: var(--radius-card);
    background: var(--bone);
    border: 1px solid var(--hairline);
}

.result-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 10px;
}

.availability-result h3 {
    font-size: var(--text-subheading);
    line-height: 1.3;
    margin-bottom: 6px;
}

.availability-result p {
    font-size: var(--text-body-sm);
    color: var(--ink-70);
}

.availability-result.success {
    background: var(--forest-wash);
    border-color: rgba(0, 84, 61, 0.3);
}

.availability-result.partial {
    background: var(--butter-wash);
    border-color: rgba(180, 140, 20, 0.3);
}

/* ===== Stat-kortit — neljä aksenttiväriä reunapalkkeina ===== */
.stats-band {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
}

.stat-forest::before     { background: var(--forest); }
.stat-periwinkle::before { background: var(--periwinkle); }
.stat-pink::before       { background: var(--candy-pink); }
.stat-butter::before     { background: var(--butter); }

.stat-value {
    display: block;
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.stat-desc {
    display: block;
    font-size: var(--text-body-sm);
    color: var(--ink-70);
    max-width: 26ch;
}

/* ===== Liittymäkortit ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.plan-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.18s ease;
}

.plan-card:hover {
    border-color: var(--ink);
}

.plan-card.popular {
    border-color: var(--forest);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--forest);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: var(--text-caption);
}

.plan-header {
    margin-bottom: 20px;
}

.plan-header h3 {
    font-size: var(--text-heading-sm);
    line-height: 1.25;
    margin-bottom: 4px;
}

.plan-speed {
    color: var(--ink-60);
    font-size: var(--text-body);
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    padding: 9px 0;
    border-top: 1px solid var(--hairline);
    font-size: var(--text-body-sm);
    color: var(--ink-70);
}

.plan-features li::before {
    content: '✓';
    color: var(--forest);
    margin-right: 10px;
}

/* ===== Miksi NET3 — pelkkä typografia ja tila, ei kortteja ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    max-width: 1040px;
    margin: 0 auto;
}

.feature-item {
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
}

.feature-item h3 {
    font-size: var(--text-subheading);
    line-height: 1.3;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: var(--text-body-sm);
    color: var(--ink-70);
    line-height: 1.6;
    text-wrap: pretty;
}

/* ===== Yrityksille ===== */
.business-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.business-text h2 {
    font-size: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 16px;
}

.business-text > p {
    color: var(--ink-60);
    font-size: 1.1rem;
    margin-bottom: 28px;
    text-wrap: pretty;
}

.business-features {
    list-style: none;
    margin-bottom: 32px;
}

.business-features li {
    padding: 10px 0;
    border-top: 1px solid var(--hairline);
    color: var(--ink-70);
    display: flex;
    align-items: center;
    gap: 12px;
}

.business-features li::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--forest);
    border-radius: 50%;
    flex-shrink: 0;
}

.business-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-card {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.visual-speed {
    font-size: var(--text-heading);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.visual-label {
    font-size: var(--text-body-sm);
    color: var(--ink-60);
    text-align: right;
}

/* ===== DDoS — sivun toinen tumma pinta ===== */
.ddos-section {
    background: var(--ink);
    color: #ffffff;
}

.ddos-section .section-header h2 {
    color: #ffffff;
}

.ddos-section .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.ddos-stats-row {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 780px;
    margin: 0 auto 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ddos-stat {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.ddos-stat:last-child {
    border-right: none;
}

.ddos-stat-value {
    display: block;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    line-height: 1.15;
}

.ddos-stat-label {
    display: block;
    font-size: var(--text-caption);
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.ddos-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 56px;
    max-width: 1040px;
    margin: 0 auto 64px;
}

.ddos-text h3 {
    font-size: var(--text-subheading);
    line-height: 1.3;
    margin-bottom: 8px;
    color: #ffffff;
}

.ddos-text p {
    font-size: var(--text-body-sm);
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    max-width: 58ch;
    text-wrap: pretty;
}

.ddos-cta {
    text-align: center;
}

.ddos-cta p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--hairline);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    font-size: var(--text-subheading);
    font-weight: 400;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    line-height: 1.35;
    transition: color 0.18s ease;
}

.faq-question:hover {
    color: var(--forest);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--ink-45);
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--forest);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer > div {
    overflow: hidden;
    min-height: 0;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    color: var(--ink-70);
    line-height: 1.65;
    max-width: 65ch;
    text-wrap: pretty;
    padding-bottom: 22px;
}

/* ===== Tarjouspyyntö ===== */
.order-form-container {
    max-width: 760px;
    margin: 0 auto;
}

.order-form {
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

.form-footer {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-body-sm);
    color: var(--ink-70);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
    accent-color: var(--forest);
}

.order-success {
    text-align: center;
    padding: 64px 40px;
    background: var(--paper);
    border: 1px solid rgba(0, 84, 61, 0.3);
    border-radius: var(--radius-card);
}

.success-icon {
    width: 56px;
    height: 56px;
    background: var(--forest);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.order-success h3 {
    font-size: var(--text-heading-sm);
    margin-bottom: 8px;
}

.order-success p {
    color: var(--ink-70);
    max-width: 46ch;
    margin: 0 auto;
}

.order-error {
    margin-top: 20px;
    padding: 16px 18px;
    background: var(--danger-wash);
    border: 1px solid rgba(180, 35, 24, 0.3);
    color: var(--danger);
    border-radius: var(--radius-card);
    font-size: var(--text-body-sm);
}

.order-error .btn {
    margin-top: 8px;
}

/* ===== Yhteystiedot — ei kortteja, hiusviivat ja tila ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-item {
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
}

.contact-item h3 {
    font-size: var(--text-body-sm);
    color: var(--ink-60);
    margin-bottom: 8px;
}

.contact-value {
    font-size: var(--text-subheading);
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 4px;
}

.contact-value a {
    color: var(--ink);
}

.contact-value a:hover {
    color: var(--forest);
}

.contact-detail {
    font-size: var(--text-body-sm);
    color: var(--ink-60);
}

/* ===== Legal-sivut ===== */
.legal-page {
    padding-top: 72px;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    color: var(--ink);
    line-height: 1.7;
}

.legal-content .legal-meta {
    color: var(--ink-60);
    font-size: var(--text-body-sm);
    margin-bottom: 40px;
}

.legal-content h1 {
    font-size: var(--text-heading-lg);
    line-height: 1.1;
    margin-bottom: 8px;
}

.legal-content h2 {
    font-size: var(--text-heading-sm);
    margin: 40px 0 12px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--ink-70);
}

.legal-content ul {
    margin: 8px 0 18px 22px;
    padding: 0;
    color: var(--ink-70);
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content .legal-note {
    background: var(--forest-wash);
    border: 1px solid rgba(0, 84, 61, 0.25);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    margin: 24px 0 32px;
    font-size: var(--text-body-sm);
}

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: var(--text-body-sm);
    max-width: 280px;
}

.footer .logo-text,
.footer .logo-text-green {
    color: #ffffff;
}

.footer .logo-three {
    color: #6fbf9e;
}

.footer .logo-dot {
    background: #6fbf9e;
}

.footer-links h4 {
    color: #ffffff;
    font-weight: 400;
    font-size: var(--text-body-sm);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-body-sm);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    text-align: center;
    font-size: var(--text-caption);
}

/* ===== Responsiivisuus ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 72px;
        padding-bottom: 72px;
        min-height: 0;
    }

    .hero canvas {
        display: none;
    }

    .hero-shade {
        background: rgba(4, 15, 7, 0.35);
    }

    .hero {
        background:
            radial-gradient(ellipse at 80% 10%, rgba(0, 84, 61, 0.55) 0%, transparent 55%),
            var(--hero-bg);
    }

    .hero-check {
        max-width: 520px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

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

    .business-section {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 8px 24px 16px;
        gap: 0;
        border-bottom: 1px solid var(--hairline);
        z-index: var(--z-menu);
    }

    .nav-links.active li {
        padding: 12px 0;
        border-bottom: 1px solid var(--hairline);
    }

    .nav-links.active li:last-child {
        border-bottom: none;
    }

    .section {
        padding: 64px 0;
    }

    .stats-band {
        padding: 56px 0;
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .hero-check {
        padding: 28px 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ddos-stats-row {
        flex-direction: column;
    }

    .ddos-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        padding: 20px 16px;
    }

    .ddos-stat:last-child {
        border-bottom: none;
    }

    .ddos-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .full-width {
        grid-column: span 1;
    }

    .order-form {
        padding: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== Vähennetty liike ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
