/* IELTS Writing Feedback — shared site styles */
:root{
  --bg:#f6f7f9; --card:#ffffff; --ink:#1f2937; --muted:#6b7280;
  --line:#e5e7eb; --brand:#2f6b45; --brand-dark:#22381f; --accent:#e8543e;
  --field:#fff; --teal:#0f6e6a;
  --shadow:0 1px 3px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.05);
  --radius:12px;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55;
}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:960px; margin:0 auto; padding:0 18px}
.narrow{max-width:760px}

/* nav */
.site-nav{background:#fff; border-bottom:1px solid var(--line)}
.site-nav .wrap{display:flex; align-items:center; justify-content:space-between; height:62px}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; font-size:16px; color:var(--ink)}
.brand:hover{text-decoration:none}
.brand .dot{width:26px; height:26px; border-radius:7px; background:var(--brand); color:#fff;
  display:inline-flex; align-items:center; justify-content:center; font-size:14px}
.nav-links a{color:var(--muted); font-size:14px; margin-left:18px}

/* buttons */
.btn{appearance:none; border:0; border-radius:8px; cursor:pointer; display:inline-block;
  background:var(--brand); color:#fff; font-size:15px; font-weight:600; padding:13px 22px;
  transition:opacity .15s; text-align:center}
.btn:hover{opacity:.92; text-decoration:none; color:#fff}
.btn:disabled{opacity:.55; cursor:not-allowed}
.btn-lg{font-size:16px; padding:15px 30px}
.btn-ghost{background:#eef2ef; color:var(--brand-dark)}
.btn-grey{background:#4b5563}

/* generic card */
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow)}

/* hero */
.hero{padding:64px 0 40px; text-align:center}
.hero h1{font-size:38px; line-height:1.15; margin:0 0 14px; letter-spacing:-.01em}
.hero p.lede{font-size:18px; color:var(--muted); max-width:620px; margin:0 auto 26px}
.hero .cta-row{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; align-items:center}
.price-note{color:var(--muted); font-size:14px}

/* section */
.section{padding:44px 0}
.section h2{font-size:26px; margin:0 0 6px; text-align:center}
.section .sub{color:var(--muted); text-align:center; margin:0 auto 30px; max-width:560px}

/* steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.step{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px}
.step .n{width:30px; height:30px; border-radius:8px; background:var(--brand); color:#fff;
  font-weight:800; display:flex; align-items:center; justify-content:center; margin-bottom:12px}
.step h3{margin:0 0 6px; font-size:17px}
.step p{margin:0; color:var(--muted); font-size:14.5px}

/* sample frame */
.sample-wrap{max-width:840px; margin:0 auto}
.sample-banner{background:#22381f; color:#fff; font-size:12px; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em; padding:8px 14px; border-radius:8px 8px 0 0;
  display:flex; justify-content:space-between; align-items:center}
.sample-frame{border:1px solid var(--line); border-top:0; border-radius:0 0 var(--radius) var(--radius);
  background:#fff; padding:18px; max-height:560px; overflow:auto}

/* pricing */
.pricing{max-width:420px; margin:0 auto; text-align:center}
.pricing .amount{font-size:34px; font-weight:800; margin:6px 0}
.pricing .amount .tbd{color:var(--accent)}
.pricing ul{list-style:none; padding:0; margin:16px 0 22px; text-align:left}
.pricing li{padding:7px 0 7px 26px; position:relative; font-size:15px}
.pricing li:before{content:"✓"; color:var(--brand); position:absolute; left:2px; font-weight:800}

/* faq */
.faq{max-width:720px; margin:0 auto}
.faq details{background:#fff; border:1px solid var(--line); border-radius:10px; padding:4px 16px; margin-bottom:10px}
.faq summary{cursor:pointer; font-weight:600; padding:12px 0; font-size:15.5px}
.faq details p{margin:0 0 14px; color:var(--muted); font-size:14.5px}

/* footer */
.site-footer{border-top:1px solid var(--line); background:#fff; margin-top:40px; padding:26px 0}
.site-footer .wrap{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:center}
.site-footer .links a{color:var(--muted); font-size:13px; margin-right:16px}
.site-footer .disclaimer{color:var(--muted); font-size:12px; max-width:520px}

/* prose (policy pages) */
.prose{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 30px;
  box-shadow:var(--shadow); margin:28px 0}
.prose h1{font-size:26px; margin:0 0 4px}
.prose .updated{color:var(--muted); font-size:13px; margin:0 0 20px}
.prose h2{font-size:18px; margin:24px 0 8px}
.prose p,.prose li{font-size:15px; color:#374151}
.prose .todo{background:#fff8e1; border:1px solid #f0e3b0; color:#8a6d1e; padding:2px 6px; border-radius:4px; font-size:13px}

/* form (app page) */
label{display:block; font-weight:600; font-size:14px; margin:0 0 6px}
.hint{font-weight:400; color:var(--muted); font-size:12.5px; margin-left:6px}
select,textarea,input[type=file]{width:100%; border:1px solid var(--line); border-radius:8px;
  background:var(--field); font-size:15px; color:var(--ink); font-family:inherit; padding:11px 12px}
textarea{resize:vertical}
.field{margin-bottom:18px}
.field:last-child{margin-bottom:0}
.thumb{margin-top:10px; max-height:180px; border:1px solid var(--line); border-radius:8px; display:none}
.row{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.status{font-size:14px; color:var(--muted)}
.error{background:#fdf1f0; border:1px solid #f5d4d0; color:#7a1913; padding:12px 14px;
  border-radius:8px; font-size:14px; margin-top:14px; display:none}
.spinner{width:18px; height:18px; border:2.5px solid #cdd7d0; border-top-color:var(--brand);
  border-radius:50%; animation:spin .8s linear infinite; display:inline-block; vertical-align:middle}
@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width:680px){
  .hero h1{font-size:30px}
  .steps{grid-template-columns:1fr}
  .section{padding:34px 0}
}
