/* ==========================================================================
   OpticFlow — landing.css (page-specific; tokens/components in brand.css)
   ========================================================================== */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--of-line); }
section[id] { scroll-margin-top: 76px; }

h1, h2, h3 {
  font-family: var(--of-font-display);
  color: var(--of-ink);
  margin: 0;
  text-wrap: balance;
}

/* Eyebrows read like HUD readouts throughout the landing page — the one
   recurring typographic signature tying marketing copy back to the
   try-app's own viewfinder/instrument vocabulary. */
.of-eyebrow {
  font-family: var(--of-font-mono);
  letter-spacing: 0.06em;
}

.of-eyebrow-invert { color: #8fb4fb; }

.of-section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.of-section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.18;
  margin-top: 10px;
}

.of-section-head p {
  margin: 14px 0 0;
  color: var(--of-mut);
  font-size: 16.5px;
  max-width: 58ch;
}

.of-section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 520px;
}

/* --------------------------------- Header --------------------------------- */
.of-lheader-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.of-lheader-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--of-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--of-ink);
}

.of-lnav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.of-lnav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.of-lnav-links a {
  text-decoration: none;
  color: var(--of-mut);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.of-lnav-links a:hover { color: var(--of-ink); }

/* ----------------------------------- Hero ---------------------------------- */
.of-hero { padding: 64px 0 96px; }

.of-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.of-hero h1 {
  font-size: clamp(2.3rem, 3.9vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-top: 12px;
}

.of-hero-lede {
  margin: 22px 0 0;
  font-size: 18px;
  color: var(--of-mut);
  max-width: 46ch;
}

.of-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Demo screenshot frame — the hero centerpiece is a real capture from the
   try app (viewfinder corner brackets already baked into the image), so the
   frame here stays quiet: just the card border/shadow, no extra chrome. */
.of-demo-frame {
  border-radius: var(--of-radius);
  overflow: hidden;
  box-shadow: var(--of-shadow);
  border: 1px solid var(--of-line);
  background: var(--of-ink);
}

.of-demo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.of-hero-caption {
  margin-top: 12px;
  font-family: var(--of-font-mono);
  font-size: 12.5px;
  color: var(--of-mut);
  text-align: center;
}

/* -------------------------------- Feature cards ----------------------------- */
.of-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.of-feature { padding: 30px 26px; }

.of-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--of-radius-sm);
  background: var(--of-acc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.of-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--of-acc-deep);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.of-feature h3 { font-size: 18px; margin-bottom: 8px; }

.of-feature p { margin: 0; color: var(--of-mut); font-size: 15px; }

/* ---------------------------------- Steps ---------------------------------- */
.of-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  overflow: hidden;
  background: var(--of-card);
}

.of-step { padding: 32px 28px; position: relative; }

.of-step + .of-step { border-left: 1px solid var(--of-line); }

.of-step-num {
  font-family: var(--of-font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--of-acc);
  opacity: 0.55;
  line-height: 1;
}

.of-step h3 { font-size: 17px; margin: 14px 0 8px; line-height: 1.3; }

.of-step p { margin: 0; color: var(--of-mut); font-size: 15px; }

/* --------------------------------- Privacy ---------------------------------- */
.of-privacy-section {
  background: var(--of-ink);
  color: rgba(255, 255, 255, 0.86);
  border-top: none;
}

.of-privacy-section + section { border-top: none; }

.of-privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.of-privacy-section h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  margin-top: 10px;
  max-width: 16ch;
}

.of-privacy-section p {
  margin: 18px 0 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
}

.of-privacy-kvkk {
  font-family: var(--of-font-mono);
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-top: 20px !important;
}

/* Optical-bench style flow diagram: camera/photo -> browser (highlighted) ->
   screen, with an explicit "no server" node below. Mono type, thin rules —
   reads like an instrument schematic, not a generic icon row. */
.of-privacy-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--of-font-mono);
}

.of-pd-node {
  flex: 1 1 auto;
  min-width: 128px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--of-radius-sm);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
}

.of-pd-node-active {
  border-color: var(--of-acc);
  background: rgba(37, 99, 235, 0.16);
  color: #fff;
  font-weight: 700;
}

.of-pd-arrow {
  flex: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

.of-pd-off {
  flex: 1 1 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: var(--of-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.of-pd-off-x {
  font-size: 16px;
  color: var(--of-danger);
  font-weight: 700;
}

/* --------------------------------- Pricing ---------------------------------- */
.of-pricing-wrap { display: flex; justify-content: center; }

.of-pricing-card {
  max-width: 480px;
  width: 100%;
  padding: 40px 40px 34px;
  text-align: left;
}

.of-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.of-price {
  font-family: var(--of-font-display);
  font-size: 38px;
  color: var(--of-ink);
}

.of-price-sep { color: var(--of-mut); font-size: 16px; }

.of-price-setup {
  color: var(--of-mut);
  font-size: 14px;
  margin: 8px 0 0;
}

.of-check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.of-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.of-check-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--of-acc);
  transform: rotate(45deg);
}

.of-founder-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--of-radius-sm);
  background: var(--of-acc-soft);
  font-size: 14px;
  color: var(--of-acc-deep);
}

.of-founder-note strong { display: block; margin-bottom: 4px; }

.of-pricing-cta { margin-top: 28px; width: 100%; }

/* ------------------------------------ FAQ ------------------------------------ */
.of-faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--of-line);
}

.of-faq-item {
  border-bottom: 1px solid var(--of-line);
  padding: 6px 0;
}

.of-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 16.5px;
  font-weight: 600;
}

.of-faq-item summary::-webkit-details-marker { display: none; }

.of-faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--of-font-display);
  font-size: 22px;
  color: var(--of-acc);
  transition: transform 0.2s ease;
}

.of-faq-item[open] summary::after { transform: rotate(45deg); }

.of-faq-item p {
  margin: 0 0 20px;
  padding: 0 4px;
  color: var(--of-mut);
  font-size: 15px;
  max-width: 62ch;
}

/* ---------------------------------- Contact ---------------------------------- */
.of-contact-card {
  padding: 48px 44px;
  text-align: center;
}

.of-contact-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-top: 10px; }

.of-contact-card p {
  margin: 14px auto 0;
  color: var(--of-mut);
  max-width: 50ch;
  font-size: 16px;
}

.of-contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.of-contact-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--of-mut);
}

/* --------------------------------- Footer ------------------------------------ */
.of-lfooter { padding: 44px 0 0; text-align: left; }

.of-lfooter-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
}

.of-lfooter-meta p {
  margin: 10px 0 0;
  color: var(--of-mut);
  font-size: 14px;
  max-width: 36ch;
}

.of-lfooter-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 14px;
}

.of-lfooter-contact a { text-decoration: none; font-weight: 600; }

.of-lfooter-legal {
  border-top: 1px solid var(--of-line);
  padding: 18px 24px 24px;
  font-size: 12.5px;
  color: var(--of-mut);
}

/* ---------------------------------- Responsive -------------------------------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .of-hero { padding: 44px 0 64px; }
  .of-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .of-hero h1 { max-width: none; }
  .of-features-grid { grid-template-columns: 1fr; }
  .of-steps-grid { grid-template-columns: 1fr; }
  .of-step + .of-step { border-left: none; border-top: 1px solid var(--of-line); }
  .of-privacy-grid { grid-template-columns: 1fr; gap: 36px; }
  .of-privacy-section h2 { max-width: none; }
  .of-pricing-card { padding: 32px 26px 28px; }
  .of-contact-card { padding: 36px 24px; }
  .of-lfooter-inner { flex-direction: column; }
  .of-lfooter-contact { align-items: flex-start; }
}

@media (max-width: 640px) {
  .of-lnav-links { display: none; }
  .of-price { font-size: 32px; }
  .of-pd-node { min-width: 100%; }
  .of-pd-arrow { display: none; }
}
