:root {
  --ink: #17211d;
  --muted: #62736d;
  --line: #d9e3df;
  --paper: #fbf8f1;
  --panel: #ffffff;
  --mint: #d9f7ea;
  --green: #0a7c59;
  --green-dark: #07563f;
  --blue: #2357d6;
  --blue-soft: #dfe8ff;
  --buyer: #0a7c59;
  --buyer-dark: #07563f;
  --buyer-soft: #e4f4ec;
  --buyer-line: #b7d8ca;
  --seller: #2357d6;
  --seller-dark: #173b99;
  --seller-soft: #e7edff;
  --seller-line: #becbf4;
  --yellow: #ffd86b;
  --orange: #ff8f3d;
  --shadow: 0 22px 70px rgba(23, 33, 29, .13);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(217, 247, 234, .9), rgba(251, 248, 241, 0) 38%),
    linear-gradient(180deg, #fbf8f1 0%, #eef6f2 45%, #fbf8f1 100%);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.btn-blue {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(35, 87, 214, .2);
}
.btn-icon {
  width: 44px;
  padding: 0;
  background: #eef5f1;
  color: var(--ink);
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  background: rgba(217, 247, 234, .82);
  border: 1px solid rgba(10, 124, 89, .16);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
}

.eyebrow-quiet {
  background: rgba(255, 255, 255, .72);
  color: #40514b;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 143, 61, .18);
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: .94;
  letter-spacing: 0;
  max-width: 760px;
}

.lead {
  margin: 0 0 24px;
  color: #40514b;
  font-size: 19px;
  line-height: 1.55;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
}

.trust-chip {
  min-height: 74px;
  border: 1px solid rgba(23, 33, 29, .09);
  background: rgba(255, 255, 255, .62);
  border-radius: 8px;
  padding: 12px;
}

.trust-chip strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
}

.trust-chip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.28;
}

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.photo-tile {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  background: #d7ddd9;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-left {
  width: 178px;
  height: 138px;
  left: 0;
  top: 52px;
  transform: rotate(-5deg);
}

.photo-right {
  width: 164px;
  height: 190px;
  right: 0;
  bottom: 76px;
  transform: rotate(4deg);
}

.phone {
  width: min(360px, 100%);
  border: 12px solid #151c19;
  border-radius: 38px;
  background: #f7faf8;
  box-shadow: 0 30px 80px rgba(23, 33, 29, .28);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.phone-status {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: #151c19;
  font-size: 12px;
  font-weight: 850;
  background: #f7faf8;
}

.phone-notch {
  width: 84px;
  height: 20px;
  border-radius: 0 0 13px 13px;
  background: #151c19;
  position: absolute;
  top: 0;
  left: calc(50% - 42px);
}

.app-screen {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.app-screen--demo {
  pointer-events: none;
  user-select: none;
}

.app-screen--demo .phone-demo-cta {
  pointer-events: auto;
  user-select: auto;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-title strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.app-title span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--yellow), var(--orange));
  display: grid;
  place-items: center;
  color: #2c1d0f;
  font-weight: 900;
}

.flow-card {
  background: var(--panel);
  border: 1px solid rgba(23, 33, 29, .08);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(23, 33, 29, .08);
  padding: 12px;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #34453f;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 7px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.plate-input {
  height: 52px;
  border: 2px solid #111;
  border-radius: 7px;
  background: linear-gradient(90deg, #1d57c8 0 34px, #fff 34px);
  padding: 0 12px 0 45px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #111;
  min-width: 0;
}

.icon-eu {
  position: relative;
}

.vehicle-result {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f0f7f4;
}

.vehicle-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #17332a;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
}

.vehicle-result strong,
.offer strong,
.request-card strong { display: block; }

.vehicle-result span,
.offer span,
.request-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.part-pill {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.part-glyph {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eef5f1;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 950;
  flex: 0 0 auto;
}

.part-pill.active {
  background: var(--mint);
  border-color: rgba(10, 124, 89, .28);
  color: var(--green-dark);
}

.upload-box {
  height: 86px;
  border: 1px dashed #a7b7b1;
  background: #fbfdfc;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.share-preview {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(10, 124, 89, .9), rgba(10, 124, 89, .62)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=900&q=80") center/cover;
  color: white;
  padding: 16px;
  display: grid;
  align-content: end;
  gap: 8px;
}

.share-preview:before {
  content: "ØNSKES KJØPT";
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: #2b2413;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 950;
}

.share-preview strong {
  position: relative;
  font-size: 23px;
  line-height: 1.02;
  max-width: 260px;
  text-shadow: 0 2px 14px rgba(0,0,0,.2);
}

.share-meta {
  position: relative;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.share-meta span {
  padding: 5px 7px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
}

.conversion-section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
  max-width: 680px;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 460px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(23, 33, 29, .08);
  border-radius: 8px;
  padding: 18px;
  min-height: 190px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23, 33, 29, .08);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(23, 33, 29, .09);
  overflow: hidden;
}

.panel-header {
  padding: 18px;
  border-bottom: 1px solid rgba(23, 33, 29, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-header strong { font-size: 18px; }
.panel-body { padding: 18px; display: grid; gap: 14px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #eef5f1;
  color: #34453f;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
}

.tag.green { background: var(--mint); color: var(--green-dark); }
.tag.blue { background: var(--blue-soft); color: #173b99; }
.tag.orange { background: #ffe8d8; color: #8c410e; }

.request-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.request-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.request-title {
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.request-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #d5ddd9;
}

.request-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fact {
  background: #f5f8f6;
  border-radius: 8px;
  padding: 10px;
  min-height: 58px;
}

.fact small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.fact b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.seller-feed {
  display: grid;
  gap: 10px;
}

.offer {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.offer-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #17332a;
  color: #fff;
  font-weight: 900;
}

.offer-price {
  text-align: right;
  font-weight: 950;
  font-size: 20px;
  white-space: nowrap;
}

.seller-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-tile {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  min-height: 92px;
}

.action-tile b {
  display: block;
  margin-bottom: 4px;
  line-height: 1.15;
}

.action-tile span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.launch-band {
  margin-top: 0;
  color: var(--ink);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(23, 33, 29, .08);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(23, 33, 29, .08);
}

.launch-intro {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.launch-band h2 {
  color: var(--ink);
  margin: 10px 0 0;
  max-width: 620px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.03;
}

.launch-band p {
  color: var(--muted);
  margin: 0;
  max-width: 430px;
  line-height: 1.5;
}





.flow-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.signup-card {
  --flow-accent: var(--buyer);
  --flow-accent-dark: var(--buyer-dark);
  --flow-soft: var(--buyer-soft);
  --flow-line: var(--buyer-line);
  background: #f8fbf9;
  color: var(--ink);
  border: 1px solid var(--flow-line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(23, 33, 29, .08);
  min-width: 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.signup-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--flow-accent);
}

.signup-card.is-seller {
  --flow-accent: var(--seller);
  --flow-accent-dark: var(--seller-dark);
  --flow-soft: var(--seller-soft);
  --flow-line: var(--seller-line);
}

.flow-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  background: var(--flow-soft);
  color: var(--flow-accent-dark);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.signup-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.signup-card p {
  margin: 0 0 18px;
  color: #52645e;
  font-size: 15px;
  line-height: 1.5;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.signup-form .form-field {
  gap: 7px;
}

.signup-form .form-field label,
.signup-form .field-label-inline {
  color: #2f403a;
  font-size: 13px;
  font-weight: 850;
}

.signup-form .form-field label span,
.signup-form .field-label-inline span {
  color: #74827d;
  font-weight: 650;
}

.signup-form input,
.signup-form textarea,
.signup-form select {
  width: 100%;
  border: 1px solid #b9c8c2;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0 13px;
  min-width: 0;
  outline: none;
}

.signup-form input,
.signup-form select {
  height: 44px;
}

.signup-form textarea {
  grid-column: 1 / -1;
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: #8a9994;
}

.signup-form input:focus,
.signup-form textarea:focus,
.signup-form select:focus {
  border-color: var(--flow-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--flow-accent) 16%, transparent);
}

.file-field {
  gap: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup-form .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-upload {
  min-height: 58px;
  border: 1px dashed color-mix(in srgb, var(--flow-accent) 45%, #a8bab3);
  border-radius: 8px;
  background: var(--flow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.file-upload:hover {
  border-color: var(--flow-accent);
  background: color-mix(in srgb, var(--flow-soft) 74%, white);
}

.file-upload-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: white;
  color: var(--flow-accent-dark);
  display: grid;
  place-items: center;
  font-weight: 950;
  flex: 0 0 auto;
}

.file-upload strong,
.file-upload small {
  display: block;
  line-height: 1.25;
}

.file-upload strong {
  font-size: 14px;
}

.file-upload small,
.file-upload-name {
  color: #667771;
  font-size: 12px;
}

.signup-form .btn {
  grid-column: 1 / -1;
  width: 100%;
  background: var(--flow-accent);
  color: white;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--flow-accent) 22%, transparent);
}

.signup-form .btn:hover {
  background: var(--flow-accent-dark);
}

.signup-form .form-message a {
  color: var(--flow-accent-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-form .btn[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.turnstile-field {
  grid-column: 1 / -1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.signup-card .signup-form .form-check {
  grid-column: 1 / -1;
  color: #40514b;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.signup-card .signup-form .form-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--flow-accent);
  flex: 0 0 auto;
}

.signup-card .signup-form .form-check span {
  color: #40514b;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  opacity: 0;
  background: #17211d;
  color: white;
  border-radius: 8px;
  padding: 13px 15px;
  box-shadow: 0 18px 45px rgba(23,33,29,.25);
  font-weight: 800;
  transition: transform .25s ease, opacity .25s ease;
  max-width: calc(100% - 32px);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 14px 14px;
  background: rgba(251, 248, 241, .88);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(23, 33, 29, .08);
}

.mobile-cta .btn { width: 100%; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .phone-wrap {
    min-height: 520px;
    order: -1;
  }

  .photo-left { left: 4%; }
  .photo-right { right: 4%; }

  .section-head {
    display: grid;
    align-items: start;
  }

  .steps,
  .demo-grid {
    grid-template-columns: 1fr;
  }

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

  .launch-band {
    grid-template-columns: 1fr;
  }

  .launch-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-forms {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; }

  .hero,
  .conversion-section,
  .section {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding-top: 22px;
    gap: 18px;
  }

  .phone-wrap {
    min-height: auto;
    display: block;
  }

  .phone {
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    border-width: 9px;
    border-radius: 30px;
  }

  .photo-tile { display: none; }

  h1 {
    font-size: 44px;
    margin-top: 14px;
  }

  .lead { font-size: 17px; }

  .trust-row,
  .steps,
  .fact-grid,
  .seller-actions,
  .waitlist,
  .flow-forms,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .section h2 { font-size: 34px; }

  .offer {
    grid-template-columns: 44px 1fr;
  }

  .offer-price {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 18px;
  }

  .launch-band {
    padding: 18px;
  }

  .mobile-cta { display: block; }
}

@media (max-width: 390px) {
  h1 { font-size: 39px; }
  .app-screen { padding: 14px; }
  .part-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
