/* Anupalan public site. Autopren palette (marketing/pdf/src/brand.css): light paper, forest as accent only. */
@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --forest: #063D2F; --canopy: #0F5A45; --gold: #E3B55A; --gold-deep: #8A6A16; --gold-soft: #F7EBCB;
  --paper: #F6F3EA; --card: #FFFDF8; --ink: #041F18; --muted: #4A5A54; --line: #E2DCCB; --mist: #EDE7D6;
  --pass: #1F7A4D; --pass-bg: #E3F1E9; --fail: #B3402E; --fail-bg: #F8E4DF; --warn: #9A6B12; --warn-bg: #FBF0D6;
  --radius: 12px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--canopy); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; color: var(--forest); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand .name { font-family: "Sora"; font-weight: 700; font-size: 20px; color: var(--forest); line-height: 1; }
.brand .by { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--canopy); text-decoration: underline; }
.nav a.btn, .nav a.btn:hover { color: #fff; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 13px 22px; font: 600 16px "Geist", system-ui, sans-serif;
  background: var(--forest); color: #fff; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--canopy); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 14.5px; }
.btn.gold { background: var(--gold); color: var(--ink); } .btn.gold:hover { background: #D9A845; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* sections */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .card { background: var(--paper); }
.step .num { font-family: "Sora"; font-weight: 700; color: var(--gold-deep); font-size: 26px; line-height: 1; margin-bottom: 10px; }

/* hero */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.hero .points { list-style: none; padding: 0; margin: 22px 0 0; }
.hero .points li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.hero .points li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--pass); border-bottom: 2.5px solid var(--pass); transform: rotate(-45deg); }
.deadline { display: inline-flex; gap: 8px; align-items: center; background: var(--gold-soft); border: 1px solid #EAD49A;
  color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 14px; margin-bottom: 18px; }
.deadline b { color: var(--gold-deep); }

/* forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(6, 61, 47, .07); }
.form-card h2 { font-size: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url] {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; color: var(--ink); }
.field input:focus { border-color: var(--canopy); outline: none; box-shadow: 0 0 0 3px rgba(15, 90, 69, .15); }
.field .err { color: var(--fail); font-size: 14px; margin-top: 5px; }
.field input[aria-invalid=true] { border-color: var(--fail); }
.tel { display: flex; } .tel span { padding: 11px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 9px 0 0 9px; background: var(--mist); }
.tel input { border-radius: 0 9px 9px 0 !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--forest); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-error { background: var(--fail-bg); color: var(--fail); border-radius: 8px; padding: 10px 12px; font-size: 14.5px; }
.progress { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; margin: 18px 0 10px; }
.progress div { height: 100%; width: 35%; border-radius: 999px; background: var(--gold); animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .progress div { animation: none; width: 60%; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { font-family: "Sora"; font-weight: 600; text-align: left; color: var(--forest); background: var(--mist); padding: 11px 14px; border-bottom: 2px solid var(--gold); }
td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.pass { background: var(--pass-bg); color: var(--pass); } .chip.fail { background: var(--fail-bg); color: var(--fail); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }

/* pricing */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: "Sora"; font-weight: 700; font-size: 30px; color: var(--forest); margin: 4px 0 2px; }
.plan .gst { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.plan ul { padding-left: 18px; margin: 0 0 18px; } .plan li { margin-bottom: 6px; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--gold); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 20px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--gold-deep); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 16px; color: var(--muted); }

/* prose (guides, legal) */
.prose h2 { margin-top: 1.6em; font-size: 24px; } .prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose .note { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 6px; }
.updated { font-size: 14px; color: var(--muted); }

/* call to action band (light, not a big dark block) */
.cta-band { background: var(--gold-soft); border: 1px solid #EAD49A; border-radius: 16px; padding: 30px; display: flex; gap: 20px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; font-size: 24px; }

/* footer */
.site-foot { border-top: 3px solid var(--gold); background: var(--card); padding: 40px 0 28px; font-size: 14.5px; color: var(--muted); }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.site-foot h3 { font-size: 15px; margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li { margin-bottom: 6px; }
.site-foot a { color: var(--ink); text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
.site-foot .legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }

@media (max-width: 900px) {
  .hero .wrap, .g2, .g3, .g4, .site-foot .cols { grid-template-columns: 1fr; }
  .g4.keep2 { grid-template-columns: 1fr 1fr; }
  section { padding: 44px 0; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--card); flex-direction: column;
    align-items: stretch; padding: 12px 22px 18px; border-bottom: 1px solid var(--line); gap: 12px; }
  .nav.open { display: flex; }
}
@media print { .site-head, .site-foot, .cta-band { display: none; } body { background: #fff; } }
