/* ============================================================
   Academic Writing Services — premium navy / white / gold
   Type: Schibsted Grotesk (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  /* Navy scale */
  --navy-950: #08152C;
  --navy-900: #0A1A38;
  --navy-800: #0E2148;
  --navy-700: #143058;
  --navy-600: #1C406F;
  --navy-500: #275488;

  /* Ink / text */
  --ink:      #122039;
  --muted:    #56678A;
  --muted-2:  #8997B2;

  /* Gold (default accent) */
  --gold:      #C5A253;
  --gold-deep: #A9863A;
  --gold-soft: #E4D2A2;
  --gold-tint: #F7F0DD;

  /* Accent (tweakable) — drives CTAs, highlights */
  --accent:      var(--gold);
  --accent-deep: var(--gold-deep);
  --accent-soft: var(--gold-soft);
  --accent-tint: var(--gold-tint);
  --on-accent:   #1A1304; /* readable text on accent */

  /* Surfaces */
  --bg:        #FFFFFF;
  --bg-soft:   #F5F7FB;
  --bg-soft-2: #EBF0F8;
  --line:      #E3E8F1;
  --line-soft: #EEF2F8;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Softer, layered elevation — premium diffuse shadows */
  --shadow-sm: 0 1px 2px rgba(16,33,72,.05), 0 2px 5px rgba(16,33,72,.05);
  --shadow:    0 2px 6px rgba(16,33,72,.05), 0 12px 28px -10px rgba(16,33,72,.15), 0 22px 48px -24px rgba(10,26,56,.18);
  --shadow-lg: 0 4px 10px rgba(16,33,72,.06), 0 18px 42px -14px rgba(10,26,56,.22), 0 40px 84px -32px rgba(10,26,56,.32);

  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 32%, transparent);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);

  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--navy-900); margin: 0; }

/* Branded selection + accessible focus ring */
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--navy-950); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.btn:focus-visible, a:focus-visible { box-shadow: var(--ring); }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 8vw, 116px); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 8px 20px -8px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 16px 32px -10px color-mix(in srgb, var(--accent) 72%, transparent); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn-dark { background: var(--navy-800); color: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 8px 20px -10px rgba(10,26,56,.4); }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-700); box-shadow: 0 14px 30px -12px rgba(10,26,56,.5); }
.btn-dark:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-300, var(--navy-500)); background: var(--bg-soft); }
.btn-ghost:active { transform: translateY(1px); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; font-family: var(--font-display);
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-deep);
  letter-spacing: .01em;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  box-shadow: 0 1px 2px rgba(16,33,72,.04);
}
.pill svg { width: 15px; height: 15px; flex: none; }

/* ============================================================
   TOP BAR + HEADER
   ============================================================ */
.topbar {
  background: var(--navy-950); color: #C9D4E6;
  font-size: 13.5px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 18px; }
.topbar .tb-left { display: flex; align-items: center; gap: 22px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .tb-item svg { width: 15px; height: 15px; color: var(--accent); }
.topbar .tb-right { display: flex; align-items: center; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar .stars { color: var(--accent); letter-spacing: 1px; }
@media (max-width: 860px){ .topbar .tb-left .tb-item:nth-child(n+2){ display:none; } }

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
header.site.scrolled { box-shadow: 0 6px 24px -16px rgba(12,28,58,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 21px;
  box-shadow: var(--shadow-sm); flex: none;
  position: relative; overflow: hidden;
}
.brand .mark::after{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 60%); pointer-events:none; }
.brand .mark svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bt b { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-900); letter-spacing: -.01em; }
.brand .bt span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--navy-700);
  padding: 9px 11px; border-radius: 9px; transition: color .15s, background .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .login { font-weight: 600; font-size: 15px; color: var(--navy-800); padding: 9px 6px; }
.nav-cta .login:hover { color: var(--accent-deep); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; color: var(--navy-800); }

@media (max-width: 1200px){
  .nav-links { display: none; }
  .nav-cta .login { display: none; }
  .burger { display: inline-flex; }
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8,20,40,.42); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; z-index: 95; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 22px; box-shadow: var(--shadow-lg); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer .dclose { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.drawer a.dl { padding: 14px 8px; font-size: 17px; font-weight: 500; color: var(--navy-800); border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.drawer .btn { margin-top: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--bg); padding-top: clamp(40px, 6vw, 78px); padding-bottom: clamp(48px, 7vw, 90px); }
.hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(900px 520px at 90% -12%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%),
    radial-gradient(720px 560px at -8% 4%, rgba(20,48,88,.08), transparent 64%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 30%);
  pointer-events:none;
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: radial-gradient(rgba(20,48,88,.07) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(680px 480px at 78% 18%, #000, transparent 72%);
  mask-image: radial-gradient(680px 480px at 78% 18%, #000, transparent 72%);
  opacity: .7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-copy .pill { margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); letter-spacing: -.025em; }
.hero h1 .hl { color: var(--accent-deep); position: relative; white-space: nowrap; }
.hero h1 .hl::after{ content:""; position:absolute; left:0; right:0; bottom:.06em; height:.18em; background: var(--accent-soft); opacity:.55; z-index:-1; border-radius:3px; }
.hero .sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin: 22px 0 26px; max-width: 540px; text-wrap: pretty; }
.hero-feats { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 26px; margin: 0 0 30px; justify-content: start; }
.hero-feats li { list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15.5px; color: var(--navy-800); }
.hero-feats .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.hero-feats .ck svg { width: 13px; height: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trustline { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.avatars { display: flex; }
.avatars span { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; background: var(--bg-soft-2); display:grid; place-items:center; font-size: 12px; font-weight: 700; color: var(--navy-700); font-family: var(--font-display); }
.avatars span:first-child { margin-left: 0; }

/* Hero visual */
.hero-visual { position: relative; }

/* Hero compact calculator card */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -6% -10% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 30%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  filter: blur(36px); opacity: .7;
}
.calc-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.calc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cc-head h3 { font-size: 21px; }
.cc-flame { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-tint); color: var(--accent-deep); font-size: 12px; font-weight: 700; font-family: var(--font-display); padding: 6px 11px; border-radius: 999px; }
.cc-flame svg { width: 13px; height: 13px; }
.cc-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.cc-field label { font-size: 13px; font-weight: 600; color: var(--navy-800); font-family: var(--font-display); }
.cc-field .sel { position: relative; }
.cc-field .sel::after { content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cc-field select { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none; }
.cc-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.cc-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.cc-words { justify-content: flex-start; }
.cc-wordval { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-900); }
.stepper.light { background: var(--bg-soft); border: 1px solid var(--line); }
.stepper.light button { color: var(--navy-700); }
.stepper.light input { color: var(--ink); }
.calc-card .chips { gap: 7px; }
.calc-card .chip { border: 1px solid var(--line); background: var(--bg-soft); color: var(--navy-700); padding: 9px 14px; flex: 1; min-width: 0; text-align: center; }
.calc-card .chip:hover { border-color: var(--accent-soft); }
.calc-card .chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cc-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.cc-tl { display: block; font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 15px; }
.cc-disc { display: block; font-size: 12.5px; color: #1A7048; font-weight: 600; margin-top: 2px; }
.cc-tv { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--navy-900); letter-spacing: -.02em; line-height: 1; }
.cc-tv small { font-size: 17px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px){ .hero-visual { order: 1; } }

.hero-shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6); }
.hero-shot image-slot { width: 100%; height: 520px; }
.hero-badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 13px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-soft);
}
.hero-badge .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-badge .bi-gold { background: var(--accent-tint); color: var(--accent-deep); }
.hero-badge .bi-navy { background: var(--navy-800); color: #fff; }
.hero-badge .bi-green { background: #E4F4EC; color: #1F8A5B; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--navy-900); line-height: 1.1; }
.hero-badge small { color: var(--muted); font-size: 12.5px; }
.hb-1 { top: 26px; left: -28px; }
.hb-2 { bottom: 30px; right: -26px; }
.hb-3 { bottom: -22px; left: 36px; }
@media (max-width: 1180px){ .hb-1{left:-8px} .hb-2{right:-8px} }

/* Counters */
.counters { margin-top: clamp(46px, 6vw, 72px); }
.counters-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-image: linear-gradient(120deg, var(--navy-900), var(--navy-800));
}
.counter { padding: 30px 28px; text-align: center; position: relative; }
.counter + .counter::before { content:""; position:absolute; left:0; top:22%; bottom:22%; width:1px; background: rgba(255,255,255,.1); }
.counter .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); color: #fff; letter-spacing: -.02em; line-height: 1; }
.counter .num .suf { color: var(--accent); }
.counter .lab { color: #9FB0CC; font-size: 14.5px; margin-top: 9px; font-weight: 500; }
@media (max-width: 760px){
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 1; }
  .hero-shot image-slot { height: 360px; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3)::before, .counter:nth-child(2)::before { content: none; }
  .counter:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { padding-block: 36px; border-bottom: 1px solid var(--line-soft); }
.trust .wrap { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; justify-content: center; }
.trust .tlabel { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.trust .uni { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); color: var(--navy-600); opacity: .6; display: flex; align-items: center; gap: 9px; transition: opacity .2s; }
.trust .uni:hover { opacity: 1; }
.trust .uni svg { width: 20px; height: 20px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.svc::after{ content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--accent); transition: width .3s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after{ width:100%; }
.svc .si { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; transition: background .25s; }
.svc:hover .si { background: var(--accent); color: var(--on-accent); }
.svc .si svg { width: 24px; height: 24px; }
.svc h3 { font-size: 18.5px; margin-bottom: 7px; }
.svc p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; line-height: 1.55; }
.svc .more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy-700); }
.svc .more svg { width: 15px; height: 15px; transition: transform .2s; }
.svc:hover .more { color: var(--accent-deep); }
.svc:hover .more svg { transform: translateX(3px); }
@media (max-width: 1080px){ .services-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px){ .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  position: relative; transition: transform .2s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .sn {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-deep); margin-bottom: 18px;
  border: 1px solid var(--accent-soft);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step .sicon { position: absolute; top: 26px; right: 24px; color: var(--line); }
.step .sicon svg { width: 26px; height: 26px; }
@media (max-width: 880px){ .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .steps-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CALCULATOR / ORDER
   ============================================================ */
.calc { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; position: relative; overflow: hidden; }
.calc::before{ content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 85% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%); }
.calc .wrap { position: relative; }
.calc .section-head h2 { color: #fff; }
.calc .section-head .eyebrow { color: var(--accent); }
.calc .section-head p { color: #AFBEDA; }
.calc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.calc-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
  backdrop-filter: blur(6px);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: #C7D3E8; font-family: var(--font-display); letter-spacing: .01em; }
.field select, .field input[type="text"], .field textarea {
  background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.2); border-radius: 11px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  appearance: none; -webkit-appearance: none; transition: box-shadow .15s, border-color .15s;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.field.select-wrap { position: relative; }
.field.select-wrap::after { content:""; position:absolute; right:16px; bottom:18px; width:9px; height:9px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform: rotate(45deg); pointer-events:none; }
.field textarea { min-height: 84px; resize: vertical; }

/* stepper */
.stepper { display: flex; align-items: center; background: rgba(255,255,255,.95); border-radius: 11px; overflow: hidden; height: 46px; }
.stepper button { width: 46px; height: 46px; border: none; background: transparent; font-size: 22px; color: var(--navy-700); font-weight: 600; display: grid; place-items: center; }
.stepper button:hover { background: var(--bg-soft-2); }
.stepper input { flex: 1; border: none; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); background: transparent; width: 100%; }
.stepper .un { padding-right: 14px; color: var(--muted); font-size: 13px; }

/* upload */
.upload { border: 1.5px dashed rgba(255,255,255,.3); border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 12px; color: #C7D3E8; font-size: 14px; transition: border-color .2s, background .2s; cursor: pointer; }
.upload:hover { border-color: var(--accent); background: rgba(255,255,255,.04); }
.upload svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* deadline chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: #D6E0F2;
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; font-family: var(--font-display);
  transition: all .15s;
}
.chip:hover { border-color: var(--accent-soft); }
.chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* price card */
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-card .pc-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price-rows { border-top: 1px solid var(--line); margin-top: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.price-row span:first-child { color: var(--muted); }
.price-row b { font-family: var(--font-display); color: var(--navy-900); font-weight: 600; }
.price-total { display: flex; justify-content: space-between; align-items: flex-end; margin: 20px 0 6px; }
.price-total .pt-l { color: var(--muted); font-size: 14px; font-weight: 600; }
.price-total .pt-v { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--navy-900); letter-spacing: -.02em; line-height: 1; }
.price-total .pt-v small { font-size: 18px; color: var(--muted); font-weight: 600; }
.discount-note { background: #E4F4EC; color: #1A7048; font-size: 13.5px; font-weight: 600; padding: 9px 13px; border-radius: 9px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.discount-note svg { width: 16px; height: 16px; flex: none; }
.price-card .guarantee { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.price-card .guarantee svg { width: 15px; height: 15px; color: #1F8A5B; }
@media (max-width: 920px){ .calc-grid { grid-template-columns: 1fr; } .price-card { position: static; } .field-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WRITERS
   ============================================================ */
.writers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.writer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; }
.writer:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.writer .wphoto { position: relative; }
.writer .wphoto image-slot { width: 100%; height: 230px; }
.writer .wbadge { position: absolute; top: 12px; left: 12px; background: rgba(10,26,56,.85); color: #fff; font-size: 11.5px; font-weight: 700; font-family: var(--font-display); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px); display: flex; align-items: center; gap: 5px; }
.writer .wbadge svg { width: 12px; height: 12px; color: var(--accent); }
.writer .wbody { padding: 18px 20px 22px; }
.writer h3 { font-size: 18px; }
.writer .wq { color: var(--accent-deep); font-size: 13.5px; font-weight: 600; font-family: var(--font-display); margin: 3px 0 12px; }
.writer .wmeta { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--muted); }
.writer .wmeta div { display: flex; align-items: center; justify-content: space-between; }
.writer .wmeta b { color: var(--navy-800); font-family: var(--font-display); font-weight: 600; }
.writer .wstars { color: var(--accent); letter-spacing: 1px; }
@media (max-width: 1080px){ .writers-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .writers-grid { grid-template-columns: 1fr;} }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--bg-soft); }
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; }
.rating-summary { display: flex; align-items: center; gap: 22px; }
.rating-big { font-family: var(--font-display); font-weight: 800; font-size: 62px; color: var(--navy-900); line-height: 1; }
.rating-summary .rs-stars { color: var(--accent); font-size: 20px; letter-spacing: 2px; }
.rating-summary .rs-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.review-track-wrap { overflow: hidden; }
.review-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; flex: 0 0 calc((100% - 40px) / 3); display: flex; flex-direction: column; }
.review-card .rstars { color: var(--accent); letter-spacing: 1px; margin-bottom: 14px; }
.review-card blockquote { margin: 0 0 20px; font-size: 16px; color: var(--ink); line-height: 1.6; flex: 1; }
.review-card .ruser { display: flex; align-items: center; gap: 12px; }
.review-card .ruser image-slot { width: 46px; height: 46px; flex: none; }
.review-card .ruser b { font-family: var(--font-display); font-size: 15px; color: var(--navy-900); display: block; }
.review-card .ruser span { color: var(--muted); font-size: 13px; }
.review-card .vbadge { display: inline-flex; align-items: center; gap: 5px; color: #1F8A5B; font-size: 12px; font-weight: 600; margin-left: auto; }
.review-card .vbadge svg { width: 14px; height: 14px; }
.review-nav { display: flex; gap: 10px; }
.review-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy-800); transition: all .15s; }
.review-nav button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.review-nav button:disabled { opacity: .4; cursor: default; }
.review-nav button:disabled:hover { background: #fff; color: var(--navy-800); }
@media (max-width: 980px){ .review-card { flex-basis: calc((100% - 20px)/2);} }
@media (max-width: 640px){ .review-card { flex-basis: 100%;} }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .wi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-deep); margin-bottom: 16px; }
.why-card .wi svg { width: 23px; height: 23px; }
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
@media (max-width: 920px){ .why-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 460px){ .why-grid { grid-template-columns: 1fr;} }

/* ============================================================
   FAQ + BLOG (two-col)
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc-item.open { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }
.acc-q { width: 100%; text-align: left; background: none; border: none; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--navy-900); }
.acc-q .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft-2); display: grid; place-items: center; flex: none; transition: background .2s, transform .25s; position: relative; }
.acc-item.open .acc-q .pm { background: var(--accent); transform: rotate(180deg); }
.acc-q .pm::before, .acc-q .pm::after { content:""; position:absolute; background: var(--navy-800); border-radius: 2px; transition: opacity .2s, background .2s; }
.acc-q .pm::before { width: 11px; height: 2px; }
.acc-q .pm::after { width: 2px; height: 11px; }
.acc-item.open .acc-q .pm::after { opacity: 0; }
.acc-item.open .acc-q .pm::before { background: var(--on-accent); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.faq-aside { background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); position: relative; overflow: hidden; }
.faq-aside::before{ content:""; position:absolute; inset:0; background: radial-gradient(400px 300px at 100% 0, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%); }
.faq-aside > * { position: relative; }
.faq-aside h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.faq-aside p { color: #AFBEDA; font-size: 15px; margin: 0 0 22px; }
.faq-aside .fa-contact { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.faq-aside .fa-contact .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--accent); flex: none; }
.faq-aside .fa-contact .ic svg { width: 20px; height: 20px; }
.faq-aside .fa-contact b { display: block; font-family: var(--font-display); font-size: 15px; }
.faq-aside .fa-contact small { color: #9FB0CC; font-size: 13px; }
@media (max-width: 880px){ .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post image-slot { width: 100%; height: 190px; }
.post .pbody { padding: 22px; }
.post .pcat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); }
.post h3 { font-size: 19px; margin: 10px 0; line-height: 1.25; }
.post p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.post .pmeta { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 13px; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: 1fr 1fr;} }
@media (max-width: 560px){ .blog-grid { grid-template-columns: 1fr;} }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.bfilter { border: 1px solid var(--line); background: #fff; color: var(--navy-700); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; font-family: var(--font-display); transition: all .15s; }
.bfilter:hover { border-color: var(--accent-soft); }
.bfilter.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding-block: clamp(56px, 7vw, 96px); }
.cta-band { background: linear-gradient(125deg, var(--navy-800), var(--navy-950)); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-band::before{ content:""; position:absolute; inset:0; background: radial-gradient(600px 360px at 50% -20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 60%); }
.cta-band::after{ content:""; position:absolute; inset:0; pointer-events:none; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 75%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.cta-band p { color: #B7C4DC; font-size: 18px; max-width: 540px; margin: 16px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site { background: var(--navy-950); color: #9FB0CC; padding-top: clamp(54px, 6vw, 80px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
footer .brand .bt b { color: #fff; }
footer .fabout { color: #9FB0CC; font-size: 14.5px; margin: 18px 0 20px; max-width: 320px; line-height: 1.6; }
footer .socials { display: flex; gap: 10px; }
footer .socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #C9D4E6; transition: background .2s, color .2s; }
footer .socials a:hover { background: var(--accent); color: var(--on-accent); }
footer .socials svg { width: 18px; height: 18px; }
footer h4 { color: #fff; font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
footer ul a { font-size: 14.5px; color: #9FB0CC; transition: color .15s; }
footer ul a:hover { color: var(--accent); }
.newsletter input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 12px 14px; color: #fff; font-family: var(--font-body); font-size: 14.5px; margin-bottom: 10px; }
.newsletter input::placeholder { color: #7E8DA8; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icons span { background: rgba(255,255,255,.08); border-radius: 6px; padding: 5px 9px; font-size: 11px; font-weight: 700; font-family: var(--font-display); color: #C9D4E6; letter-spacing: .03em; }
@media (max-width: 880px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING CHAT
   ============================================================ */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-toggle { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: none; display: grid; place-items: center; box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .2s; position: relative; }
.chat-toggle:hover { transform: scale(1.06); }
.chat-toggle svg { width: 27px; height: 27px; }
.chat-toggle .live-dot { position: absolute; top: 4px; right: 6px; width: 13px; height: 13px; border-radius: 50%; background: #2ecf77; border: 2.5px solid #fff; }
.chat-panel { width: 340px; max-width: calc(100vw - 44px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none; transform-origin: bottom right; transition: all .25s cubic-bezier(.4,0,.2,1); }
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: #fff; padding: 18px 20px; }
.chat-head .ch-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.chat-head .badge24 { margin-left: auto; font-size: 11px; background: rgba(46,207,119,.2); color: #6ff0a8; padding: 4px 9px; border-radius: 999px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.chat-head .badge24::before{ content:""; width:7px; height:7px; border-radius:50%; background:#2ecf77; }
.chat-head h4 { color: #fff; font-size: 16px; }
.chat-head p { margin: 2px 0 0; font-size: 13px; color: #AFBEDA; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-soft); max-height: 280px; overflow-y: auto; }
.chat-msg { background: #fff; border: 1px solid var(--line); padding: 11px 14px; border-radius: 12px; border-bottom-left-radius: 4px; font-size: 14px; max-width: 85%; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-quick button { border: 1px solid var(--accent-soft); background: var(--accent-tint); color: var(--accent-deep); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.chat-foot { padding: 12px 14px; display: flex; gap: 8px; border-top: 1px solid var(--line); }
.chat-foot input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 15px; font-family: var(--font-body); font-size: 14px; }
.chat-foot input:focus { outline: none; border-color: var(--accent); }
.chat-foot .send { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: none; display: grid; place-items: center; flex: none; }
.chat-channels { display: flex; gap: 8px; padding: 0 14px 14px; }
.chat-channels a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 9px; border-radius: 9px; border: 1px solid var(--line); color: var(--navy-700); }
.chat-channels a:hover { background: var(--bg-soft); }
.chat-channels svg { width: 15px; height: 15px; }

/* ============================================================
   SUBJECTS COVERED
   ============================================================ */
.subjects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.subject-chip { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 18px; transition: transform .18s, box-shadow .2s, border-color .2s; }
.subject-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.subject-chip .sc-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.subject-chip .sc-ic svg { width: 18px; height: 18px; }
.subject-chip span { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--navy-900); }
@media (max-width: 1000px){ .subjects-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 680px){ .subjects-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px){ .subjects-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FREE STUDENT TOOLS
   ============================================================ */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; position: relative; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tool-card .free-tag { position: absolute; top: 18px; right: 18px; background: #E4F4EC; color: #1A7048; font-size: 11px; font-weight: 700; font-family: var(--font-display); padding: 4px 10px; border-radius: 999px; }
.tool-card .ti { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.tool-card .ti svg { width: 25px; height: 25px; }
.tool-card h3 { font-size: 18px; margin-bottom: 7px; }
.tool-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.tool-card .more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent-deep); }
.tool-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.tool-card:hover .more svg { transform: translateX(3px); }
@media (max-width: 1000px){ .tools-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .tools-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SAMPLE PAPERS
   ============================================================ */
.samples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sample-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; cursor: pointer; }
.sample-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sample-card .sc-top { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); padding: 22px 24px; color: #fff; position: relative; overflow: hidden; }
.sample-card .sc-top::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 180px at 90% 0, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); }
.sample-card .sc-top > * { position: relative; }
.sample-card .sc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sample-card .sc-meta span { font-size: 11.5px; font-weight: 600; font-family: var(--font-display); background: rgba(255,255,255,.12); color: #E6EDF8; padding: 4px 10px; border-radius: 999px; }
.sample-card .sc-top h3 { color: #fff; font-size: 18px; line-height: 1.3; }
.sample-card .sc-pages { display: flex; align-items: center; gap: 7px; color: #9FB0CC; font-size: 13px; margin-top: 12px; }
.sample-card .sc-pages svg { width: 15px; height: 15px; }
.sample-card .sc-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.sample-card .sc-body p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.sample-card .sc-dl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--navy-800); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; transition: all .18s; }
.sample-card .sc-dl:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.sample-card .sc-dl svg { width: 16px; height: 16px; }
@media (max-width: 900px){ .samples-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .samples-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SAMPLES PAGE — toolbar + document-style cards
   ============================================================ */
.smp-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.smp-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.smp-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.smp-search input { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px 13px 46px; font-family: var(--font-body); font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.smp-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.smp-count { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.smp-count b { color: var(--navy-900); font-family: var(--font-display); }

.smp-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.smp-filter { border: 1px solid var(--line); background: #fff; color: var(--navy-700); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; font-family: var(--font-display); transition: all .15s; }
.smp-filter:hover { border-color: var(--accent-soft); }
.smp-filter.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.smp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.smp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s, border-color .2s; }
.smp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* faux-document thumbnail */
.smp-doc { position: relative; height: 232px; background: var(--bg-soft-2); padding: 26px 26px 0; overflow: hidden; }
.smp-doc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(to top, var(--bg-soft-2), transparent); }
.smp-page { background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 10px 30px -14px rgba(10,26,56,.4); height: 100%; padding: 22px 22px 0; position: relative; transition: transform .25s; }
.smp-card:hover .smp-page { transform: translateY(-6px); }
.smp-page .sp-ribbon { position: absolute; top: 16px; right: -34px; transform: rotate(45deg); background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .04em; padding: 5px 40px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.smp-page .sp-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy-900); line-height: 1.25; margin-bottom: 14px; max-width: 84%; }
.smp-page .sp-line { height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.smp-page .sp-line.w90 { width: 90%; } .smp-page .sp-line.w100 { width: 100%; } .smp-page .sp-line.w75 { width: 75%; } .smp-page .sp-line.w60 { width: 60%; } .smp-page .sp-line.w85 { width: 85%; }
.smp-page .sp-line.gold { background: var(--accent-soft); }

.smp-type-badge { position: absolute; left: 26px; bottom: 18px; z-index: 2; background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 7px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-sm); }
.smp-type-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.smp-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.smp-subject { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px; }
.smp-body h3 { font-size: 17.5px; line-height: 1.3; margin-bottom: 12px; }
.smp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.smp-tags span { font-size: 12px; font-weight: 600; font-family: var(--font-display); color: var(--navy-700); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 7px; }
.smp-foot { display: flex; gap: 10px; margin-top: auto; }
.smp-foot .btn { flex: 1; padding: 11px 14px; font-size: 14px; }
.smp-foot .smp-prev { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-display); font-weight: 600; background: var(--accent); color: var(--on-accent); border: none; border-radius: 999px; transition: transform .18s, box-shadow .25s; }
.smp-foot .smp-prev:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.smp-foot .smp-prev svg { width: 16px; height: 16px; }
.smp-foot .smp-dl { width: 46px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-800); transition: all .15s; }
.smp-foot .smp-dl:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.smp-foot .smp-dl svg { width: 18px; height: 18px; }
.smp-empty { text-align: center; color: var(--muted); padding: 60px 20px; grid-column: 1 / -1; }
@media (max-width: 980px){ .smp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .smp-grid { grid-template-columns: 1fr; } }

/* preview modal: meta tags reused (.sample-meta-row, .smr-tag, .sample-excerpt, .sample-fade, .sample-cta) */
.sample-doc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.sample-grade { display: inline-flex; align-items: center; gap: 6px; background: #E4F4EC; color: #1A7048; font-size: 12.5px; font-weight: 700; font-family: var(--font-display); padding: 5px 12px; border-radius: 999px; }
.sample-grade svg { width: 14px; height: 14px; }

/* samples page — extras for real (Drive-linked) records */
.smp-filter .smp-fn { display: inline-block; background: var(--bg-soft-2); color: var(--muted); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.smp-filter.active .smp-fn { background: rgba(255,255,255,.18); color: #fff; }
.smp-doc { display: block; text-decoration: none; }
.smp-hover-open { position: absolute; top: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; box-shadow: var(--shadow-sm); }
.smp-hover-open svg { width: 14px; height: 14px; }
.smp-card:hover .smp-hover-open { opacity: 1; transform: translateY(0); }
.smp-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; padding: 12px 16px; border-radius: 999px; background: var(--navy-800); color: #fff; border: 1.5px solid var(--navy-800); transition: transform .18s, box-shadow .25s, background .2s; }
.smp-open:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.smp-open svg { width: 16px; height: 16px; }
.smp-loadmore { display: flex; justify-content: center; margin-top: 36px; }
.smp-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.smp-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; }
.smp-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy-900); line-height: 1.1; }
.smp-stat span { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.smp-desc { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; }
.smp-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smp-modal-actions .btn { width: 100%; }
.smp-modal-note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 16px; }
.smp-modal-note svg { width: 16px; height: 16px; color: #1F8A5B; flex: none; }
@media (max-width: 480px){ .smp-modal-actions { grid-template-columns: 1fr; } .smp-stat-row { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   COMPARISON TABLE (us vs others)
   ============================================================ */
.compare { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; }
.compare-row + .compare-row { border-top: 1px solid var(--line-soft); }
.compare-head { background: var(--navy-900); color: #fff; }
.compare-head .ch-feat { padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.compare-head .ch-us { padding: 20px 16px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; background: var(--accent); color: var(--on-accent); }
.compare-head .ch-them { padding: 20px 16px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #9FB0CC; }
.compare-row .cr-feat { padding: 16px 24px; font-size: 15px; color: var(--navy-800); font-weight: 500; }
.compare-row .cr-us, .compare-row .cr-them { padding: 16px; display: flex; justify-content: center; align-items: center; }
.compare-row .cr-us { background: var(--accent-tint); align-self: stretch; }
.compare-row .cr-us svg { width: 22px; height: 22px; color: #1A7048; }
.compare-row .cr-them svg { width: 20px; height: 20px; color: #C0563F; }
@media (max-width: 560px){
  .compare-row { grid-template-columns: 1.4fr .8fr .8fr; }
  .compare-head .ch-feat, .compare-row .cr-feat { padding-inline: 14px; font-size: 13.5px; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   SHARED CHROME ADD-ONS (dropdown nav, active states)
   ============================================================ */
.nav-links a.active { color: var(--accent-deep); background: var(--accent-tint); }
.nav-links .has-dd { position: relative; }
.nav-links .has-dd > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links .has-dd > a svg { width: 13px; height: 13px; transition: transform .2s; }
.nav-links .has-dd:hover > a svg { transform: rotate(180deg); }
.nav-links .has-dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-links .dd {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 540px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease; z-index: 70;
}
.nav-links .has-dd:hover .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.dd-grid a { padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--navy-700); }
.dd-grid a:hover { background: var(--bg-soft); color: var(--accent-deep); }
.dd-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 13px; border-radius: 11px; background: var(--navy-900); color: #fff !important; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.dd-all:hover { background: var(--navy-800); }
.dd-all svg { width: 16px; height: 16px; }
@media (max-width: 1180px){ .nav-links .dd { width: 460px; } }

/* ============================================================
   SUB-PAGE HERO BANNER
   ============================================================ */
.page-hero { background: linear-gradient(125deg, var(--navy-800), var(--navy-950)); color: #fff; position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(52px, 7vw, 92px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 380px at 88% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.page-hero.center { text-align: center; }
.page-hero.center .crumbs, .page-hero.center .hero-actions { justify-content: center; }
.page-hero.center p { margin-inline: auto; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #9FB0CC; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }
.page-hero .pill { background: rgba(255,255,255,.1); color: var(--accent-soft); margin-bottom: 18px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); max-width: 800px; letter-spacing: -.02em; }
.page-hero.center h1 { margin-inline: auto; }
.page-hero p { color: #B7C4DC; font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; max-width: 640px; text-wrap: pretty; }
.page-hero .hero-actions { margin-top: 28px; }

/* mini stat band under page hero */
.page-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 56px); margin-top: 36px; }
.page-stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: #fff; display: block; line-height: 1; }
.page-stat b .suf { color: var(--accent); }
.page-stat span { color: #9FB0CC; font-size: 14px; margin-top: 6px; display: block; }
.page-stat + .page-stat { padding-left: clamp(20px, 5vw, 56px); border-left: 1px solid rgba(255,255,255,.12); }

/* ============================================================
   PROSE / CONTENT
   ============================================================ */
.prose { max-width: 760px; }
.prose.wide { max-width: 880px; }
.prose p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 18px; text-wrap: pretty; }
.prose h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 40px 0 16px; }
.prose h3 { font-size: 22px; margin: 30px 0 12px; }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 32px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); }
.prose ul li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.prose a { color: var(--accent-deep); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* two-column feature row */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.feature-row.flip .fr-media { order: 2; }
.feature-row + .feature-row { margin-top: clamp(48px, 6vw, 84px); }
.fr-media image-slot { width: 100%; height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.fr-body h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.fr-body p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
@media (max-width: 820px){ .feature-row { grid-template-columns: 1fr; } .feature-row.flip .fr-media { order: 0; } .fr-media image-slot { height: 300px; } }

/* split content + sticky aside (service / order pages) */
.split { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.aside-card h3 { font-size: 20px; margin-bottom: 6px; }
.aside-card .ac-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.aside-card .ac-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 11px; }
.aside-card .ac-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--navy-800); }
.aside-card .ac-list svg { width: 18px; height: 18px; color: #1F8A5B; flex: none; }
@media (max-width: 920px){ .split { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 20px; text-align: center; font-size: 15px; }
.price-table thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .03em; }
.price-table thead th:first-child { text-align: left; }
.price-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--navy-900); font-family: var(--font-display); }
.price-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.price-table tbody tr:hover { background: var(--accent-tint); }
.price-table tbody td { border-top: 1px solid var(--line-soft); color: var(--muted); }
.price-table .feat-col { color: var(--navy-800); font-weight: 600; font-family: var(--font-display); }
@media (max-width: 680px){ .price-table th, .price-table td { padding: 12px 12px; font-size: 13.5px; } }

/* free features strip */
.free-feats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.free-feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: transform .2s, box-shadow .2s; }
.free-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.free-feat .fwas { color: var(--muted-2); text-decoration: line-through; font-size: 14px; }
.free-feat b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--navy-900); margin: 4px 0 8px; }
.free-feat .ftag { display: inline-block; background: #E4F4EC; color: #1A7048; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
@media (max-width: 900px){ .free-feats { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 520px){ .free-feats { grid-template-columns: repeat(2,1fr); } }

/* discount cards */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.disc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; position: relative; overflow: hidden; transition: transform .2s, box-shadow .25s; }
.disc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.disc-card .dperc { font-family: var(--font-display); font-weight: 800; font-size: 52px; color: var(--accent-deep); line-height: 1; }
.disc-card .drange { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 17px; margin: 10px 0 8px; }
.disc-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 760px){ .disc-grid { grid-template-columns: 1fr; } }

/* promo band */
.promo { background: linear-gradient(125deg, var(--accent-deep), var(--accent)); border-radius: var(--radius-lg); padding: clamp(32px,5vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; color: var(--on-accent); }
.promo h3 { color: var(--on-accent); font-size: clamp(22px,3vw,30px); }
.promo p { margin: 8px 0 0; opacity: .85; font-size: 16px; }
.promo .code { background: rgba(0,0,0,.14); border: 1.5px dashed rgba(0,0,0,.3); border-radius: 12px; padding: 14px 22px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .08em; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { font-family: var(--font-display); font-size: 16px; color: var(--navy-900); display: block; margin-bottom: 3px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,36px); box-shadow: var(--shadow); }
.contact-form .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.light-field label { font-size: 13.5px; font-weight: 600; color: var(--navy-800); font-family: var(--font-display); margin-bottom: 7px; display: block; }
.light-field input, .light-field select, .light-field textarea { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.light-field input:focus, .light-field select:focus, .light-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); background: #fff; }
.light-field textarea { min-height: 120px; resize: vertical; }
.light-field.full { grid-column: 1 / -1; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } .contact-form .field-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT — values / timeline
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .vi { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.value-card .vi svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }
@media (max-width: 880px){ .values-grid { grid-template-columns: 1fr; } }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--accent-soft); }
.tl-item .tl-year { font-family: var(--font-display); font-weight: 700; color: var(--accent-deep); font-size: 15px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================================================
   STEP TIMELINE (how it works detailed)
   ============================================================ */
.bigsteps { display: flex; flex-direction: column; gap: 22px; }
.bigstep { display: grid; grid-template-columns: 92px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; align-items: start; transition: transform .2s, box-shadow .25s; }
.bigstep:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bigstep .bs-n { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--accent); background: var(--accent-tint); width: 92px; height: 92px; border-radius: 20px; display: grid; place-items: center; }
.bigstep h3 { font-size: 22px; margin-bottom: 8px; }
.bigstep p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.65; }
@media (max-width: 640px){ .bigstep { grid-template-columns: 1fr; gap: 16px; } .bigstep .bs-n { width: 64px; height: 64px; font-size: 30px; border-radius: 16px; } }

/* section utility */
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 720px; }

/* ---------- Hero layout variant: CENTERED ---------- */
body[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
body[data-hero="centered"] .hero-copy { max-width: 780px; margin: 0 auto; }
body[data-hero="centered"] .hero h1 { font-size: clamp(38px, 5.6vw, 66px); }
body[data-hero="centered"] .hero .sub { margin-left: auto; margin-right: auto; max-width: 600px; }
body[data-hero="centered"] .hero-feats { justify-content: center; grid-template-columns: repeat(4, auto); }
body[data-hero="centered"] .hero-actions { justify-content: center; }
body[data-hero="centered"] .hero-trustline { justify-content: center; }
body[data-hero="centered"] .hero-copy .pill { display: inline-flex; }
body[data-hero="centered"] .hero-visual { order: 1; margin-top: 44px; max-width: 1000px; margin-inline: auto; width: 100%; }
body[data-hero="centered"] .hero-shot image-slot { height: 440px; }
body[data-hero="centered"] .hb-1 { left: 18px; }
body[data-hero="centered"] .hb-2 { right: 18px; }
@media (max-width: 820px){
  body[data-hero="centered"] .hero-feats { grid-template-columns: repeat(2, auto); }
  body[data-hero="centered"] .hero-shot image-slot { height: 320px; }
}

/* Top bar hide variant */
body[data-topbar="off"] .topbar { display: none; }

/* utility */
.center-btn { display: flex; justify-content: center; margin-top: 44px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* ============================================================
   SERVICES TOOLBAR (search + filter chips)
   ============================================================ */
.svc-toolbar { margin-bottom: 40px; }
.svc-search { position: relative; display: flex; align-items: center; max-width: 620px; margin: 0 auto 22px; }
.svc-search > svg { position: absolute; left: 20px; width: 22px; height: 22px; color: var(--muted-2); pointer-events: none; }
.svc-search input { width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 16px 52px 16px 54px; font-family: var(--font-body); font-size: 16px; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.svc-search input::placeholder { color: var(--muted-2); }
.svc-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.svc-search #svcClear { position: absolute; right: 14px; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--bg-soft-2); display: grid; place-items: center; }
.svc-search #svcClear:hover { background: var(--line); }
.svc-search #svcClear svg { width: 15px; height: 15px; color: var(--navy-700); }
.svc-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.svc-chip { border: 1px solid var(--line); background: #fff; color: var(--navy-700); padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; font-family: var(--font-display); transition: all .15s; }
.svc-chip:hover { border-color: var(--accent-soft); color: var(--accent-deep); }
.svc-chip.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.svc-group { margin-bottom: 48px; }
.svc-group-head { margin-bottom: 24px; }
.svc-empty { text-align: center; padding: 50px 20px; }
.svc-empty svg { width: 56px; height: 56px; color: var(--line); margin-bottom: 16px; }
.svc-empty h3 { font-size: 22px; margin-bottom: 8px; }
.svc-empty p { color: var(--muted); font-size: 16px; }
.svc-empty a { color: var(--accent-deep); font-weight: 600; }

/* sample preview modal content */
.sample-meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.smr-tag { background: var(--accent-tint); color: var(--accent-deep); font-size: 12.5px; font-weight: 700; font-family: var(--font-display); padding: 6px 13px; border-radius: 999px; }
.sample-excerpt { position: relative; max-height: 320px; overflow: hidden; }
.sample-excerpt p { color: var(--ink); font-size: 15px; line-height: 1.72; margin: 0 0 16px; }
.sample-excerpt p:first-child { font-weight: 600; }
.sample-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }
.sample-cta { margin-top: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sample-cta b { font-family: var(--font-display); font-size: 16px; color: var(--navy-900); display: block; }
.sample-cta span { color: var(--muted); font-size: 13.5px; }

/* topic generator output */
.topic-out { margin-top: 18px; display: none; }
.topic-out.show { display: block; }
.topic-item { display: flex; align-items: center; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.topic-item span { flex: 1; font-size: 15px; color: var(--ink); line-height: 1.45; }
.topic-copy { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; transition: all .15s; }
.topic-copy:hover { border-color: var(--accent); color: var(--accent-deep); }
.topic-copy svg { width: 16px; height: 16px; }
.topic-copy.done { background: #E4F4EC; border-color: #BFE6CF; color: #1A7048; }
.topic-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.topic-foot a { color: var(--accent-deep); font-weight: 600; }

/* ============================================================
   LIMITED OFFER BAND + COUNTDOWN
   ============================================================ */
.offer-band { background: linear-gradient(125deg, var(--navy-800), var(--navy-950)); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.offer-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% -20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%); pointer-events: none; }
.offer-band > * { position: relative; }
.ob-left { flex: 1; min-width: 280px; }
.ob-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.ob-eyebrow svg { width: 16px; height: 16px; }
.offer-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.offer-band h2 span { color: var(--accent); }
.offer-band p { color: #B7C4DC; font-size: 16px; margin: 12px 0 0; max-width: 460px; }
.ob-code { background: rgba(255,255,255,.12); border: 1px dashed var(--accent-soft); color: #fff; border-radius: 7px; padding: 2px 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; font-size: 15px; cursor: pointer; transition: background .15s; }
.ob-code:hover { background: rgba(255,255,255,.22); }
.ob-right { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.countdown { display: flex; align-items: center; gap: 8px; }
.cd-unit { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 6px; min-width: 72px; text-align: center; }
.cd-unit b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 34px; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9FB0CC; margin-top: 7px; }
.cd-sep { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--accent); }
@media (max-width: 760px){ .offer-band { flex-direction: column; align-items: flex-start; } .ob-right { width: 100%; align-items: stretch; } .countdown { justify-content: center; } }

/* ============================================================
   PRESS STRIP ("As featured in")
   ============================================================ */
.press { padding-block: 30px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.press .wrap { display: flex; align-items: center; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; justify-content: center; }
.press .plabel { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.press .pname { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.7vw, 21px); color: var(--navy-700); opacity: .55; letter-spacing: -.01em; transition: opacity .2s; }
.press .pname:hover { opacity: .9; }
.press .pname i { font-style: italic; }
@media (max-width: 680px){ .press .pname:nth-child(n+5){ display: none; } }

/* ============================================================
   STATS BAND (injected)
   ============================================================ */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px) clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 280px at 90% -20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%); pointer-events: none; }
.sb-item { text-align: center; position: relative; }
.sb-item + .sb-item::before { content: ""; position: absolute; left: -10px; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.1); }
.sb-item .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); color: #fff; letter-spacing: -.02em; line-height: 1; }
.sb-item .num .suf { color: var(--accent); }
.sb-item span { display: block; color: #9FB0CC; font-size: 14px; margin-top: 9px; font-weight: 500; }
@media (max-width: 860px){ .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } .sb-item + .sb-item::before { display: none; } .sb-item:last-child { grid-column: 1 / -1; } }

/* ============================================================
   PROCESS (4-step, injected)
   ============================================================ */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proc-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; transition: transform .2s, box-shadow .25s; }
.proc-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proc-step .ps-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.proc-step .ps-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; }
.proc-step .ps-ic svg { width: 25px; height: 25px; }
.proc-step .ps-n { font-family: var(--font-display); font-weight: 800; font-size: 46px; color: var(--accent-tint); line-height: 1; }
.proc-step h3 { font-size: 19px; margin-bottom: 8px; }
.proc-step p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
@media (max-width: 880px){ .proc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .proc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MINI REVIEWS (injected)
   ============================================================ */
.mini-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.mini-review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-review .mr-stars { color: var(--accent); letter-spacing: 1px; margin-bottom: 12px; }
.mini-review p { color: var(--ink); font-size: 15.5px; line-height: 1.6; margin: 0 0 20px; flex: 1; }
.mini-review .mr-user { display: flex; align-items: center; gap: 12px; }
.mini-review .mr-av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; flex: none; }
.mini-review .mr-user b { font-family: var(--font-display); font-size: 15px; color: var(--navy-900); display: block; }
.mini-review .mr-user span { color: var(--muted); font-size: 13px; }
.mini-review .mr-verified { margin-left: auto; color: #1F8A5B; }
.mini-review .mr-verified svg { width: 18px; height: 18px; }
@media (max-width: 860px){ .mini-reviews { grid-template-columns: 1fr; } }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce { background: linear-gradient(100deg, var(--accent-deep), var(--accent)); color: var(--on-accent); font-family: var(--font-display); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding-block: 7px; text-align: center; position: relative; }
.announce .an-txt { font-size: 14px; font-weight: 600; }
.announce .an-txt b { font-weight: 800; }
.announce .an-code { background: rgba(0,0,0,.16); border: 1px dashed rgba(0,0,0,.32); border-radius: 8px; padding: 4px 11px; font-weight: 800; letter-spacing: .06em; cursor: pointer; transition: background .15s; }
.announce .an-code:hover { background: rgba(0,0,0,.26); }
.announce .an-close { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: none; background: transparent; color: var(--on-accent); display: grid; place-items: center; border-radius: 7px; opacity: .8; }
.announce .an-close:hover { opacity: 1; background: rgba(0,0,0,.12); }
.announce .an-close svg { width: 16px; height: 16px; }
body[data-announce="off"] .announce { display: none; }
@media (max-width: 620px){ .announce .an-txt { font-size: 12.5px; } }

/* ============================================================
   LIVE ACTIVITY TOAST
   ============================================================ */
.activity-toast { position: fixed; left: 22px; bottom: 22px; z-index: 70; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 13px 16px 13px 13px; display: flex; align-items: center; gap: 12px; max-width: 320px; transform: translateY(140%); opacity: 0; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s; }
.activity-toast.show { transform: translateY(0); opacity: 1; }
.activity-toast .at-av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: none; }
.activity-toast .at-txt { line-height: 1.35; }
.activity-toast .at-txt b { font-family: var(--font-display); font-size: 14px; color: var(--navy-900); }
.activity-toast .at-txt span { display: block; font-size: 13px; color: var(--muted); }
.activity-toast .at-txt .at-time { color: var(--accent-deep); font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.activity-toast .at-verified { display: inline-flex; align-items: center; gap: 3px; color: #1F8A5B; font-size: 11px; font-weight: 600; }
.activity-toast .at-verified svg { width: 12px; height: 12px; }
@media (max-width: 520px){ .activity-toast { left: 12px; right: 12px; bottom: 92px; max-width: none; } }

/* ============================================================
   MODAL + FREE TOOLS
   ============================================================ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(8,20,40,.55); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 620px; max-height: 88vh; overflow-y: auto; transform: translateY(18px) scale(.97); transition: transform .28s cubic-bezier(.4,0,.2,1); }
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; gap: 14px; padding: 24px 26px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 1; }
.modal-head .mh-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; flex: none; }
.modal-head .mh-ic svg { width: 23px; height: 23px; }
.modal-head h3 { font-size: 20px; }
.modal-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.modal-head .mh-close { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.modal-head .mh-close:hover { background: var(--bg-soft); }
.modal-head .mh-close svg { width: 18px; height: 18px; color: var(--navy-800); }
.modal-body { padding: 24px 26px 28px; }
.modal-body textarea { width: 100%; min-height: 150px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--ink); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.modal-body textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); background: #fff; }
.modal-body .lf { margin-bottom: 14px; }
.modal-body .lf label { display: block; font-size: 13px; font-weight: 600; font-family: var(--font-display); color: var(--navy-800); margin-bottom: 6px; }
.modal-body .lf input, .modal-body .lf select { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; font-family: var(--font-body); font-size: 14.5px; color: var(--ink); appearance: none; -webkit-appearance: none; }
.modal-body .lf input:focus, .modal-body .lf select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); background: #fff; }

/* word-counter stat tiles */
.wc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.wc-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.wc-stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--navy-900); line-height: 1; }
.wc-stat span { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
@media (max-width: 480px){ .wc-stats { grid-template-columns: repeat(2,1fr); } }

/* plagiarism scanner */
.scan-area { margin-top: 18px; }
.scan-bar { height: 12px; border-radius: 99px; background: var(--bg-soft-2); overflow: hidden; }
.scan-bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); transition: width .1s linear; }
.scan-status { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.scan-result { margin-top: 18px; display: none; }
.scan-result.show { display: block; }
.scan-score { display: flex; align-items: center; gap: 18px; background: #E4F4EC; border: 1px solid #BFE6CF; border-radius: 14px; padding: 18px 20px; }
.scan-score .ss-ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(#1F8A5B var(--p,94%), #d3ead9 0); display: grid; place-items: center; flex: none; }
.scan-score .ss-ring i { width: 48px; height: 48px; border-radius: 50%; background: #E4F4EC; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: #1A7048; font-style: normal; }
.scan-score b { font-family: var(--font-display); font-size: 17px; color: #145C3A; display: block; }
.scan-score span { font-size: 13.5px; color: #2A7A55; }

/* citation output */
.cite-out { margin-top: 18px; background: var(--navy-900); border-radius: 12px; padding: 18px 20px; color: #E6EDF8; font-size: 14.5px; line-height: 1.6; display: none; position: relative; }
.cite-out.show { display: block; }
.cite-out .co-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); font-family: var(--font-display); font-weight: 700; margin-bottom: 8px; }
.cite-out .co-copy { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 7px; font-family: var(--font-display); }
.cite-out .co-copy:hover { background: rgba(255,255,255,.2); }
.cite-text { font-family: var(--font-body); }

/* blog (ensure modern post cards present) */
.post .pmeta .pdot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); display: inline-block; }

/* ============================================================
   REVIEW-PLATFORM RATING BADGES
   ============================================================ */
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: center; transition: transform .2s, box-shadow .25s; }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform-card .pf-name { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy-900); margin-bottom: 12px; }
.platform-card .pf-name svg { width: 22px; height: 22px; }
.platform-card .pf-stars { color: var(--accent); font-size: 20px; letter-spacing: 2px; }
.platform-card .pf-score { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-800); margin-top: 8px; }
.platform-card .pf-score b { color: var(--accent-deep); }
.platform-card .pf-count { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 880px){ .platforms-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .platforms-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GUARANTEE BAND
   ============================================================ */
.guarantee-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-950)); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; overflow: hidden; }
.guarantee-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.gb-item { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gb-item .gb-ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.07); color: var(--accent); display: grid; place-items: center; }
.gb-item .gb-ic svg { width: 25px; height: 25px; }
.gb-item b { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; }
.gb-item span { font-size: 12.5px; color: #9FB0CC; line-height: 1.4; }
@media (max-width: 900px){ .guarantee-band { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; } }
@media (max-width: 520px){ .guarantee-band { grid-template-columns: 1fr 1fr; } }

/* writers teaser ratings on home reuse .writers-grid / .writer */

/* ============================================================
   CAROUSEL (reviews + writers) controls
   ============================================================ */
.car-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.car-dot { width: 9px; height: 9px; border-radius: 999px; border: none; background: var(--bg-soft-2); padding: 0; cursor: pointer; transition: width .25s, background .2s; }
.car-dot:hover { background: var(--accent-soft); }
.car-dot.active { width: 26px; background: var(--accent); }

.writers-carousel .writers-grid,
.reviews .review-track-wrap { overflow: hidden; }
.writers-carousel .writer-track { display: flex; gap: 18px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.writers-carousel .writer { flex: 0 0 calc((100% - 54px) / 4); }
@media (max-width: 980px){ .writers-carousel .writer { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px){ .writers-carousel .writer { flex-basis: 100%; } }

.car-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.car-nav { display: flex; gap: 10px; }
.car-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy-800); transition: all .15s; }
.car-nav button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.car-nav button:disabled { opacity: .4; cursor: default; }
.car-nav button:disabled:hover { background: #fff; color: var(--navy-800); }
.car-nav button svg { width: 20px; height: 20px; }

/* ============================================================
   SCROLL PROGRESS + BACK TO TOP
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); z-index: 100; transition: width .1s linear; }
.to-top { position: fixed; right: 22px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: #fff; border: none; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 75; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: all .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--on-accent); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 520px){ .to-top { bottom: 150px; right: 16px; } }

/* ============================================================
   PREMIUM POLISH LAYER (site-wide micro-refinements)
   ============================================================ */

/* Smoother, more refined easing on interactive cards */
.svc, .why-card, .step, .post, .proc-step, .value-card, .writer,
.mini-review, .tool-card, .smp-card, .disc-card, .free-feat, .platform-card, .sample-card {
  transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s cubic-bezier(.2,.7,.2,1), border-color .25s ease, background .25s ease;
}

/* Subtle accent hairline on hover for bordered cards that keep their frame */
.why-card:hover, .step:hover, .post:hover, .proc-step:hover, .value-card:hover,
.mini-review:hover, .smp-card:hover, .disc-card:hover, .writer:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
}

/* Refined form placeholders */
::placeholder { color: var(--muted-2); opacity: 1; }

/* Crisper inputs on focus across the site */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* Eyebrow: refined gradient tick */
.eyebrow::before { background: linear-gradient(90deg, var(--accent), var(--accent-deep)); }

/* Section headings: a touch more optical refinement */
.section-head h2 { letter-spacing: -.025em; text-wrap: balance; }
.section-head.center p { text-wrap: pretty; }

/* Image slots: subtle inner ring so empty placeholders read as intentional */
image-slot { background: var(--bg-soft-2); }

/* Links inside prose get a refined underline */
.prose a, .lead a { text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }

/* Honour reduced-motion: disable lifts, reveals, autoplay shifts */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}



 /* AWS mega-menu size + item padding (kept) */ .has-dd .dd{width:880px!important;max-width:94vw!important;max-height:80vh;overflow-y:auto;} .dd-grid{grid-template-columns:repeat(3,1fr)!important;gap:1px 22px!important;} .dd-grid a{padding:10px 14px!important;}  /* AWS reviews avatars + animation */ .review-card .rav{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none;border:2px solid #fff;box-shadow:0 2px 10px rgba(10,26,56,.18);background:#EBF0F8;} .review-card{transition:opacity .6s ease,transform .45s cubic-bezier(.4,0,.2,1),box-shadow .25s ease;} .review-card.aws-anim{opacity:0;transform:translateY(28px) scale(.985);} .review-card.aws-anim.in{opacity:1;transform:none;} .review-card:hover{transform:translateY(-6px);box-shadow:0 20px 46px -16px rgba(10,26,56,.30);}  /* AWS reviews v2 */ .review-card .rav{width:48px!important;height:48px!important;border-radius:50%!important;overflow:hidden;flex:none;display:block;border:2px solid #fff;box-shadow:0 2px 10px rgba(10,26,56,.18);background:#EFF1F4;} .review-card .rav svg{width:100%;height:100%;display:block;} .review-card .rhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;} .review-card .rhead .rstars{margin:0!important;white-space:nowrap;font-size:15px;letter-spacing:2px;} .review-card .rtime{font-size:12.5px;color:#8997B2;font-weight:500;white-space:nowrap;flex:none;} .review-card .rinfo{min-width:0;}  /* AWS blog */ .aws-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;} @media(max-width:900px){.aws-blog-grid{grid-template-columns:repeat(2,1fr);}} @media(max-width:600px){.aws-blog-grid{grid-template-columns:1fr;}} .aws-blog-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;transition:transform .25s,box-shadow .25s;} .aws-blog-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);} .aws-blog-card .abc-img{height:180px;background-size:cover;background-position:center;} .aws-blog-card .abc-ph{background:linear-gradient(135deg,var(--navy-800),var(--navy-950));display:flex;align-items:center;justify-content:center;} .aws-blog-card .abc-ph span{color:var(--accent-soft);font-family:var(--font-display);font-weight:700;font-size:17px;letter-spacing:.04em;padding:0 16px;text-align:center;} .aws-blog-card .abc-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1;} .aws-blog-card .abc-cat{color:var(--accent-deep);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;} .aws-blog-card h3{font-size:19px;color:var(--navy-900);margin:0;line-height:1.3;} .aws-blog-card p{color:var(--muted);font-size:14.5px;margin:0;line-height:1.55;flex:1;} .aws-blog-card .abc-meta{color:var(--muted-2);font-size:13px;margin-top:6px;} .post-content{font-size:17px;color:var(--ink);line-height:1.8;} .post-content h2{font-family:var(--font-display);color:var(--navy-900);font-size:28px;margin:38px 0 14px;} .post-content h3{font-family:var(--font-display);color:var(--navy-900);font-size:22px;margin:30px 0 12px;} .post-content p{margin:0 0 18px;} .post-content ul,.post-content ol{margin:0 0 18px;padding-left:22px;} .post-content li{margin-bottom:8px;} .post-content a{color:var(--accent-deep);text-decoration:underline;} .post-content strong{color:var(--navy-900);} .post-content blockquote{border-left:4px solid var(--accent);background:var(--bg-soft);margin:24px 0;padding:16px 22px;border-radius:0 12px 12px 0;color:var(--navy-800);} .post-content img,.post-hero-img{max-width:100%;height:auto;border-radius:var(--radius);margin:8px 0 24px;} .post-meta{color:#B7C4DC!important;font-size:15px;margin-top:14px;} .post-cta{margin-top:44px;background:linear-gradient(135deg,var(--navy-800),var(--navy-950));border-radius:var(--radius-lg);padding:34px 32px;text-align:center;} .post-cta h3{color:#fff;font-size:24px;margin:0 0 8px;} .post-cta p{color:#B7C4DC;margin:0 0 20px;}  /* AWS writer avatars */ .writer .wph-av{height:230px;background:linear-gradient(135deg,#EBF0F8,#F5F7FB);display:flex;align-items:center;justify-content:center;overflow:hidden;} .writer .wph-av > svg{width:158px;height:158px;display:block;} .writer .wbadge svg{width:13px;height:13px;flex:none;} .writer .wph-av img{width:100%;height:230px;object-fit:cover;display:block;}  /* AWS writer card v2 */ .writers-grid{grid-template-columns:repeat(2,1fr)!important;gap:22px!important;} @media(max-width:760px){.writers-grid{grid-template-columns:1fr!important;}} .wcard{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px 24px 24px;display:flex;flex-direction:column;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;overflow:hidden;} .wcard:hover{transform:translateY(-4px);box-shadow:var(--shadow);} .wcard-top{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--line);} .wc-av{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;border:2px solid #fff;box-shadow:0 2px 8px rgba(10,26,56,.15);} .wc-avph{background:var(--navy-800);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:700;font-size:20px;} .wc-id{flex:1;min-width:0;} .wc-name{font-family:var(--font-display);font-weight:700;color:var(--navy-900);font-size:17px;display:flex;align-items:center;gap:6px;} .wc-tick{display:inline-flex;width:17px;height:17px;border-radius:50%;background:var(--navy-800);color:#fff;align-items:center;justify-content:center;flex:none;} .wc-tick svg{width:11px;height:11px;} .wc-stars{color:var(--accent);font-size:13.5px;letter-spacing:1px;margin-top:3px;} .wc-stars b{color:var(--navy-800);margin-left:4px;font-size:13px;} .wc-stat{display:flex;align-items:center;gap:10px;background:var(--bg-soft);border-radius:12px;padding:9px 14px;flex:none;} .wc-deg{display:flex;align-items:center;gap:5px;font-family:var(--font-display);font-weight:700;color:var(--navy-900);font-size:14px;border-right:1px solid var(--line);padding-right:10px;} .wc-deg svg{width:16px;height:16px;color:var(--accent-deep);} .wc-orders{display:flex;flex-direction:column;line-height:1.15;} .wc-orders b{font-family:var(--font-display);font-weight:700;color:var(--navy-900);font-size:15px;} .wc-orders small{color:var(--muted);font-size:11px;} .wc-statusrow{display:flex;justify-content:flex-end;margin:10px -24px 2px 0;} .wc-online{background:var(--accent);color:var(--navy-900);font-weight:700;font-size:12.5px;padding:5px 16px;border-radius:8px 0 0 8px;display:inline-flex;align-items:center;gap:7px;} .wc-online::before{content:"";width:7px;height:7px;border-radius:50%;background:#1F8A5B;} .wc-tags{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px;} .wc-tags span{border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:12.5px;color:var(--navy-700);font-weight:500;} .wc-review{background:var(--bg-soft);border-radius:14px;padding:16px 18px;} .wc-rev-head{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:700;color:var(--navy-900);font-size:14.5px;margin-bottom:8px;flex-wrap:wrap;} .wc-rev-type{background:var(--navy-800);color:#fff;font-size:11.5px;font-weight:600;padding:4px 11px;border-radius:999px;} .wc-review p{color:var(--muted);font-size:14px;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;} .wc-actions{display:flex;gap:12px;margin-top:18px;} .wc-view,.wc-hire{flex:1;text-align:center;padding:13px;border-radius:999px;font-family:var(--font-display);font-weight:700;font-size:14.5px;text-decoration:none;transition:filter .2s,transform .15s;} .wc-view{background:var(--accent);color:var(--navy-900);} .wc-hire{background:var(--navy-900);color:#fff;} .wc-view:hover,.wc-hire:hover{filter:brightness(1.06);transform:translateY(-1px);} @media(max-width:520px){.wcard-top{flex-wrap:wrap;}.wc-stat{order:3;width:100%;justify-content:center;margin-top:8px;}} /* AWS writer profile modal */ .wc-view{border:0;cursor:pointer;font-family:var(--font-display);} .wprof-ov{position:fixed;inset:0;background:rgba(10,20,40,.55);display:none;align-items:flex-start;justify-content:center;z-index:9998;padding:40px 16px;overflow-y:auto;} .wprof-ov.show{display:flex;} .wprof{position:relative;background:#fff;border-radius:20px;max-width:760px;width:100%;padding:30px 32px 28px;box-shadow:0 40px 90px -20px rgba(10,26,56,.5);margin:auto;overflow:hidden;} .wprof-x{position:absolute;top:16px;right:18px;width:34px;height:34px;border:none;background:var(--bg-soft);border-radius:50%;font-size:20px;color:var(--navy-800);cursor:pointer;line-height:1;z-index:2;} .wprof-x:hover{background:var(--bg-soft-2);} .wprof-head{display:flex;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line);flex-wrap:wrap;} .wprof-av{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 2px 8px rgba(10,26,56,.15);flex:none;} .wprof-idn{flex:1;min-width:150px;} .wprof-name{font-family:var(--font-display);font-weight:700;color:var(--navy-900);font-size:20px;display:flex;align-items:center;gap:6px;} .wprof-stats{display:flex;background:var(--accent);border-radius:12px;overflow:hidden;flex:none;} .wprof-stats span{display:flex;flex-direction:column;align-items:center;padding:10px 18px;border-right:1px solid rgba(0,0,0,.12);line-height:1.25;} .wprof-stats span:last-child{border-right:none;} .wprof-stats b{font-family:var(--font-display);font-weight:800;color:var(--navy-900);font-size:18px;} .wprof-stats small{color:var(--navy-800);font-size:11px;font-weight:600;} .wprof-statusrow{display:flex;justify-content:flex-end;margin:10px -32px 0 0;} .wprof-body{padding-top:16px;} .wprof-wid{font-size:14px;color:var(--muted);margin:0 0 10px;} .wprof-wid b{color:var(--accent-deep);font-family:var(--font-display);} .wprof-bio{color:var(--ink);font-size:15px;line-height:1.7;margin:0 0 18px;} .wprof-h{font-family:var(--font-display);color:var(--navy-900);font-size:17px;margin:0 0 10px;} .wprof-pts{background:var(--bg-soft);border-radius:14px;padding:16px 18px 16px 36px;margin:0;} .wprof-pts li{color:var(--ink);font-size:14.5px;line-height:1.6;margin-bottom:8px;} .wprof-pts li:last-child{margin-bottom:0;} .wprof-act{display:flex;justify-content:center;margin-top:22px;} .wprof-act .wc-hire{padding:14px 36px;flex:none;} @media(max-width:560px){.wprof-stats{width:100%;}.wprof-stats span{flex:1;padding:10px 6px;}.wprof{padding:24px 18px;}} /* wc-av-force */ .wcard .wc-av,article.wcard img.wc-av{border-radius:50%!important;overflow:hidden!important;width:58px!important;height:58px!important;object-fit:cover!important;} .wprof .wprof-av{border-radius:50%!important;overflow:hidden!important;}
/* AWS home writers slider */
.hw-sec .hw-slider{overflow:hidden;}
.hw-track{display:flex;gap:24px;transition:transform .6s cubic-bezier(.22,.61,.36,1);will-change:transform;}
.hw-track .wcard{flex:0 0 calc(50% - 12px);max-width:calc(50% - 12px);margin:0;}
@media(max-width:760px){.hw-track{gap:0;}.hw-track .wcard{flex:0 0 100%;max-width:100%;}}
.hw-controls{display:flex;align-items:center;gap:16px;margin-top:30px;}
.hw-arrows{display:flex;gap:10px;}
.hw-arrows button{width:46px;height:46px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--navy-900);font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s;padding:0;}
.hw-arrows button:hover:not(:disabled){border-color:var(--navy-900);background:var(--navy-900);color:#fff;}
.hw-arrows button:disabled{opacity:.3;cursor:default;}
.hw-dots{display:flex;gap:8px;flex:1;justify-content:center;}
.hw-dots span{width:9px;height:9px;border-radius:50%;background:#cbd2e0;cursor:pointer;transition:.25s;}
.hw-dots span.on{background:var(--accent);width:26px;border-radius:6px;}
.hw-all{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);color:var(--navy-900);font-family:var(--font-display);font-weight:700;padding:11px 22px;border-radius:40px;text-decoration:none;white-space:nowrap;transition:.2s;}
.hw-all:hover{border-color:var(--accent);box-shadow:0 4px 14px rgba(0,0,0,.06);}
.hw-all svg{width:16px;height:16px;}
@media(max-width:600px){.hw-controls{flex-wrap:wrap;justify-content:center;}.hw-all{order:-1;width:100%;justify-content:center;margin-bottom:4px;}.hw-dots{order:3;width:100%;}}
/* AWS online ribbon */
.wcard .wc-statusrow{display:flex;justify-content:flex-end;margin:8px -24px 4px 0;}
.wcard .wc-online{background:var(--accent);color:var(--navy-900);font-family:var(--font-display);font-weight:800;font-size:12.5px;letter-spacing:.2px;padding:7px 18px 7px 28px;border-radius:0;display:inline-flex;align-items:center;gap:7px;clip-path:polygon(16px 0,100% 0,100% 100%,16px 100%,0 50%);box-shadow:0 4px 10px rgba(212,160,23,.30);}
/* AWS online blink */
.wcard .wc-online::before{content:'';display:inline-block;width:10px;height:10px;border-radius:50%;background:#ffd60a;box-shadow:0 0 0 1.5px rgba(11,18,32,.5);animation:awsOnlineBlink 1.3s ease-in-out infinite;flex:0 0 auto;}
@keyframes awsOnlineBlink{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.45;transform:scale(.78);}}

/* AWS home reviews avatars */
.section.reviews .ruser{display:flex;align-items:center;gap:12px;}
.section.reviews .ruser .rav{width:46px;height:46px;flex:0 0 46px;border-radius:50%;overflow:hidden;display:block;}
.section.reviews .ruser .rav svg{width:100%;height:100%;display:block;}
.section.reviews .ruser .vbadge{margin-left:auto;}

/* AWS reviews glide */
.review-track{transition:transform .6s cubic-bezier(.22,.61,.36,1)!important;}

/* AWS home samples */
.hsmp{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg,16px);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 24px rgba(16,24,40,.06);}
.hsmp-head{background:linear-gradient(160deg,#1b2440,#0f1830);color:#fff;padding:22px 22px 20px;}
.hsmp-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px;}
.hsmp-tags span{font-size:12px;font-weight:700;padding:5px 11px;border-radius:30px;background:rgba(255,255,255,.12);color:#fff;}
.hsmp-head h3{font-family:var(--font-display);font-size:19px;line-height:1.3;margin:0 0 14px;color:#fff;}
.hsmp-meta{display:flex;align-items:center;gap:8px;font-size:13.5px;color:rgba(255,255,255,.72);}
.hsmp-meta svg{width:15px;height:15px;flex:0 0 auto;}
.hsmp-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:16px;flex:1;}
.hsmp-body p{margin:0;color:var(--muted,#5b6478);font-size:14.5px;line-height:1.6;flex:1;}
.hsmp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1.5px solid var(--line);border-radius:40px;padding:11px 18px;font-family:var(--font-display);font-weight:700;color:var(--navy-900);text-decoration:none;transition:.2s;}
.hsmp-btn:hover{border-color:var(--accent);background:var(--bg-soft);}
.hsmp-btn svg{width:16px;height:16px;}
@media(max-width:860px){.samples-grid{grid-template-columns:1fr!important;}}

/* AWS home samples equal heads */
.hsmp-head{display:flex;flex-direction:column;}
.hsmp-head h3{min-height:75px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.hsmp-meta{margin-top:auto;}

/* AWS home blog covers */
#home-blog .pcover{display:flex;align-items:center;justify-content:center;min-height:180px;background:linear-gradient(150deg,#eef1f6,#e2e7f3);color:#8b94ab;text-decoration:none;border-bottom:1px solid var(--line);}
#home-blog .pcover svg{width:46px;height:46px;opacity:.55;}
#home-blog .post{overflow:hidden;}
#home-blog .post h3 a{color:inherit;text-decoration:none;}
#home-blog .post h3 a:hover{color:var(--accent);}
#home-blog .pcover:hover svg{opacity:.85;transition:.2s;}

/* AWS home blog img cover */
#home-blog .pcover.has-img{display:block;padding:0;min-height:0;height:200px;overflow:hidden;border-bottom:1px solid var(--line);}
#home-blog .pcover.has-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
#home-blog .post:hover .pcover.has-img img{transform:scale(1.05);}

/* AWS blog tag pills */
#home-blog .ptags,.aws-blog-card .abc-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 14px;}
#home-blog .ptags span,.aws-blog-card .abc-tags span{font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:30px;background:var(--bg-soft);color:#475067;border:1px solid var(--line);}

/* AWS trust/press links */
a.uni,a.pname{color:inherit;text-decoration:none;cursor:pointer;transition:color .2s;}
a.uni:hover,a.pname:hover{color:var(--accent);}

/* AWS svc card link */
.svc-card-link{display:block;text-decoration:none;color:inherit;height:100%;}
.svc-card-link .more{color:var(--navy-900);}
.svc-card-link:hover .more{color:var(--accent);}
.svc-card-link:hover h3{color:var(--accent);}

/* AWS subjects 2col mobile */
@media(max-width:760px){.subjects-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;}.subject-chip{padding:12px 12px!important;}}
@media(max-width:380px){.subject-chip{font-size:13px;}}

/* AWS writer buttons mobile */
@media(max-width:560px){.wc-actions{flex-direction:column;gap:10px;}.wc-view,.wc-hire{width:100%;white-space:nowrap;padding:13px;}}

/* AWS platforms slider mobile */
@media(max-width:760px){
.platforms-grid{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;-webkit-overflow-scrolling:touch;padding:4px 2px 12px;scrollbar-width:none;}
.platforms-grid::-webkit-scrollbar{display:none;}
.platforms-grid>.platform-card{flex:0 0 80%!important;max-width:80%!important;scroll-snap-align:center;margin:0!important;}
}

/* AWS platforms slider v2 */
.plat-dots{display:none;}
@media(max-width:760px){
.platforms-grid{scroll-behavior:smooth;}
.platforms-grid>.platform-card{flex:0 0 78%!important;max-width:78%!important;}
.platforms-grid>.platform-card:first-child{margin-left:11%!important;}
.platforms-grid>.platform-card:last-child{margin-right:11%!important;}
.plat-dots{display:flex!important;justify-content:center;gap:8px;margin-top:8px;}
.plat-dots span{width:8px;height:8px;border-radius:50%;background:#cbd2e0;cursor:pointer;transition:.25s;}
.plat-dots span.on{background:var(--accent);width:22px;border-radius:5px;}
}

/* AWS platforms controls v3 */
.plat-controls{display:none;}
@media(max-width:760px){
.plat-controls{display:flex!important;align-items:center;justify-content:center;gap:14px;margin-top:12px;}
.plat-arrow{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--navy-900);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto;padding:0;}
.plat-arrow:active{background:var(--navy-900);color:#fff;}
.plat-arrow svg{width:18px;height:18px;}
.plat-dots{margin-top:0!important;}
}

/* hide custom chat for tawk */
.chat-fab{display:none!important;}

/* AWS contact card links */
a.contact-card{text-decoration:none;color:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s;}
a.contact-card:hover{border-color:var(--accent)!important;box-shadow:0 10px 26px rgba(16,24,40,.10);transform:translateY(-2px);}
a.contact-card:hover b{color:var(--accent-deep);}
