/* burogider.com tanıtım sayfası. Renkler ve yazı tipi uygulamanınkiyle aynıdır. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f5f4ee;
  --sheet: #fffffc;
  --ink: #173d31;
  --green: #245b47;
  --muted: #5c695f;
  --line: #dfe4d9;
  --mint: #e6ede5;
  --amber: #8e5a1f;
  --measure: 34rem;
  --gutter: clamp(1rem, 4vw, 3rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    400 1.0625rem/1.6 'Manrope',
    system-ui,
    sans-serif;
  font-feature-settings: 'lnum';
}

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

a {
  color: var(--green);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Üst şerit */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
}

.top-link {
  font-weight: 600;
}

/* Açılış: başlık ve yazıcıdan çıkan fiş */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5.5rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}

.hero-text {
  padding-top: clamp(0rem, 3vw, 2.5rem);
}

h1 {
  font-size: clamp(2.375rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 13ch;
}

.lead {
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--ink);
}

.button.secondary {
  background: var(--mint);
  color: var(--green);
}

.button.secondary:hover {
  background: #d9e4d8;
}

.note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.printer {
  margin: 0;
  justify-self: center;
  width: min(100%, 23rem);
}

/* Yazıcının ağzı: fiş buradan aşağı çıkar. */
.slot {
  position: relative;
  z-index: 1;
  height: 0.875rem;
  margin: 0 -0.75rem;
  border-radius: 0.4375rem;
  background: var(--ink);
  box-shadow: inset 0 -0.25rem 0 #0e2a21;
}

.paper-path {
  margin-top: -0.4375rem;
  padding: 0 0.25rem 1.5rem;
  overflow: hidden;
  /* Gölge burada: fişin maskesi kendi gölgesini de keserdi. */
  filter: drop-shadow(0 1px 0 rgb(23 61 49 / 0.08)) drop-shadow(0 14px 18px rgb(23 61 49 / 0.12));
}

.receipt {
  --tooth: 1.25rem;
  padding: 1.75rem 1.5rem 2.5rem;
  background: var(--sheet);
  font-feature-settings: 'tnum', 'lnum';
  /* Logodaki fiş gibi testere dişli alt kenar */
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% /
    var(--tooth) 100%;
  animation: print 1.6s cubic-bezier(0.3, 0.7, 0.2, 1) 0.3s both;
}

@keyframes print {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .receipt {
    animation: none;
  }
}

.receipt-office {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.receipt-period {
  color: var(--muted);
  font-size: 0.875rem;
}

.lines {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.lines td,
.lines th {
  padding: 0.5rem 0;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}

.lines .date {
  width: 3.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  padding-top: 0.6rem;
}

.lines th small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
}

.lines .amount {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* Delikli kesme çizgisi: toplamdan önce ve ay sonundan önce */
.totals,
.receipt-heading {
  border-top: 2px dashed var(--line);
}

.totals {
  margin: 0.75rem 0 0;
  padding-top: 0.875rem;
}

.totals div,
.balances div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}

.totals dt {
  color: var(--muted);
}

.totals div:first-child {
  font-weight: 800;
  font-size: 1.125rem;
}

.totals div:first-child dt {
  color: var(--ink);
}

.totals dd,
.balances dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.receipt-heading {
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 800;
}

.balances {
  margin: 0.375rem 0 0;
}

.balances .owes dd {
  color: var(--amber);
}

.printer figcaption {
  margin-top: 0.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Bölümler */
.steps,
.features,
.platforms {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}

h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  max-width: 20ch;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.steps img {
  width: min(100%, 17rem);
  border: 0.5rem solid var(--ink);
  border-radius: 2.25rem;
  background: var(--ink);
}

.steps h3 {
  margin-top: 1.75rem;
  font-size: 1.375rem;
}

.steps li p {
  margin-top: 0.625rem;
  max-width: 24rem;
  color: var(--muted);
}

.features dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 5rem);
  margin: 2.5rem 0 0;
}

.features dl div {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.features dt {
  font-weight: 800;
  font-size: 1.125rem;
}

.features dd {
  margin: 0.25rem 0 0;
  max-width: 28rem;
  color: var(--muted);
}

.audience {
  margin-top: 2.5rem;
  max-width: var(--measure);
  font-size: 1.1875rem;
  font-weight: 600;
}

.platforms dl {
  margin: 2.5rem 0 0;
  max-width: 46rem;
}

.platforms dl div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.platforms dt {
  font-weight: 800;
  font-size: 1.125rem;
}

.platforms dd {
  margin: 0;
  color: var(--muted);
}

.same-account {
  margin-top: 1.5rem;
  font-weight: 600;
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@media (max-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    display: grid;
    grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
  }

  .steps img {
    grid-row: span 2;
    border-width: 0.3125rem;
    border-radius: 1.25rem;
  }

  .steps h3 {
    margin-top: 0.5rem;
  }
}

@media (max-width: 40rem) {
  .features dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .platforms dl div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .steps li {
    grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr);
    column-gap: 1rem;
  }

  .steps h3 {
    font-size: 1.1875rem;
  }

  .actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .slot {
    margin: 0 -0.375rem;
  }
}

.missing {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(4rem, 15vw, 9rem) var(--gutter);
}

/* Gizlilik politikası ve hesap silme gibi düz metin sayfaları */
.doc {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(3.5rem, 8vw, 6rem);
}

.doc h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.08;
  max-width: 18ch;
}

.doc h2 {
  max-width: none;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.375rem;
  line-height: 1.25;
}

.doc :is(p, ul, ol) {
  margin-top: 1rem;
}

.doc .lead {
  margin-top: 1.5rem;
}

.doc .updated {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.doc h2 + * {
  margin-top: 0.75rem;
}

.doc ul,
.doc ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.doc li + li {
  margin-top: 0.625rem;
}

.doc li::marker {
  color: var(--muted);
}

.doc strong {
  font-weight: 600;
}

.bottom a[aria-current='page'] {
  color: var(--ink);
  text-decoration: none;
}
