:root {
  color-scheme: light;
  --black: #050505;
  --ink: #101010;
  --panel: #181818;
  --panel-soft: #232323;
  --white: #ffffff;
  --paper: #f7f7f7;
  --muted: #d4d4d8;
  --text-soft: #8a8a8a;
  --red: #ea1e25;
  --red-deep: #b5161d;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(17, 17, 17, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.delar365-site {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(234, 30, 37, 0.07) 0 16%, transparent 16% 100%),
    var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 84px;
  padding: 14px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 250px;
}

.brand img,
.site-footer img {
  width: 100%;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  color: #2b2b2b;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-call {
  gap: 10px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  color: var(--ink);
}

.header-call svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.btn {
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 22px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 1) 0 46%, rgba(247, 247, 247, 0.92) 46% 63%, rgba(234, 30, 37, 0.08) 63% 100%),
    var(--white);
}

.hero::before {
  position: absolute;
  inset: auto -10% 8% 58%;
  z-index: -1;
  height: 210px;
  background: var(--red);
  content: "";
  transform: skewX(-22deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: 54px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 58px 0 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 5rem;
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 520px;
  margin: 28px 0 0;
  color: #4a4a4a;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 46px 0 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-facts div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.hero-facts div + div {
  border-left: 1px solid var(--line-dark);
  padding-left: 18px;
}

.hero-facts dt {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  margin: 0;
  background: var(--panel);
  box-shadow: var(--shadow);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.hero-visual img {
  width: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  position: absolute;
  right: 34px;
  bottom: 30px;
  max-width: 260px;
  border-left: 4px solid var(--red);
  padding: 10px 0 10px 16px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
}

.part-lanes {
  padding: 86px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--white);
  color: var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
}

.section-index {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-intro h2,
.workflow-copy h2,
.portal-band h2,
.contact-copy h2,
.legal-strip h2 {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.lane-list {
  border-top: 1px solid var(--line-dark);
}

.lane-list article {
  display: grid;
  grid-template-columns: 78px minmax(150px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: center;
  min-height: 106px;
  border-bottom: 1px solid var(--line-dark);
}

.lane-list span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
}

.lane-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lane-list p {
  max-width: 620px;
  margin: 0;
  color: #4a4a4a;
}

.workshop-flow {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
  padding: 94px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.workshop-media {
  margin: 0;
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.workshop-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.workflow-copy {
  min-width: 0;
}

.workflow-copy h2,
.legal-strip h2 {
  color: var(--ink);
}

.workflow-steps {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.workflow-steps li {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding: 22px 0 22px 58px;
  color: #4a4a4a;
  counter-increment: steps;
}

.workflow-steps li::before {
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--red);
  content: counter(steps, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 950;
}

.workflow-steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 0.75fr) auto;
  gap: 34px;
  align-items: center;
  padding: 54px max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(90deg, var(--red) 0 6px, transparent 6px 100%),
    var(--white);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(234, 30, 37, 0.08);
}

.portal-band p:not(.section-index) {
  margin: 0;
  color: #4a4a4a;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
  padding: 92px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--white);
  color: var(--ink);
}

.contact-copy p:not(.section-index) {
  max-width: 480px;
  margin: 24px 0 0;
  color: #4a4a4a;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink);
  font-weight: 900;
}

.contact-links a {
  width: fit-content;
  border-bottom: 2px solid var(--red);
}

.contact-form {
  display: grid;
  gap: 18px;
  border-top: 6px solid var(--red);
  padding: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form label span {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 126px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(234, 30, 37, 0.16);
}

.form-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: flex-start;
  color: #4a4a4a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.form-consent a {
  border-bottom: 2px solid var(--red);
  font-weight: 900;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  color: #4a4a4a;
  font-size: 0.9rem;
}

.legal-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 52px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.legal-strip p {
  max-width: 780px;
  margin: 16px 0 0;
  color: #4a4a4a;
}

.text-link {
  border-bottom: 2px solid var(--red);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 96px max(18px, calc((100vw - var(--max)) / 2)) 58px;
  background: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.policy-hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-size: 4.6rem;
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.policy-hero h1::after {
  display: block;
  width: 78px;
  height: 5px;
  margin: 26px 0 0;
  background: var(--red);
  content: "";
}

.policy-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #4a4a4a;
  font-size: 1.05rem;
}

.policy-date {
  justify-self: end;
  margin: 0;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.policy-content {
  display: grid;
  gap: 0;
  padding: 54px max(18px, calc((100vw - 900px) / 2));
  background: var(--paper);
  color: var(--ink);
}

.policy-content article {
  border-bottom: 1px solid var(--line-dark);
  padding: 26px 0;
}

.policy-content article:first-child {
  padding-top: 0;
}

.policy-content article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 950;
  text-transform: uppercase;
}

.policy-content p,
.policy-content li {
  color: #4a4a4a;
  font-size: 1rem;
}

.policy-content p {
  margin: 0;
}

.policy-content p + p,
.policy-content ul {
  margin-top: 12px;
}

.policy-content ul {
  padding-left: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 30px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--black);
  border-top: 1px solid rgba(234, 30, 37, 0.32);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: var(--red);
}

.copyright {
  color: var(--text-soft);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-call {
    justify-self: end;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .workshop-flow,
  .contact-section,
  .portal-band,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-visual {
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  }

  .portal-band .btn {
    width: fit-content;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer img {
    width: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    width: 190px;
  }

  .header-call {
    justify-self: start;
    min-height: 42px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.72rem;
  }

  .hero-grid,
  .part-lanes,
  .workshop-flow,
  .portal-band,
  .contact-section,
  .legal-strip,
  .policy-hero,
  .policy-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 2.65rem;
    line-height: 0.98;
  }

  .section-intro h2,
  .workflow-copy h2,
  .portal-band h2,
  .contact-copy h2,
  .legal-strip h2,
  .policy-hero h1 {
    font-size: 2.35rem;
  }

  .hero-facts,
  .lane-list article,
  .form-grid,
  .legal-strip,
  .policy-hero {
    grid-template-columns: 1fr;
  }

  .hero-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .lane-list article {
    gap: 8px;
    align-items: start;
    padding: 20px 0;
  }

  .hero-visual {
    clip-path: none;
  }

  .hero-visual img,
  .workshop-media img {
    min-height: 320px;
  }

  .hero-visual figcaption {
    position: static;
    max-width: none;
    background: var(--panel);
  }

  .workshop-media {
    clip-path: none;
  }

  .contact-form {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .policy-date {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .section-intro h2,
  .workflow-copy h2,
  .portal-band h2,
  .contact-copy h2,
  .legal-strip h2,
  .policy-hero h1 {
    font-size: 2rem;
  }
}
