/* teklifle.com interim storefront. Tokens from app/globals.css (DESIGN.md): one light theme, one orange accent. */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #fdfcfb;
  --background-deep: #f7f4f0;
  --card: #ffffff;
  --sand: #f3efe9;
  --line: #ece7e1;
  --line-strong: #dcd4cb;
  --foreground: #16130f;
  --ink-2: #3c3630;
  --muted: #6e665e;
  --orange: #ea5b0c;
  --orange-dark: #c2410c;
  --orange-deep: #9a3412;
  --orange-soft: #ffe5d3;
  --orange-tint: #fff4ec;
  --orange-glow: #ff8c42;
  --peach: #ffbb8c;
  --shadow-soft: 0 1px 2px rgba(22, 19, 15, 0.04), 0 10px 30px -18px rgba(22, 19, 15, 0.18);
  --shadow-orange: 0 12px 34px -12px rgba(234, 91, 12, 0.55);
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
}

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

a:hover {
  color: var(--orange-deep);
}

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

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

p,
li {
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

.narrow {
  max-width: 48rem;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 50;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
}

.skip:focus {
  top: 1rem;
}

.code {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

/* ── header ── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 251, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
}

.top-nav {
  display: flex;
  gap: 0.25rem;
}

.top-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: var(--sand);
  color: var(--foreground);
}

@media (max-width: 560px) {
  .top-nav .wide {
    display: none;
  }
  .top-nav a {
    padding: 0.45rem 0.6rem;
  }
}

/* The wordmark (components/BrandMark.tsx): "teklifle" in ink, ".com" in the accent at its bottom-right corner. */
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.wordmark .word {
  letter-spacing: -0.05em;
  line-height: 0.82;
  color: var(--foreground);
}

.wordmark .dotcom {
  margin-left: 0.11em;
  font-size: 0.43em;
  letter-spacing: -0.02em;
  color: var(--orange);
  transform: translateY(6%);
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.2s var(--curve),
    box-shadow 0.2s var(--curve);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #f06a1f, var(--orange-dark) 25%, #b23c0b);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    var(--shadow-soft);
}

.btn-secondary:hover {
  color: var(--foreground);
}

/* ── hero ── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, var(--orange-glow) 0%, var(--orange) 40%, transparent 72%);
  opacity: 0.32;
  filter: blur(60px);
  will-change: transform;
}

.orb-peach {
  background: radial-gradient(circle at 35% 35%, #ffd8bf 0%, var(--peach) 45%, transparent 72%);
  opacity: 0.55;
}

.orb-a {
  top: -14rem;
  right: -12rem;
  width: 40rem;
  height: 40rem;
  animation: drift 18s ease-in-out infinite;
}

.orb-b {
  bottom: -18rem;
  left: -14rem;
  width: 34rem;
  height: 34rem;
  animation: drift 26s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(6%, -8%, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-5%, 6%, 0) scale(0.96);
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.chip {
  display: inline-flex;
  margin: 0;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.grad {
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.75;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  font-weight: 600;
  color: var(--foreground);
}

.soon-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(234, 91, 12, 0.5);
  animation: ping 2.4s var(--curve) infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 91, 12, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 0.75rem rgba(234, 91, 12, 0);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* A balcony branda, drawn in CSS (decorative; the figcaption carries the meaning). */
.branda-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.branda {
  width: min(100%, 24rem);
  aspect-ratio: 3 / 2;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  justify-items: center;
  align-items: center;
  padding: 1rem 1rem 0;
  border-radius: 0.5rem;
  background: #ffd400;
  box-shadow:
    inset 0 0 0 0.45rem #ffd400,
    inset 0 0 0 0.6rem #16130f,
    0 30px 60px -30px rgba(22, 19, 15, 0.45);
  transform: rotate(-2deg);
  overflow: hidden;
}

.branda-top {
  margin-top: 0.35rem;
  font-size: clamp(0.7rem, 2.6vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #16130f;
}

.branda-word {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #d71920;
}

.branda-room {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 800;
  color: #16130f;
}

.branda-code {
  align-self: end;
  width: calc(100% + 2rem);
  margin-top: 0.5rem;
  padding: 0.55rem 0.5rem 0.75rem;
  background: #16130f;
  color: #fff;
  text-align: center;
  font-size: clamp(0.95rem, 4.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.branda-figure figcaption {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── sections ── */
.band {
  padding: 5rem 0;
}

.band-soft {
  background: var(--background-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 1rem 0 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li,
.card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow-soft);
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-weight: 700;
}

.steps h3,
.card h3,
.model h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.2rem;
}

.steps p,
.card p,
.model p {
  margin: 0;
  color: var(--ink-2);
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 820px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card h3 {
  margin-top: 0;
}

.checks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.5rem;
  height: 0.85rem;
  border: solid var(--orange);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.card-link {
  margin-top: 1rem !important;
  font-weight: 600;
}

.model {
  display: grid;
  gap: 1rem 2rem;
}

@media (min-width: 720px) {
  .model {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .model {
    grid-template-columns: repeat(3, 1fr);
  }
}

.model > div {
  padding-top: 1rem;
  border-top: 2px solid var(--orange-soft);
}

.model h3 {
  margin-top: 0;
}

/* ── prices ── */
.table-wrap {
  overflow-x: auto;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow:
    inset 0 0 0 1px var(--line),
    var(--shadow-soft);
}

.prices {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.prices caption {
  padding: 1rem 1.25rem 0;
  text-align: left;
  color: var(--muted);
  font-size: 0.875rem;
}

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

.prices thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.prices tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.prices td.num {
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

.hint {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .prices th,
  .prices td {
    padding: 0.8rem 0.75rem;
  }
}

.notes {
  margin: 1.75rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--ink-2);
}

.guide {
  margin: 0;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.guide li::marker {
  color: var(--orange-dark);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-2);
}

/* ── documents ── */
.doc {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.doc-head {
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doc h1 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  letter-spacing: -0.04em;
}

.doc-date {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.doc-intro {
  font-size: 1.125rem;
  color: var(--ink-2);
}

.doc h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.5rem;
}

.doc h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: var(--ink-2);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li {
  margin: 0.35rem 0;
}

.doc strong {
  color: var(--foreground);
}

.doc-part {
  margin-top: 3rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.small {
  font-size: 0.875rem;
  color: var(--muted) !important;
}

.toc {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--orange-tint);
}

.toc p {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--orange-deep) !important;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc li {
  margin: 0.2rem 0;
}

.facts {
  margin: 1.25rem 0;
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.facts > div {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
}

.facts > div:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .facts > div {
    grid-template-columns: 13rem 1fr;
  }
}

.facts dt {
  color: var(--muted);
  font-size: 0.875rem;
}

.facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
  color: var(--foreground);
}

.lost {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.lost h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.lost p {
  color: var(--ink-2);
}

/* ── footer ── */
.foot {
  margin-top: auto;
  padding: 3rem 0 max(2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--background-deep);
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.foot-slogan {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2rem 0;
}

.foot-links a {
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}

.pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pay img {
  display: block;
  width: 100%;
  max-width: 429px;
  height: auto;
}

.pay p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.foot-legal {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.foot-legal a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orb,
  .soon-dot {
    animation: none;
  }
}

@media (max-width: 639px) {
  .orb {
    opacity: 0.16;
  }
  .orb-peach {
    opacity: 0.4;
  }
  .band {
    padding: 3.75rem 0;
  }
  .hero {
    padding: 3rem 0 3.5rem;
  }
}
