/* Standalone landing page for Däckhotell (/dackhotell). Uses the app's own palette so the
   screenshots sit naturally on the page. No dependency on the rest of the Perkodar site styles. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --slate-50: #F8FAFC; --slate-100: #F1F5F9; --slate-200: #E2E8F0; --slate-300: #CBD5E1;
    --slate-400: #94A3B8; --slate-500: #64748B; --slate-600: #475569; --slate-700: #334155;
    --slate-800: #1E293B; --slate-900: #0F172A;
    --accent-50: #F2FAFA; --accent-100: #DAF1F1; --accent-200: #B4E2E3;
    --accent-500: #1F8F97; --accent-600: #14747D; --accent-700: #125E67;
    --danger-600: #D64545;
    --shot-shadow: 0 1px 2px rgb(15 23 42 / .06), 0 24px 48px -20px rgb(15 23 42 / .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--slate-900);
    background: #fff;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-600); }
a:hover { color: var(--accent-700); }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 1rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: .65rem 1.2rem;
    border: 1px solid transparent; border-radius: 10px;
    font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--accent-600); color: #fff; }
.btn-primary:hover { background: var(--accent-700); color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* hero */
.hero {
    background:
        radial-gradient(1200px 500px at 85% 0%, var(--accent-200), transparent 60%),
        linear-gradient(180deg, var(--accent-50), #fff 85%);
    padding: 88px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.lead { margin-top: 1.5rem; font-size: 1.25rem; color: var(--slate-600); max-width: 34rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.25rem; flex-wrap: wrap; }
.link { font-weight: 600; text-decoration: none; color: var(--slate-700); border-bottom: 2px solid var(--accent-200); padding-bottom: 2px; }
.link:hover { color: var(--slate-900); border-color: var(--accent-500); }
.hero-copy { padding-bottom: 96px; }
/* the devices hang down over the dark section that follows */
.hero-shot { align-self: end; position: relative; z-index: 1; margin-bottom: -88px; }
/* on wide screens the tablet grows out into the page margin to the right */
.devices { position: relative; margin-left: 5%; width: calc(95% + clamp(0px, (100vw - 1180px) / 2 - 8px, 150px)); }
.tablet {
    background: var(--slate-800);
    padding: 2.4%;
    border-radius: 4.2% / 6%;
    box-shadow: 0 0 0 1px var(--slate-600), var(--shot-shadow);
}
.tablet img { display: block; width: 100%; height: auto; border-radius: 1.4% / 2%; }
.phone {
    position: absolute;
    left: -8%;
    bottom: -7%;
    width: 24%;
    background: var(--slate-800);
    padding: 1.1%;
    border-radius: 15% / 7.4%;
    box-shadow: 0 0 0 1px var(--slate-600), 0 18px 36px -12px rgb(15 23 42 / .55);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 12% / 5.9%; }

/* feature sections */
.feature { padding: 104px 0; }
.feature-alt { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.feature-dark { background: var(--slate-900); }
.feature-dark > .wrap:not(.feature-grid) { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.feature-dark .feature-text h2 { color: #fff; }
.feature-dark .feature-text p { color: var(--slate-300); }
/* one big tyre curving in from the left page margin across the three sections in the wrapper, cut off where
   the wrapper ends; it sits in the margin only and slides out of view when the margin is too narrow */
.tire-span { position: relative; overflow: hidden; }
.tire-span::before {
    content: "";
    position: absolute;
    top: 45%;
    right: calc(50% + 598px);
    width: 3000px;
    height: 3000px;
    transform: translateY(-50%);
    background: url(/images/dackhotell-dack.svg) center / contain no-repeat;
    pointer-events: none;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-grid.reverse .feature-text { order: 1; }
.feature-grid.reverse .feature-shot { order: 0; }
.feature-text h2 { margin-bottom: 1.25rem; }
.feature-text p { color: var(--slate-600); }
.feature-text.narrow { max-width: 46rem; }
.feature-shot img {
    border-radius: 14px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shot-shadow);
}
.feature-shot-label { display: flex; justify-content: center; padding: 24px 0; }
.feature-shot-label img {
    max-width: 420px; width: 100%; border-radius: 4px; border: 0; transform: rotate(-3deg);
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
}
.wide-shot { margin-top: 3rem; }
.wide-shot img { border-radius: 14px; border: 1px solid var(--slate-200); box-shadow: var(--shot-shadow); }

/* price */
.price { background: var(--slate-900); color: #fff; padding: 104px 0; }
.price-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.price-figure { color: #fff; font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.price-figure span { font-size: .35em; font-weight: 600; letter-spacing: -0.01em; color: var(--slate-300); }
.price-note { margin-top: .75rem; color: var(--slate-400); }
.price-text p { color: var(--slate-300); }
.price-text h3 { margin-top: 2.5rem; margin-bottom: .75rem; color: #fff; }

/* contact */
.contact {
    padding: 104px 0 112px;
    background: linear-gradient(180deg, #fff, var(--accent-50));
}
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact-copy h2 { margin-bottom: 1.25rem; }
.contact-copy p { color: var(--slate-600); }
.card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -16px rgb(15 23 42 / .14);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; color: var(--slate-700); }
.field input, .field textarea {
    display: block; width: 100%;
    font: inherit; font-size: 1rem; color: var(--slate-900);
    background: #fff;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    padding: .75rem .9rem;
    min-height: 48px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px var(--accent-100);
}
.validated .field input:invalid, .validated .field textarea:invalid { border-color: var(--danger-600); }
.form-error { margin-top: .9rem; color: var(--danger-600); font-size: .95rem; }
.sending { opacity: .5; pointer-events: none; transition: opacity .2s ease; }
.form-done { padding: 24px 0; }
.form-done h3 { margin-bottom: .5rem; }
.form-done p { color: var(--slate-600); }

/* footer */
.foot { border-top: 1px solid var(--slate-200); padding: 32px 0 40px; }
.foot-inner { display: flex; justify-content: center; }
.foot img { opacity: .55; transition: opacity .15s ease; }
.foot a:hover img { opacity: .9; }

/* responsive */
@media (max-width: 900px) {
    body { font-size: 17px; }
    .hero { padding: 56px 0 0; }
    .hero-copy { padding-bottom: 0; }
    .hero-shot { margin-bottom: -72px; }
    .devices { margin-left: 9%; width: auto; }
    .feature-dark > .wrap:not(.feature-grid) { display: block; }
    .hero + .feature-dark { padding-top: 176px; }
    .hero-grid, .feature-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature, .price, .contact { padding: 72px 0; }
    .feature-grid.reverse .feature-text { order: 0; }
    .feature-grid.reverse .feature-shot { order: 1; }
    .feature-shot-label { padding: 16px 12px; }
    .wide-shot { margin-top: 2rem; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .card { padding: 22px; }
    .hero-actions { gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .field input, .field textarea { transition: none; }
}
