/* Copyright 2026 Cocktails Inc. All rights reserved.
 * Device Fabrik Link - marketing site stylesheet.
 * Built from the "DFL Landing page" Claude Design canvas: a light page, Plus Jakarta Sans for text
 * and IBM Plex Mono for the small technical labels. Both fonts are self-hosted (assets/fonts, SIL
 * Open Font License) so the page makes no request to a font CDN. Single file, no build step. */

/* ---------------------------------------------------------------- fonts (latin subset) */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-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;
}

/* ---------------------------------------------------------------- tokens */

:root {
  --ink:        #0B1B33;  /* headings and strong text */
  --text:       #3D4A5E;  /* body text */
  --text-2:     #4A5669;
  --muted:      #5A6678;
  --blue:       #1D5FD6;  /* primary actions, eyebrows */
  --blue-hover: #174FB8;
  --blue-dark:  #0F3F99;
  --blue-2:     #1F7AE8;  /* accent of the brand mark */
  --mark:       #FCE28C;  /* keyword highlighter - used once, in the hero */
  --navy:       #0B2A63;  /* brand mark, step numbers */
  --night:      #0A1730;  /* dark sections */
  --tint:       #F4F8FE;  /* light sections and cards */
  --pill:       #EEF4FD;
  --grid:       #EEF3FA;  /* hero background grid */
  --line:       #E6ECF4;
  --line-2:     #DCE5F2;
  --line-3:     #CBD5E3;
  --field:      #C3CEDD;
  --ok:         #15803D;
  --ok-bg:      #E8F6EE;
  --err:        #B42318;
  --on-night:   #C2CEE0;
  --on-night-2: #A9B8CF;
  --on-night-3: #8DB8FF;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 77px;
  --shadow-card: 0 24px 48px -32px rgba(11, 27, 51, .3);
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: #FFFFFF; color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: var(--header-h); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #FFFFFF; text-decoration: none;
}
.skip:focus { top: 12px; color: #FFFFFF; }

.ic { width: 18px; height: 18px; flex: none; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px;
  font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .ic { stroke-width: 2; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-hover); color: #FFFFFF; }
.btn-ghost { background: #FFFFFF; border-color: var(--line-3); color: var(--ink); padding: 0 22px; }
.btn-ghost:hover { border-color: #9EB0C9; background: #F8FAFD; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; }

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }

.brand { display: flex; align-items: center; flex: none; }
.brand-logo { width: auto; height: 48px; }

.nav { display: flex; align-items: center; gap: 8px 28px; }
.nav-link, .nav-lang { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.nav-link:hover, .nav-lang:hover { color: var(--ink); }
.nav-lang { font-weight: 700; letter-spacing: .04em; }

/* Phone menu: a <details> disclosure, hidden on wider screens. */
.menu { display: none; position: relative; }
.menu summary {
  display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer;
  border: 1px solid var(--line-3); border-radius: 10px; background: #FFFFFF; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ic { width: 22px; height: 22px; }
.menu .ic-close, .menu[open] .ic-open { display: none; }
.menu[open] .ic-close { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px;
  display: grid; gap: 2px; padding: 8px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: 0 24px 48px -24px rgba(11, 27, 51, .35);
}
.menu-panel a:not(.btn) { padding: 12px 14px; border-radius: 9px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; }
.menu-panel a:not(.btn):hover { background: var(--tint); }
.menu-panel .btn { margin-top: 6px; }

@media (max-width: 880px) {
  .nav-link { display: none; }
  .menu { display: block; }
  .nav { gap: 10px 14px; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .brand-logo { height: 42px; }
}

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

.hero {
  background-color: #FFFFFF; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-inner {
  display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px);
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--blue);
}
.badge .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--blue-2); }
/* Four short sentences, one per line. Sized so each sentence keeps to one line from tablets up,
 * and all but the longest on a phone (about 25 px at 390 px wide, 56 px from 1120 px): the block
 * stays about as tall as the former three-line title. */
.hero h1 {
  max-width: 1000px; font-size: clamp(23px, 8px + 4.3vw, 56px); line-height: 1.08; font-weight: 800;
  letter-spacing: -.035em; color: var(--ink); text-wrap: balance;
}
.hero h1 span { display: block; }
.hero-text { max-width: 780px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.hero-text p + p { margin-top: 14px; }
/* The pivot line moved out of the h1: a sub-title that introduces the second paragraph (hidden costs). */
.hero-lead { font-size: clamp(19px, 12px + 1.2vw, 24px); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.hero-text p + p.hero-lead { margin-top: 20px; }
.hero-text p.hero-lead + p { margin-top: 8px; }
/* The keywords get a soft marker stroke (bottom ~42% of the line); clone keeps it on each wrapped line. */
.hero-lead mark { background: linear-gradient(transparent 58%, var(--mark) 58%); color: inherit; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .ic, .points .ic { color: var(--ok); stroke-width: 2.25; }

/* Narrower than the page: the board is drawn at a much larger scale than the line panorama
 * below, so at full width it outweighed it. It keeps a readable minimum width: below that, the
 * frame scrolls sideways. */
.hero-figure {
  width: 100%; max-width: 880px; align-self: center;
  padding: clamp(8px, 1.6vw, 20px); border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line-2);
  box-shadow: 0 32px 64px -40px rgba(11, 27, 51, .4), 0 2px 6px rgba(11, 27, 51, .04);
  overflow-x: auto; scrollbar-width: thin;
}
.hero-figure img { width: 100%; min-width: 720px; height: auto; border-radius: 14px; }

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(64px, 9vw, 104px); }
.section--tint { background: var(--tint); border-bottom: 1px solid var(--line); }
.section--night { background: var(--night); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }

.section--night .eyebrow { color: var(--on-night-3); }
.section--night h2 { color: #FFFFFF; }
.section--night .lead { color: var(--on-night); }

/* ---------------------------------------------------------------- the line */

.line-inner { display: flex; flex-direction: column; gap: 40px; }
.line-figure { padding: 10px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.line-figure img { width: 100%; height: auto; border-radius: 14px; }

/* Six steps: one row on a desktop, then 3 + 3 and 2 + 2 + 2 - never a lone stretched step. */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps li { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.step-num {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 700;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.step-text { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ---------------------------------------------------------------- how it works */

.how-inner { display: flex; flex-direction: column; gap: 48px; }
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.flow-card {
  flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line-2);
}
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--blue); }
.flow-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.flow-items { display: flex; flex-direction: column; gap: 12px; }
.flow-items li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.flow-ic {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px;
  background: #FFFFFF; border: 1px solid var(--line-2); color: var(--blue);
}

.flow-card--night { background: var(--night); border-color: var(--night); }
.flow-card--night .flow-num { color: var(--on-night-3); }
.flow-card--night .flow-tag { color: var(--on-night-2); }
.flow-card--night h3 { color: #FFFFFF; }
.flow-text { font-size: 15.5px; line-height: 1.6; color: var(--on-night); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li {
  padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px; font-weight: 500; color: #E6ECF5;
}
.flow-note {
  display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px; color: var(--on-night-2);
}
.flow-note .ic { color: var(--on-night-3); }

.result {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 24px 28px; border-radius: 16px; border: 1px solid var(--line-2);
}
.result p { flex: 1 1 420px; min-width: 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.result strong { font-weight: 700; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 13px; border-radius: 999px; background: var(--pill); color: var(--blue); font-size: 13.5px; font-weight: 600; }

/* ---------------------------------------------------------------- hosting */

.hosting-inner { display: flex; flex-direction: column; gap: 44px; }
/* Four cards: one row on a desktop, then 2 x 2, then one column. */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.feature .ic { width: 26px; height: 26px; color: var(--on-night-3); stroke-width: 1.8; }
.feature h3 { font-size: 17px; font-weight: 700; color: #FFFFFF; }
.feature p { font-size: 14.5px; line-height: 1.55; color: var(--on-night); }

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

.contact-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.contact-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.points { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.points li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); }
.mail-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 8px; font-size: 15.5px; font-weight: 600; text-decoration: none; }

.form-card { flex: 1.3 1 440px; min-width: 0; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--tint); border: 1px solid var(--line-2); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.form-row > .field { flex: 1 1 220px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--field);
  background: #FFFFFF; font-size: 15.5px; color: var(--ink);
}
.field select { padding: 0 12px; }
.field textarea { height: auto; min-height: 116px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field textarea::placeholder { color: #6B7789; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.check-field { display: flex; align-items: flex-start; gap: 10px; }
.check-field input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.check-field label { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.hp { display: none !important; }
.h-captcha:not(:empty) { min-height: 78px; }
.form-status { font-size: 14px; line-height: 1.5; color: var(--text); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--err); font-weight: 600; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 4px; }
.form-success:focus { outline: none; }
.success-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.success-ic .ic { width: 24px; height: 24px; stroke-width: 2.5; }
.success-title { font-size: 22px; font-weight: 700; color: var(--ink); }
.form-success p:not(.success-title) { font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------------------------------------------------------------- privacy policy page */

.legal-head {
  background-color: #FFFFFF; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
}
.legal-wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal-head .legal-wrap { display: flex; flex-direction: column; gap: 14px; padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); }
.legal-head h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.legal-updated { font-size: 14.5px; font-weight: 500; color: var(--muted); }

.legal-body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 104px); }
.legal-body section + section { margin-top: 40px; }
.legal-body h2 { margin-bottom: 14px; font-size: clamp(21px, 2.2vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { display: flex; flex-direction: column; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before {
  content: ""; position: absolute; left: 4px; top: .7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2);
}
.legal-body strong { font-weight: 700; color: var(--ink); }
.legal-back { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }

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

.site-footer { border-top: 1px solid var(--line); background: #FFFFFF; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px 36px; }
.footer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.footer-logo { width: auto; height: 32px; flex: none; }
.footer-brand p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.footer-brand a { font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- motion */

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