/* kupto.de – simple one-page site in Kupto's colours (apps/mobile/src/ui/theme.ts). */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_18pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_18pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/assets/fonts/InterTight-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/assets/fonts/InterTight-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  /* One page width and one gutter for the header, every section and the footer. */
  --page: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --inner: clamp(24px, 5vw, 64px);
  --nav-h: 60px;
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg: #ffffff;
  --soft: #f4f6f8;
  --text: #101828;
  --muted: #5b6472;
  --accent: #1d4ed8;
  --accent-soft: #e8eefc;
  --amber: #9a5b06;
  --amber-soft: #fbeed3;
  --red: #b42318;
  --red-soft: #fbe3e0;
  --dark: #101828;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 32px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    400 17px/1.6 'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(30px, 4.4vw, 46px);
}
h3 {
  font-size: 21px;
}
p {
  margin: 0;
}
.center {
  text-align: center;
}
.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: calc(760px + 2 * var(--gutter));
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
}
.i.ok {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn .i {
  width: 18px;
  height: 18px;
}
.btn.dark {
  background: var(--dark);
  color: #fff;
}
.btn.light {
  background: #fff;
  color: var(--text);
}
.btn.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

/* Header: floating "liquid glass" bar above the hero, page-wide, sticky */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--page), calc(100% - 2 * var(--gutter)));
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(16, 24, 40, 0.06),
    0 12px 32px rgba(16, 24, 40, 0.1);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
/* Desktop: once scrolling starts the bar tightens into a compact capsule.
   Pure CSS (scroll-driven animation); browsers without it keep the wide bar. */
@supports (animation-timeline: scroll()) {
  @media (min-width: 961px) {
    .nav {
      animation: nav-tighten linear both;
      animation-timeline: scroll(root);
      animation-range: 0 180px;
    }
  }
}
@keyframes nav-tighten {
  to {
    top: 12px;
    width: min(880px, calc(100% - 2 * var(--gutter)));
    min-height: 52px;
    padding: 5px 5px 5px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 255, 0.72));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 2px 4px rgba(16, 24, 40, 0.06),
      0 18px 44px rgba(16, 24, 40, 0.14);
  }
}
.brand img {
  width: 94px;
  height: 24px;
}
.links {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.links a:hover {
  background: rgba(16, 24, 40, 0.05);
}

/* Language: only the other one, in a small circle */
.lang {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 4px;
  border-radius: 50%;
  border: 1px solid rgba(16, 24, 40, 0.12);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.lang:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero: starts below the header */
.hero {
  padding-top: calc(16px + var(--nav-h) + 16px);
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  min-height: 640px;
  padding: 0 var(--inner);
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(23, 62, 190, 0.25) 0%, rgba(29, 78, 216, 0) 55%),
    #6f97f4 url('/assets/hero-sky.webp') center top / cover no-repeat;
}
.hero-copy {
  max-width: 560px;
  padding: 80px 0;
  color: #fff;
}
.eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-shadow: 0 2px 24px rgba(16, 24, 40, 0.15);
}
h1 span {
  color: #dbe6ff;
}
/* Desktop: the title sits on exactly two lines, one per phrase */
@media (min-width: 961px) {
  .hero-copy {
    max-width: 700px;
  }
  h1 {
    font-size: clamp(44px, 4.9vw, 68px);
  }
  h1 span {
    display: block;
    white-space: nowrap;
  }
  .lead {
    max-width: 520px;
  }
}
.lead {
  margin-top: 22px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
/* The photo crops the wrist at its right and bottom edges: those sit on the card's edges. */
.hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38%, 430px);
  line-height: 0;
}
.hero-art img {
  width: 100%;
  filter: drop-shadow(-20px 30px 40px rgba(16, 24, 40, 0.18));
}

/* Sections */
.block {
  padding-top: 112px;
}

/* Three steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  padding: 36px 28px;
  border-radius: 28px;
  background: var(--soft);
  text-align: center;
}
.step-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: #fff;
  color: var(--accent);
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.step-icon .i {
  width: 32px;
  height: 32px;
}
.step-icon b {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
}
.for {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.4;
}
.for span {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  font-weight: 600;
  line-height: 1.8;
}

/* Deadlines showcase */
.show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.show-text p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}
.show-text ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.show-text li {
  display: flex;
  gap: 10px;
  font-weight: 500;
}
.show-art {
  border-radius: 32px;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5)),
    #dbe6ff url('/assets/sky-soft.webp') center / cover no-repeat;
  display: grid;
  gap: 10px;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rows li,
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.notice {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.notice img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.ic {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
}
.who,
.notice span {
  display: grid;
  min-width: 0;
}
.who b,
.notice b {
  font-size: 15.5px;
}
.who small,
.notice small {
  color: var(--muted);
  font-size: 14px;
}
.when {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.notice em {
  margin-left: auto;
  align-self: start;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
}
.info {
  background: var(--accent-soft);
  color: var(--accent);
}
.warn {
  background: var(--amber-soft);
  color: var(--amber);
}
.urgent {
  background: var(--red-soft);
  color: var(--red);
}

/* Safety */
.safe {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.safe article {
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--soft);
}
.badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  color: var(--accent);
  margin-bottom: 18px;
}
.badge .i {
  width: 24px;
  height: 24px;
}
.safe p {
  margin-top: 8px;
  color: var(--muted);
}

/* Price: night card with soft glows, a free letter, two plans */
.price-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border-radius: 36px;
  padding: 72px var(--inner);
  color: #fff;
  background:
    radial-gradient(520px 360px at 8% 0%, rgba(80, 130, 255, 0.55), transparent 70%),
    radial-gradient(480px 380px at 100% 100%, rgba(29, 78, 216, 0.6), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0) 0 0 / 22px 22px,
    #0b1530;
}
.price-intro h2 {
  max-width: 440px;
}
.free-letter {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 340px);
  margin-top: 40px;
  padding: 24px 24px 32px;
  border-radius: 18px;
  background: #fff;
  transform: rotate(-4deg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 0 8px rgba(255, 255, 255, 0.06);
}
.fl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fl-head i {
  width: 56px;
  height: 8px;
  border-radius: 4px;
  background: #e4e8ef;
}
.fl-line {
  height: 8px;
  border-radius: 4px;
  background: #eef1f5;
}
.fl-line.short {
  width: 70%;
}
.fl-line.shorter {
  width: 45%;
}
.prices {
  display: grid;
  gap: 14px;
}
.plan {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 16px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.plan.family {
  background: linear-gradient(135deg, rgba(80, 130, 255, 0.45), rgba(29, 78, 216, 0.25));
  border-color: rgba(160, 190, 255, 0.45);
  box-shadow: 0 20px 44px rgba(29, 78, 216, 0.35);
}
.pname {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
}
.people {
  display: inline-flex;
}
.people i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #3d63d8;
  background: linear-gradient(180deg, #dbe6ff, #9fb8f5);
}
.people i + i {
  margin-left: -7px;
}
.price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.per {
  color: #b4bfd3;
  font-size: 14px;
}
.family .per {
  color: #dbe6ff;
}
.pnote {
  margin-top: 18px;
  color: #b4bfd3;
  font-size: 14px;
}

/* FAQ */
.faq {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}
details {
  border-radius: 20px;
  background: var(--soft);
  padding: 0 24px;
}
summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  font-weight: 600;
  font-size: 17.5px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.chev {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s;
}
details[open] .chev {
  transform: rotate(180deg);
}
details p {
  color: var(--muted);
  padding-bottom: 22px;
}

/* Closing card */
.cta {
  padding-top: 112px;
}
.cta-card {
  border-radius: 36px;
  background: #dbe6ff url('/assets/sky-soft.webp') center / cover no-repeat;
  padding: 88px var(--inner);
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}
.cta-card h2 {
  max-width: 620px;
}
.cta-icon {
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.2);
}

/* Footer */
.foot {
  padding: 24px 0 40px;
}
.foot-card {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 44px var(--inner);
  border-radius: 32px;
  background: var(--soft);
}
.foot-brand img {
  width: 111px;
  height: 28px;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.foot-col a {
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.foot-col a:hover {
  color: var(--accent);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px var(--inner) 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Tablet */
@media (max-width: 960px) {
  .links {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .hero-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .hero-copy {
    max-width: 600px;
    margin: 0 auto;
    padding: 56px 0 24px;
    text-align: center;
  }
  .ctas {
    justify-content: center;
  }
  /* Stacked: the hand still leaves the card through its right and bottom edges. */
  .hero-art {
    position: relative;
    width: min(78%, 400px);
    margin: 8px calc(-1 * var(--inner)) 0 auto;
  }
  .steps,
  .safe {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .show {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .price-card {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .price-intro {
    display: grid;
    justify-items: center;
    text-align: center;
  }
  .price-side {
    width: min(100%, 520px);
    margin: 0 auto;
  }
  .pnote {
    text-align: center;
  }
}

/* Phone */
@media (max-width: 600px) {
  .nav {
    top: 10px;
    padding-left: 18px;
  }
  .nav .btn {
    display: none;
  }
  .hero {
    padding-top: calc(10px + var(--nav-h) + 12px);
  }
  .hero-card,
  .price-card,
  .cta-card {
    border-radius: 28px;
  }
  h1 {
    font-size: 40px;
  }
  .lead {
    font-size: 18px;
  }
  .ctas .btn {
    width: 100%;
  }
  /* Phone: the photo spans the whole card, which puts the phone in the middle
     while the hand still leaves through the right and bottom edges. */
  .hero-art {
    width: calc(100% + 2 * var(--inner));
    margin-left: calc(-1 * var(--inner));
  }
  .block,
  .cta {
    padding-top: 80px;
  }
  .show-art {
    padding: 18px;
  }
  .rows li,
  .notice {
    padding: 12px;
  }
  .price-card {
    padding: 48px 20px;
  }
  .free-letter {
    width: min(100%, 270px);
    padding: 18px 18px 26px;
  }
  .plan {
    padding: 20px;
  }
  .price {
    font-size: 42px;
  }
  .cta-card {
    padding: 56px 20px;
  }
  .foot-card {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    border-radius: 28px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .foot-bottom {
    flex-direction: column;
  }
}
