/* ==========================================================================
   OZET.CH — CLEAN SWISS DESIGN SYSTEM (FULLY RESPONSIVE)
   ========================================================================== */
:root {
  --bg-white: #ffffff;
  --bg-sand: #f4f1ec;
  --bg-stone: #ded5c6;
  --ink: #20242a;
  --ink-muted: #5a626a;
  --ink-light: #778187;
  --border-light: #ded5c6;
  --border-subtle: #e6e1d6;
  --border-strong: #20242a;
  --red: #ee000c;
  --red-hover: #b80009;
  --font-heading: "Futura", "Futura Std", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --max-width: 76.5rem; /* 1224px */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--ink);
  background-color: var(--bg-white);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-white);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

/* Typography */
h1, .h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

p {
  margin-bottom: 1rem;
  color: var(--ink);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

.text-muted {
  color: var(--ink-muted);
}

/* Bullet Lists */
ul.blkb-list {
  list-style: none;
  margin: 1rem 0;
}

ul.blkb-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.5;
  display: block;
}

ul.blkb-list li:last-child {
  margin-bottom: 0;
}

ul.blkb-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--ink);
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 0.55em;
}

ul.blkb-list.red-dots li::before {
  background-color: var(--red);
}

ul.blkb-list.blkb-list--tight {
  margin: 0;
}

ul.blkb-list.blkb-list--tight li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

ul.blkb-list.blkb-list--2col {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.5rem;
}

ul.blkb-list.blkb-list--2col li {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  ul.blkb-list.blkb-list--2col {
    grid-template-columns: 1fr;
  }
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section--sand {
  background-color: var(--bg-sand);
}

.section--stone {
  background-color: var(--bg-stone);
}

/* ==========================================================================
   RESPONSIVE HEADER (Desktop Horizontal Nav / Mobile Collapsible Menu)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--ink);
  background-color: var(--bg-sand);
}

.header-main__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background-color: var(--ink);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding: 5px;
  gap: 4px;
}

.brand-mark span {
  background-color: var(--bg-white);
  display: block;
}

.brand-mark span.red-cell {
  background-color: var(--red);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  background-color: var(--bg-white);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.nav-toggle:hover {
  background-color: var(--ink);
  color: var(--bg-white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid transparent;
  transition: all 0.12s ease;
  white-space: nowrap;
}

.main-nav a:not(.btn):hover {
  border-color: var(--ink);
  background-color: var(--bg-white);
}

.main-nav a:not(.btn).active {
  background-color: var(--bg-white);
  border-color: var(--ink);
}

@media (max-width: 820px) {
  .header-main__inner {
    flex-wrap: wrap;
    min-height: 3.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid var(--border-light);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a:not(.btn) {
    padding: 0.65rem 0.85rem;
  }

  .main-nav a.btn {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.25rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 0;
  border: 2px solid var(--ink);
  background-color: var(--bg-white);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  background-color: var(--ink);
  color: var(--bg-white);
}

.btn--primary,
a.btn--primary {
  background-color: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.btn--primary:hover,
a.btn--primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  color: #ffffff;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-arrow {
  font-weight: 400;
  transition: transform 0.15s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    white-space: normal;
  }
}

/* ==========================================================================
   RESPONSIVE GRIDS & CARDS
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .grid-2--hero {
    gap: 2rem;
  }

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

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-2--hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.card {
  background-color: var(--bg-white);
  border: 2px solid var(--ink);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card--compact {
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .card {
    padding: 1.35rem;
  }

  .card--compact {
    padding: 1.25rem;
  }
}

.card--sand {
  background-color: var(--bg-sand);
}

.card--flush {
  padding: 0;
}

.card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .card__body {
    padding: 1.35rem;
  }
}

.card__media {
  border-bottom: 2px solid var(--ink);
  background-color: var(--bg-sand);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.card__header {
  margin-bottom: 1rem;
}

.card__footer {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Pricing Card Header */
.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.plan-price {
  text-align: right;
  white-space: nowrap;
}

.plan-price__val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}

.plan-price__sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Responsive Media Frame */
.media-frame {
  border: 2px solid var(--ink);
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.media-frame__img-wrap {
  background-color: var(--bg-sand);
  overflow: hidden;
  width: 100%;
}

.media-frame__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.media-frame__caption {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--ink-muted);
  background-color: var(--bg-white);
}

/* Section Header Layout */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.25rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header .btn {
    width: 100%;
  }
}

.section-header__left {
  max-width: 42rem;
}

/* App Identity Badge */
.app-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  border: 2px solid var(--ink);
  background-color: var(--bg-white);
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.25rem;
}

.app-identity img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Swiss QR Bill Visual Mockup */
.qr-slip {
  border: 2px solid var(--ink);
  background: var(--bg-white);
  display: grid;
  grid-template-columns: 1fr 2fr;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

.qr-slip__receipt {
  padding: 1.25rem;
  border-right: 1px dashed var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qr-slip__payment {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .qr-slip {
    grid-template-columns: 1fr;
  }

  .qr-slip__receipt {
    border-right: none;
    border-bottom: 1px dashed var(--ink);
  }
}

@media (max-width: 480px) {
  .qr-slip__payment {
    grid-template-columns: 1fr;
  }
}

.qr-code-box {
  width: 132px;
  height: 132px;
  border: 2px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, #20242a 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg, #20242a 0 4px, transparent 4px 8px);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiss-cross-badge {
  width: 28px;
  height: 28px;
  background-color: var(--ink);
  border: 2px solid var(--bg-white);
  position: relative;
}

.swiss-cross-badge::before,
.swiss-cross-badge::after {
  content: "";
  position: absolute;
  background-color: var(--bg-white);
}

.swiss-cross-badge::before {
  width: 14px;
  height: 4px;
  top: 10px;
  left: 5px;
}

.swiss-cross-badge::after {
  width: 4px;
  height: 14px;
  top: 5px;
  left: 10px;
}

/* Legal Prose Content */
.legal-prose {
  max-width: 48rem;
}

.legal-prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
}

.legal-prose p,
.legal-prose ul {
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-sand);
  border-top: 2px solid var(--ink);
  padding: 3.5rem 0 2.25rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--red);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
