:root {
  color-scheme: light dark;
  --ink: #111615;
  --night: #0d1110;
  --night-soft: #171d1b;
  --paper: #f4efe4;
  --paper-2: #fffaf0;
  --line: #d2c8b7;
  --muted: #5d625e;
  --orange: #f2633d;
  --orange-2: #ff8a54;
  --green: #84d83b;
  --green-dark: #2b8c63;
  --blue: #2d5fc4;
  --white: #ffffff;
  --shadow: 0 26px 60px rgba(13, 17, 16, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body[data-lang="en"] [data-copy="de"],
body[data-lang="de"] [data-copy="en"],
[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 50;
  padding: 10px 12px;
  transform: translateY(-160%);
  background: var(--green);
  color: var(--night);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(13, 17, 16, 0.82);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-mark span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
}

.language-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-toggle button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--green);
  color: var(--night);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 112px max(20px, calc((100vw - 1180px) / 2)) 72px;
  background: var(--night);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: 88px;
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: -3;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border-radius: 22%;
  background-image:
    linear-gradient(rgba(13, 17, 16, 0.58), rgba(13, 17, 16, 0.58)),
    url("app-icon.png");
  background-position: center;
  background-size: cover;
  box-shadow:
    inset 0 0 90px rgba(13, 17, 16, 0.86),
    0 0 90px 34px rgba(13, 17, 16, 0.92);
  background-repeat: no-repeat;
  opacity: 0.9;
  filter: saturate(1.08);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, rgba(13, 17, 16, 0), rgba(13, 17, 16, 0.78));
  content: "";
}

.cable-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.9;
  pointer-events: none;
}

.cable {
  position: absolute;
  top: -18%;
  width: 34px;
  height: 150%;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      135deg,
      #050606 0 12px,
      #2c302f 12px 22px,
      #080a09 22px 34px
    );
  box-shadow: inset 0 0 0 4px #000, 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.cable-one {
  right: 24%;
  transform: rotate(-13deg);
}

.cable-two {
  right: 17%;
  transform: rotate(11deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 20px;
  font-size: 4.8rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.28rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(140, 238, 75, 0.44);
  border-radius: 999px;
  background: rgba(140, 238, 75, 0.12);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: var(--night);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a6f85b;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.button-dark {
  background: var(--night);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #26302d;
}

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

.microcopy {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.96rem;
}

.cta-note {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(13, 17, 16, 0.78);
  font-size: 1rem;
  font-weight: 850;
}

.hero-phones {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: -94px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  pointer-events: none;
}

.phone-frame {
  width: 226px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #050606;
  box-shadow: var(--shadow);
}

.phone-frame img {
  border-radius: 26px;
}

.phone-frame:nth-child(2) {
  width: 254px;
  transform: translateY(-36px);
}

.phone-frame:nth-child(3) {
  width: 206px;
  transform: translateY(24px);
}

.scroll-hint {
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.section {
  padding: 90px max(20px, calc((100vw - 1180px) / 2));
}

.section-dark {
  background: var(--night);
  color: var(--white);
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 950;
  text-transform: uppercase;
}

.section h2 {
  width: min(840px, 100%);
  margin-bottom: 22px;
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-lede {
  width: min(760px, 100%);
  color: var(--muted);
  font-size: 1.14rem;
}

.section-dark .section-lede {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: start;
}

.manifesto {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.manifesto-item,
.feature-card,
.roast-card,
.legal-box,
.deploy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.manifesto-item {
  padding: 18px;
}

.manifesto-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.manifesto-item p,
.feature-card p,
.roast-card p,
.legal-box p,
.deploy-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pull-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid rgba(17, 22, 21, 0.18);
  border-radius: 8px;
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.pull-panel::before,
.pull-panel::after {
  position: absolute;
  top: -16px;
  width: 30px;
  height: 132%;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, #050606 0 10px, #343938 10px 18px, #080a09 18px 28px);
  content: "";
}

.pull-panel::before {
  right: 96px;
  transform: rotate(-11deg);
}

.pull-panel::after {
  right: 46px;
  transform: rotate(9deg);
}

.pull-panel > * {
  position: relative;
  z-index: 1;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.metric:last-child {
  border-bottom: 0;
}

.metric span:first-child {
  color: rgba(255, 255, 255, 0.62);
}

.metric span:last-child {
  color: var(--green);
  font-weight: 950;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--night);
  color: var(--green);
  font-weight: 950;
}

.feature-card h3,
.roast-card h3,
.deploy-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.feature-card h3 {
  color: var(--ink);
}

.showcase {
  overflow: hidden;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.screen-shot {
  min-width: 0;
}

.screen-shot .phone-frame {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 16px;
}

.screen-shot h3 {
  margin-bottom: 6px;
}

.screen-shot p {
  color: var(--muted);
}

.roast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.roast-card {
  padding: 22px;
  background: #111615;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.badge-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--night);
  font-weight: 950;
}

.roast-card p {
  color: rgba(255, 255, 255, 0.72);
}

.legal-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 32px;
}

.legal-box {
  padding: 24px;
}

.legal-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--night);
}

.final-cta::before {
  position: absolute;
  top: 50%;
  right: max(20px, calc((100vw - 1180px) / 2));
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border-radius: 22%;
  background-image:
    linear-gradient(rgba(242, 99, 61, 0.34), rgba(242, 99, 61, 0.34)),
    url("app-icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 76px rgba(242, 99, 61, 0.74),
    0 0 54px 24px rgba(242, 99, 61, 0.92);
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.55;
  transform: translateY(-50%);
}

.final-cta .section-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  background: var(--night);
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

.page-shell {
  min-height: 100svh;
  padding-top: 72px;
}

.legal-hero {
  padding: 84px max(20px, calc((100vw - 960px) / 2)) 42px;
  background: var(--night);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 11ch;
  font-size: 3.7rem;
}

.legal-main {
  padding: 52px max(20px, calc((100vw - 960px) / 2)) 80px;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.content-card + .content-card {
  margin-top: 18px;
}

.content-card h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1.08;
}

.content-card h3 {
  margin: 28px 0 8px;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.deploy-card {
  padding: 20px;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 360px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 4rem;
    line-height: 1;
    white-space: nowrap;
  }

  .hero::before {
    top: auto;
    right: 50%;
    bottom: 44px;
    width: min(86vw, 520px);
    transform: translateX(50%);
  }

  .hero-phones {
    left: 20px;
    right: 20px;
    justify-content: center;
  }

  .phone-frame {
    width: 196px;
  }

  .phone-frame:nth-child(2) {
    width: 216px;
  }

  .phone-frame:nth-child(3) {
    display: none;
  }

  .split,
  .legal-strip {
    grid-template-columns: 1fr;
  }

  .pull-panel {
    position: relative;
    top: 0;
  }

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

  .screen-rail {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .final-cta::before {
    right: -52px;
    width: min(46vw, 360px);
  }
}

@media (max-width: 700px) {
  .site-nav {
    padding: 10px 14px;
  }

  .brand-mark span {
    max-width: 148px;
  }

  .hero {
    padding: 96px 18px 300px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.15rem;
    line-height: 1;
  }

  .hero-lede {
    font-size: 1.1rem;
  }

  .hero-phones {
    bottom: -76px;
    gap: 10px;
  }

  .phone-frame {
    width: 156px;
    border-radius: 26px;
  }

  .phone-frame img {
    border-radius: 20px;
  }

  .phone-frame:nth-child(2) {
    width: 174px;
  }

  .scroll-hint {
    display: none;
  }

  .section,
  .legal-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section h2,
  .content-card h2 {
    font-size: 2.1rem;
  }

  .final-cta::before {
    right: -92px;
    width: 280px;
    opacity: 0.28;
  }

  .feature-grid,
  .roast-grid,
  .screen-rail,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-hero h1 {
    font-size: 2.7rem;
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .cable-one {
    animation: cablePull 8s ease-in-out infinite;
  }

  .cable-two {
    animation: cablePull 9s ease-in-out infinite reverse;
  }

  @keyframes cablePull {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 22px;
    }
  }
}
