/* Sahi — landing page styles.
 *
 * Design brief: this page competes for attention with Grammarly, whose whole
 * visual language is soft green optimism aimed at American students. Going
 * anywhere near that would read as an imitation, so this goes the other way —
 * near-black ink, a warm paper ground rather than a cold grey one, a serif
 * display face, and colour used almost exclusively to mean something.
 *
 * The one visual idea, repeated deliberately rather than varied: a correction.
 * Struck original, arrow, replacement. It carries the headline, the product
 * mockups, the comparison rows and the demo output. A reader should be able to
 * describe this page afterwards in one sentence.
 *
 * The four issue colours are the palette. They are not decoration — red is
 * spelling, amber is grammar, indigo is clarity, violet is tone, everywhere on
 * this page and inside the product.
 */

:root {
  --ink: #0b1120;
  --ink-2: #1c2536;
  --body: #3c4759;
  --muted: #6b7688;
  --faint: #9aa3b2;
  --line: #e6e3dd;
  --line-2: #f0ede7;
  --paper: #ffffff;
  --sand: #faf8f4;
  --sand-2: #f4f1ea;

  --indigo: #3b5bdb;
  --indigo-ink: #2b3f9c;
  --red: #e5484d;
  --red-ink: #b42318;
  --amber: #f5a524;
  --amber-ink: #a15c07;
  --violet: #8e4ec6;
  --violet-ink: #6c2bb9;
  --green: #0e9f6e;
  --sahi : #b8607a;
  --moss : #c41e3a;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,17,32,.04), 0 12px 32px -8px rgba(11,17,32,.10);
  --shadow-lg: 0 2px 4px rgba(11,17,32,.04), 0 24px 64px -12px rgba(11,17,32,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 16px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }




/* ============================================================ typography */

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.022em;
  margin: 0;
}

h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.16; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.012em; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 14px;
  font-weight: 800;
}

.lede { font-size: 18.5px; line-height: 1.62; color: var(--body); }
.sub  { font-size: 16px; color: var(--muted); max-width: 62ch; }

/* The correction gesture, used in running text. */
.was { color: var(--red-ink); text-decoration: line-through; text-decoration-thickness: 2px; }
.now { color: var(--ink); font-weight: 600; }
.arrow { color: var(--faint); }

/* ================================================================== nav */
.sahi{
  width: 160px;
  height: 150px;
}
.sahi_footer{
  width: 120px !important;
  height: 75px !important;
}
.nav {
  position: sticky; top: 0; z-index: 60;
  background:#fff;
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid #af9f80;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.mark {
  font-family: 'Fraunces', serif;
  font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.mark small {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 8.5px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 14px; color: #34537f; text-decoration: none; font-weight: 900;
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav__links .hide-sm { display: none; } }

/* =============================================================== buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: 10px; cursor: pointer;
  text-decoration: none; border: 1px solid var(--line);
  background: var(--moss); color:#fff;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { background: #0b1120; border-color: #d9d4cb; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: #1769ff; border-color: none; color: #fff !important;
  box-shadow: 0 1px 2px rgba(11,17,32,.2);
  border: none;
}
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--indigo { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn--indigo:hover { background: var(--indigo-ink); border-color: var(--indigo-ink); }
.btn--sm { padding: 8px 15px; font-size: 13.5px; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: default; }

/* =============================================================== layout */

section { padding: 92px 0; }
.section--sand { background: #f7e6e6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background:#70122f }
.section--ink h2{
  color: #fff;
  font-weight: 800;
}

.section--ink h3 { color: #241016; }
.section--ink .sub { color: #a8b1c1; }
.section--ink p{
  color: #fff !important;
}

.head { max-width: 46ch; margin-bottom: 46px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ================================================================= hero */

.hero { padding: 76px 0 84px; position: relative; overflow: hidden;  background-color: #f7e6e6}
.hero::before {
  content: ''; position: absolute; inset: -30% 40% 40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(59,91,219,.09), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
  position: relative;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; gap: 46px; } }

.hero h1 { margin-bottom: 22px; }
.hero .lede { max-width: 46ch; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__trust { font-size: 13.5px; color: var(--muted); }
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------- the product mock (hero art) */

/* A recreation of the real interface rather than a screenshot: it stays sharp
   at any size, it is a tenth the weight, and it can never drift out of date the
   way a PNG of last year's UI does. */
.mock {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: none !important;
}
.mock__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line-2); background: var(--sand);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #d9d4cb; }
.mock__title { margin-left: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.mock__body { padding: 20px 22px 24px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.mock__meta { font-size: 12.5px; color: var(--faint); border-bottom: 1px solid var(--line-2); padding-bottom: 10px; margin-bottom: 14px; }

.u {
  position: relative; text-decoration: none;
  background-repeat: repeat-x; background-position: 0 100%; background-size: 6px 2px;
}
.u--red    { background-image: linear-gradient(var(--red), var(--red)); }
.u--amber  { background-image: linear-gradient(var(--amber), var(--amber)); }
.u--indigo { background-image: linear-gradient(var(--indigo), var(--indigo)); }
.u--violet { background-image: linear-gradient(var(--violet), var(--violet)); }

.mock__card {
  margin-top: 18px; border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 15px; box-shadow: var(--shadow); background: var(--paper);
  max-width: 300px;
}
.tag {
  display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 4px; margin-bottom: 9px;
}
.tag--grammar { background: #fdf3e2; color: var(--amber-ink); }
.tag--spelling { background: #fdeced; color: var(--red-ink); }
.tag--clarity { background: #eef2ff; color: var(--indigo-ink); }
.tag--tone { background: #f6edfb; color: var(--violet-ink); }

.mock__diff {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px; display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap;
}
.mock__why { font-size: 12.5px; color: var(--muted); margin: 8px 0 11px; line-height: 1.5; }
.mock__acts { display: flex; gap: 6px; }
.mock__btn {
  font-size: 12px; padding: 5px 11px; border-radius: 7px;
  border: 1px solid var(--line); background: var(--paper); color: var(--body);
}
.mock__btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ================================================================= demo */

.demo { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper); }
.demo__head {
  padding: 12px 18px; border-bottom: 1px solid var(--line-2); background: var(--sand);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.demo__body { padding: 18px; }
.demo textarea {
  width: 100%; min-height: 128px; padding: 15px 17px; font: inherit; font-size: 15.5px;
  line-height: 1.7; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 10px; resize: vertical; background: var(--paper);
}
.demo textarea:focus { outline: 2px solid var(--indigo); outline-offset: -1px; border-color: var(--indigo); }
.demo__row { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.demo__status { font-size: 14px; color: var(--muted); }
.demo__out { margin-top: 18px; }
.demo__out:empty { display: none; }
.demo__samples { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.sample {
  font-size: 12.5px; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line); background: transparent; color: var(--muted);
}
.sample:hover { border-style: solid; color: var(--ink); }

.chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; margin: 0 7px 7px 0; font-size: 14px; background: var(--paper);
}
.chip s { color: var(--red-ink); }
.chip b { font-weight: 600; color: var(--ink); }
.chip i { font-style: normal; color: var(--faint); font-size: 11.5px; }
.chip--spelling { border-left: 3px solid var(--red); }
.chip--grammar, .chip--punctuation { border-left: 3px solid var(--amber); }
.chip--clarity { border-left: 3px solid var(--indigo); }
.chip--tone { border-left: 3px solid var(--violet); }

/* ============================================================== diff list */

.diffs { border-top: 1px solid var(--line); }
.diff {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px;
  align-items: baseline; padding: 18px 4px;
  border-bottom: 1px solid var(--line); font-size: 16.5px;
}
.diff__from { color: var(--red-ink); text-decoration: line-through; text-align: right; }
.diff__to { color: var(--ink); font-weight: 600; }
.diff__why { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 640px) {
  .diff { grid-template-columns: 1fr; gap: 3px; }
  .diff__from { text-align: left; }
  .diff__arrow { display: none; }
}

/* =============================================================== features */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 20px; }
.card {
  background-color: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: #d9d4cb; transform: translateY(-2px); }
.card__icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  margin-bottom: 16px; background: var(--sand-2);
}
.card__icon svg { width: 18px; height: 18px; }
.card h3 { margin-bottom: 7px; color: black;font-weight: bold; }
.card p { margin: 0; font-size: 14.5px; color: black !important; line-height: 1.6; }

.section--ink .card { background-color:white; border-color: rgba(255,255,255,.1); }
.section--ink .card:hover { border-color: rgba(255,255,255,.2); }
.section--ink .card__icon { background: rgba(255,255,255,.08); }
.section--ink .card p { color: #a8b1c1; }

/* ============================================================= comparison */

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.compare td { color: var(--muted); }
.compare .col-us { color: var(--ink-2); }
.compare .col-us strong { color: var(--ink); font-weight: 600; }
.yes { color: var(--green); font-weight: 600; }
.no  { color: var(--faint); }
@media (max-width: 720px) { .compare { font-size: 13.5px; } .compare th, .compare td { padding: 11px 9px; } }

/* ================================================================ pricing */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  background: var(--paper);
}
.plan--featured { border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.plan__flag {
  position: absolute; top: -11px; left: 26px;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 5px;
}
.plan h3 { margin-bottom: 4px; }
.plan__price { font-family: 'Fraunces', serif; font-size: 33px; color: var(--ink); letter-spacing: -0.02em; margin: 14px 0 2px; }
.plan__unit { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; color: var(--body); }
.plan li::before {
  content: ''; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--indigo);
}

/* ==================================================================== faq */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 20px 34px 20px 0; cursor: pointer; list-style: none;
  font-size: 17px; color: var(--ink); font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 17px;
  font-size: 20px; color: var(--faint); font-weight: 400;
}
.faq details[open] summary::after { content: '\2212'; }
.faq p { margin: 0 0 22px; font-size: 15px; color: var(--muted); max-width: 66ch; line-height: 1.65; }

/* ================================================================= footer */

footer { background: var(--ink); color: #8b95a6; padding: 56px 0 40px; font-size: 14px; }
footer a { color: #d5dae3; text-decoration: none; }
footer a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__grid h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b7688; margin: 0 0 14px; font-weight: 700; }
.foot__grid ul { list-style: none; padding: 0; margin: 0; }
.foot__grid li { margin-bottom: 9px; }
.foot__mark { color: #fff; }
.foot__mark small { color: #6b7688; }
.foot__bar { border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ================================================================= misc */

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.stat__n { font-family: 'Fraunces', serif; font-size: 38px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.section--ink .stat__n { color: #fff; }
.stat__l { font-size: 13px; color: var(--muted); margin-top: 7px; }

.rule-line { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.rule-line:last-child { border-bottom: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
