/*
Theme Name: BentaLog Landing
Theme URI: https://example.com/
Author: BentaLog
Description: One-page marketing site for BentaLog. Edit all text, prices and links in Appearance > Customize > BentaLog landing page.
Version: 1.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bentalog-landing
*/

  :root {
    --paper: #fbfaf6;
    --ink: #0d2623;
    --ink-soft: #46605c;
    --teal: #0f766e;
    --teal-2: #0f8a7e;
    --deep: #04332f;
    --mint: #e6f3f1;
    --line: #dfe7e4;
    --amber: #f5a623;
    --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
    --mono: "DM Mono", ui-monospace, monospace;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--paper); }
  .page { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; width: 100%; overflow-x: hidden; }
  .page a { text-decoration: none; }
  .page a:not(.btn) { color: inherit; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
  h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
  p { margin: 0; }
  .eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }

  /* nav */
  .nav { position: sticky; top: 0; z-index: 10; background: rgba(251,250,246,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; }
  .nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
  .nav-links a:hover { color: var(--teal); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 12px; }
  .btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 0 var(--deep); transition: transform .12s, box-shadow .12s; }
  .btn-primary:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--deep); }
  .btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 12px 20px; }
  .btn-ghost:hover { background: var(--ink); color: #fff; }
  .btn-sm { padding: 10px 16px; font-size: 14px; box-shadow: 0 4px 0 var(--deep); }

  /* hero */
  .hero { padding: 72px 0 80px; background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 36px, var(--paper); }
  .hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; }
  .hero h1 em { font-style: normal; color: var(--teal); background: linear-gradient(transparent 62%, rgba(245,166,35,0.45) 62%); }
  .hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); margin-top: 22px; max-width: 520px; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
  .fine { font-size: 14px; color: var(--ink-soft); margin-top: 16px; }
  .receipt-stage { display: flex; justify-content: center; position: relative; padding: 52px 10px 28px; }
  .receipt { width: 100%; max-width: 340px; background: #fff; font-family: var(--mono); font-size: 13.5px; color: #1b2b29; padding: 26px 24px 34px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(4,51,47,0.14); transform: rotate(2deg);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 96% 100%, 92% calc(100% - 12px), 88% 100%, 84% calc(100% - 12px), 80% 100%, 76% calc(100% - 12px), 72% 100%, 68% calc(100% - 12px), 64% 100%, 60% calc(100% - 12px), 56% 100%, 52% calc(100% - 12px), 48% 100%, 44% calc(100% - 12px), 40% 100%, 36% calc(100% - 12px), 32% 100%, 28% calc(100% - 12px), 24% 100%, 20% calc(100% - 12px), 16% 100%, 12% calc(100% - 12px), 8% 100%, 4% calc(100% - 12px), 0 100%); }
  .rc-head { text-align: center; padding-bottom: 12px; border-bottom: 1px dashed #9db3af; }
  .rc-head b { display: block; font-family: var(--display); font-size: 19px; }
  .rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
  .rc-row small { color: #6b817d; display: block; font-size: 12px; }
  .rc-total { border-top: 1px dashed #9db3af; margin-top: 8px; padding-top: 10px; font-weight: 500; font-size: 16px; }
  .rc-foot { text-align: center; color: #6b817d; margin-top: 14px; font-size: 12.5px; }
  .chip { position: absolute; z-index: 2; white-space: nowrap; background: var(--deep); color: #fff; font-family: var(--body); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; box-shadow: 0 8px 18px rgba(4,51,47,0.25); }
  .chip.c1 { top: 8px; left: 10px; }
  .chip.c2 { bottom: 2px; right: 6px; background: var(--amber); color: var(--deep); }

  /* strip */
  .strip { background: var(--deep); color: #d6ebe8; }
  .strip-in { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; padding: 18px 20px; font-weight: 500; font-size: 15px; }
  .strip-in span { display: inline-flex; align-items: center; gap: 8px; }

  /* sections */
  .section { padding: 92px 0; }
  .section-head { max-width: 680px; margin-bottom: 48px; }
  .section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin-top: 12px; }
  .section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }
  .ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

  .feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
  .feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
  .feat .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
  .feat h3 { font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .feat p { color: var(--ink-soft); margin-top: 10px; font-size: 16px; }
  .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--amber); color: var(--deep); padding: 3px 8px; border-radius: 6px; font-weight: 500; }

  /* steps */
  .how { background: var(--mint); }
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
  .step { border-top: 3px solid var(--teal); padding-top: 18px; }
  .step .n { font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--teal); line-height: 1; }
  .step h3 { font-size: 22px; margin-top: 10px; }
  .step p { color: var(--ink-soft); margin-top: 8px; }

  /* plans */
  .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
  .plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
  .plan.pro { border: 2px solid var(--teal); box-shadow: 0 14px 34px rgba(15,118,110,0.16); }
  .plan.soon { background: transparent; border-style: dashed; }
  .plan h3 { font-size: 26px; font-weight: 800; }
  .plan .for { color: var(--ink-soft); font-size: 15px; margin-top: 6px; min-height: 46px; }
  .price { font-family: var(--display); font-weight: 800; font-size: 34px; margin: 18px 0 4px; letter-spacing: -0.02em; }
  .price small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--ink-soft); }
  .plan ul { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
  .plan li { display: flex; gap: 10px; font-size: 15.5px; }
  .plan li svg { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
  .plan .badge { position: absolute; top: -13px; left: 24px; background: var(--amber); color: var(--deep); font-weight: 700; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; }
  .plan .btn { width: 100%; }

  /* trial */
  .trial { background: var(--deep); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; margin-top: 56px; }
  .trial h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
  .trial p { color: #bcd9d5; margin-top: 14px; }
  .timeline { display: flex; align-items: center; gap: 0; font-weight: 700; }
  .tl-a, .tl-b { padding: 20px 18px; text-align: center; flex: 1; }
  .tl-a { background: var(--teal-2); border-radius: 16px 0 0 16px; }
  .tl-b { background: rgba(255,255,255,0.1); border-radius: 0 16px 16px 0; }
  .tl-a span, .tl-b span { display: block; font-weight: 500; font-size: 13px; opacity: 0.85; margin-top: 4px; }

  /* faq */
  .faq { max-width: 780px; }
  details { border-bottom: 1px solid var(--line); padding: 20px 0; }
  summary { cursor: pointer; font-family: var(--display); font-size: 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-size: 26px; color: var(--teal); font-weight: 500; }
  details[open] summary::after { content: "\2212"; }
  details p { color: var(--ink-soft); margin-top: 12px; max-width: 680px; }

  /* final */
  .final { background: var(--teal); color: #fff; text-align: center; padding: 88px 0; }
  .final h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; max-width: 760px; margin: 0 auto; }
  .final p { margin: 18px auto 0; max-width: 520px; color: #d6f0ec; }
  .final .cta-row { justify-content: center; }
  .final .btn-primary { background: #fff; color: var(--deep); box-shadow: 0 6px 0 var(--deep); }
  .final .btn-ghost { color: #fff; border-color: #fff; }
  .final .btn-ghost:hover { background: #fff; color: var(--deep); }
  footer { background: var(--deep); color: #9fc2bd; padding: 32px 0; font-size: 14px; }
  .foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

  @media (max-width: 760px) {
    .nav-links { display: none; }
    .section { padding: 64px 0; }
    .hero { padding: 44px 0 56px; }
    .receipt { transform: none; }
    .chip.c1 { left: 6px; }
    .chip.c2 { right: 2px; }
  }

  .admin-bar .nav { top: 32px; }
  @media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
  .page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


  /* video */
  .video { background: var(--mint); }
  .video-frame { max-width: 920px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000; border: 3px solid var(--deep); box-shadow: 0 10px 0 var(--deep); }
  .video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

  /* testimonials */
  .quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; gap: 22px; }
  .quote blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.35; font-weight: 500; flex: 1; }
  .quote blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; color: var(--amber); font-weight: 800; margin-bottom: 8px; }
  .quote figcaption b { display: block; }
  .quote figcaption span { color: var(--ink-soft); font-size: 14.5px; }

  /* suggestion box */
  .suggest { background: var(--mint); }
  .suggest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
  .suggest h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin-top: 12px; }
  .suggest .lead { color: var(--ink-soft); margin-top: 16px; font-size: 18px; max-width: 460px; }
  .sg-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
  .sg-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
  .sg-form label span { font-weight: 400; color: var(--ink-soft); }
  .sg-form input, .sg-form select, .sg-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
  .sg-form input:focus, .sg-form select:focus, .sg-form textarea:focus { outline: 3px solid rgba(15,118,110,.25); border-color: var(--teal); }
  .sg-form textarea { resize: vertical; }
  .sg-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
  .sg-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .sg-note { padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: 15px; }
  .sg-note.ok { background: #d9f2e6; color: #0b4a33; }
  .sg-note.err { background: #fde8e4; color: #7a2112; }
  .sg-form .btn { width: 100%; }

  /* legal pages */
  .legal { padding: 64px 0 96px; }
  .legal .wrap { max-width: 780px; }
  .legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
  .legal .updated { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
  .legal h2 { font-size: 24px; font-weight: 800; margin-top: 40px; }
  .legal p, .legal li { color: #263f3b; margin-top: 12px; }
  .legal ul { padding-left: 22px; margin: 8px 0 0; }
  .legal a { color: var(--teal); text-decoration: underline; }
  footer a:hover { color: #fff; }
