/* Terco Mart website — brand: navy on bright yellow, light-blue accent. */
:root {
  --yellow: #fde505;
  --yellow-soft: #fff7b3;
  --navy: #02284f;
  --navy-2: #0b3b6f;
  --blue: #13a9e8;
  --ink: #16161e;
  --muted: #5b6070;
  --line: #e6e7eb;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(2, 40, 79, 0.14);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--blue); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--yellow);
  border-bottom: 1px solid rgba(2, 40, 79, 0.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.menu-toggle { display: none; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(2, 40, 79, 0.06); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 14px; min-width: 190px;
}
.store:hover { background: var(--navy-2); color: #fff; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; letter-spacing: .3px; }
.store strong { display: block; font-size: 17px; line-height: 1.15; }
.store.soon { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* ── Hero ───────────────────────────────────────────── */
.hero { background: var(--yellow); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--navy); color: var(--yellow);
  font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  color: var(--navy); font-size: clamp(34px, 5vw, 56px); line-height: 1.08;
  margin: 18px 0 16px; letter-spacing: -0.5px; font-weight: 800;
}
.hero p.lead { color: #23324a; font-size: 19px; margin: 0 0 28px; max-width: 560px; }
.hero .points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero .points li { color: var(--navy); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero .points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fde505' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Phone mock-up of the app home screen */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 19;
  background: #111; border-radius: 42px; padding: 12px; box-shadow: var(--shadow), 0 0 0 2px #2a2a2a inset;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #111; border-radius: 0 0 14px 14px; z-index: 2;
}
.screen { height: 100%; border-radius: 32px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.screen .app-top { background: var(--yellow); padding: 40px 14px 14px; }
.screen .app-top img { height: 30px; }
.screen .search {
  margin-top: 12px; background: #fff; border-radius: 12px; padding: 9px 12px;
  font-size: 12px; color: #8a8f9c; display: flex; gap: 8px; align-items: center;
}
.screen .banner {
  margin: 12px; border-radius: 14px; padding: 14px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.screen .banner b { display: block; font-size: 15px; }
.screen .banner span { font-size: 11px; opacity: .85; }
.screen .chips { display: flex; gap: 6px; padding: 0 12px; flex-wrap: wrap; }
.screen .chips span { font-size: 10px; background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 8px; border-radius: 999px; color: var(--navy); font-weight: 600; }
.screen .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.screen .card { border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.screen .card i { display: block; height: 58px; border-radius: 8px; background: var(--yellow-soft); margin-bottom: 6px; }
.screen .card em { display: block; height: 7px; border-radius: 4px; background: #e9ebef; margin: 4px 0; font-style: normal; }
.screen .card strong { font-size: 11px; color: var(--navy); }
.screen .tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 14px; border-top: 1px solid var(--line); }
.screen .tabbar span { width: 18px; height: 18px; border-radius: 6px; background: #d6d9df; }
.screen .tabbar span:first-child { background: var(--navy); }

/* ── Sections ───────────────────────────────────────── */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { color: var(--navy); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.kicker { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; font-size: 13px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s, transform .2s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 14px; background: var(--yellow);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .ic svg { width: 24px; height: 24px; stroke: var(--navy); }
.feature h3 { color: var(--navy); margin: 0 0 8px; font-size: 19px; }
.feature p { color: var(--muted); margin: 0; font-size: 15.5px; }

.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.range .item { background: #fff; border-radius: var(--radius); padding: 22px; border-left: 5px solid var(--yellow); box-shadow: 0 2px 0 var(--line); }
.range .item h3 { color: var(--navy); margin: 0 0 6px; font-size: 17px; }
.range .item p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--yellow); font-weight: 800; display: grid; place-items: center; font-size: 18px;
}
.step h3 { color: var(--navy); margin: 8px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }

.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); color: var(--yellow); }
.cta-band p { margin: 0; color: #d7e2ef; font-size: 17px; }
.cta-band .store { background: var(--yellow); color: var(--navy); }
.cta-band .store.soon { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* ── Pages (policy / contact) ───────────────────────── */
.page-hero { background: var(--yellow); padding: 46px 0 40px; }
.page-hero h1 { color: var(--navy); margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); }
.page-hero p { margin: 0; color: #23324a; }
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h2 { color: var(--navy); font-size: 22px; margin: 36px 0 10px; padding-top: 6px; }
.doc h3 { color: var(--navy-2); font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: #2b2f3a; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.doc th { background: var(--bg-alt); color: var(--navy); }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.note { background: var(--yellow-soft); border-left: 4px solid var(--navy); padding: 14px 18px; border-radius: 10px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 12px; }
.contact-card .ic svg { width: 22px; height: 22px; stroke: var(--navy); }
.contact-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.contact-card p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.contact-card a.big { font-weight: 700; font-size: 17px; text-decoration: none; word-break: break-word; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: #011a34; color: #b9c6d6; padding: 52px 0 26px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 44px; width: auto; background: var(--yellow); padding: 6px 10px; border-radius: 10px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; letter-spacing: .4px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #dfe7f1; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .points, .hero .store-badges { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .range { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .store-badges { justify-content: center; }
}
@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .menu-toggle svg { width: 28px; height: 28px; stroke: var(--navy); }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--yellow);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
    border-bottom: 1px solid rgba(2, 40, 79, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(2, 40, 79, 0.08); }
  .nav .btn { margin-top: 10px; border-bottom: 0; }
  section { padding: 56px 0; }
  .features, .range, .steps, .contact-grid { grid-template-columns: 1fr; }
  .steps { gap: 30px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cta-band { padding: 32px 22px; }
  .store { min-width: 0; flex: 1 1 180px; }
}
