/* The product page at 2vlo.eu (TOVLO-336). Its layout follows the 2vlo page on mennow-it.nl; the
   colours are the logo's: navy #1f4e6b and teal #2b8c9a in light, #5a9ccb and #5cc3c9 in dark.
   No web font and nothing from a CDN: the system font stack, everything served from here. */

:root {
  color-scheme: light dark;

  --navy: #1f4e6b;
  --navy-deep: #153a50;
  --sand-soft: #e9e4db;

  --ink: #17181c;
  --ink-soft: #565b6a;
  --paper: #faf8f5;
  --panel: #ffffff;
  --line: #e2ddd4;
  --accent: var(--navy);
  --button: var(--navy);
  --button-hover: var(--navy-deep);
  --button-ink: #ffffff;

  --radius: 12px;
  --width: min(70rem, 100% - 2.5rem);
  --shadow: 0 1px 2px rgb(23 24 28 / 6%), 0 8px 24px rgb(23 24 28 / 4%);

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand-soft: #23252b;

    --ink: #ecedf2;
    --ink-soft: #a3a9ba;
    --paper: #0e0f13;
    --panel: #16181f;
    --line: #2c2f39;
    --accent: #5cc3c9;
    --button: #5cc3c9;
    --button-hover: #8ad6da;
    --button-ink: #0e0f13;
    --shadow: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: var(--width);
  margin-inline: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 0.5rem;
}

h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header and footer */

.top {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  justify-content: flex-end;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.94rem;
}

.top nav a.language {
  color: var(--ink-soft);
  text-decoration: none;
}

.top nav a.language:hover {
  color: var(--accent);
  text-decoration: underline;
}

.bottom {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 2rem 0 3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Buttons */

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-small {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.button-solid {
  background: var(--button);
  color: var(--button-ink);
}

.button-solid:hover {
  background: var(--button-hover);
}

.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--panel);
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

/* A soft sand shape at the top right. */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(46rem, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle closest-side at 50% 50%, var(--sand-soft), transparent);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

/* The logo is the product's name in the h1; the subtitle runs below it. */
.hero-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(3.25rem, 7vw, 4.75rem);
  margin-bottom: 1rem;
}

.hero h1 span {
  display: block;
}

.pitch {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.facts span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Sections */

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.section-head {
  max-width: 46ch;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.6rem;
}

/* Clips */

.clip {
  margin: 0;
}

.clip-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

/* What 2vlo does: alternating rows of text and clip */

.rows {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.row:nth-child(even) .row-text {
  order: 2;
}

.row-text p {
  margin: 0;
  color: var(--ink-soft);
}

/* Moving */

.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison th,
.comparison td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem 0.85rem 0;
  border-top: 1px solid var(--line);
}

.comparison thead th {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: none;
}

.comparison tbody th {
  font-weight: 600;
  width: 40%;
}

.comparison td {
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* Pricing */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card p.price {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* Try it yourself */

.contact {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--sand-soft);
  border: 1px solid var(--line);
}

.contact p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

/* The root page, shown only while it sends the visitor on, or without a script */

.choose {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1rem;
  text-align: center;
}

.choose .buttons {
  justify-content: center;
}

@media (max-width: 56rem) {
  .hero-grid,
  .row {
    grid-template-columns: 1fr;
  }

  .row:nth-child(even) .row-text {
    order: 0;
  }
}

@media (max-width: 48rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts strong {
    font-size: 1.15rem;
  }
}

@media (max-width: 34rem) {
  .comparison thead {
    display: none;
  }

  .comparison tr,
  .comparison th,
  .comparison tbody th,
  .comparison td {
    display: block;
    width: auto;
  }

  .comparison td {
    border-top: none;
    padding-top: 0.2rem;
  }
}

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