/* InXChek website: warm and bright, its own palette. The section backgrounds are one soft
   wash (butter, peach, mint, lavender, back to butter) that blends from section to section;
   the strong colours are kept for buttons, icons and card edges. */
:root {
  --page: #fffdf8;
  --ink: #1d2a23;
  --ink-soft: #4f5b54;
  --green: #138a5b;
  --green-bright: #18a06b;
  --green-dark: #0f6d48;
  --green-deep: #0e3b2b;
  --sun: #ffc531;
  --sun-dark: #f2b200;
  --coral: #ff7a59;
  --sky: #2f86d9;
  --violet: #7a5af0;
  --butter: #fff4d6;
  --peach: #ffe3d3;
  --border: #efe6d8;
  --radius: 20px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* Brand: the basket-and-tick mark with a bold wordmark, the X in green. */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: block; border-radius: 12px; }
.brand-name { font-weight: 900; font-size: 1.85rem; letter-spacing: -.03em; color: var(--green-deep); }
.brand-name .x { color: var(--green-bright); }

/* Top bar */
.topbar { background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .97rem; }
.topnav a:hover { color: var(--green); }

.btn { display: inline-block; padding: 14px 26px; border-radius: 14px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-big { padding: 18px 34px; font-size: 1.12rem; border-radius: 16px; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 178, 0, .8); }
.btn-sun:hover { background: var(--sun-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(19, 138, 91, .8); }
.btn-green:hover { background: var(--green-dark); }
.topnav .btn-small { padding: 10px 18px; color: #fff; }

/* Hero: sunny, using the full width */
.hero {
  /* One soft wash down the whole page: each section starts on the colour the one above
     it ends on, so the backgrounds blend instead of meeting at a hard edge. */
  background: linear-gradient(180deg, #fff6dc 0%, #ffecdc 100%);
  padding: 64px 0 84px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; color: var(--green-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid #f3dcc0; }
.hl { color: var(--green); }
.lede { font-size: 1.25rem; color: #34413a; max-width: 640px; }
.hero-actions { margin: 30px 0 18px; }
.returning { font-size: 1.02rem; color: var(--ink-soft); }
.returning a { font-weight: 800; color: var(--green-dark); text-decoration: none; border-bottom: 2px solid rgba(19, 138, 91, .35); }
.returning a:hover { border-bottom-color: var(--green); }

/* The phone illustration */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 34px 0 40px; }
.phone { width: 320px; background: #fff; border-radius: 34px; border: 10px solid #1d2a23; box-shadow: 0 30px 60px -20px rgba(29, 42, 35, .35); padding: 16px; }
.phone-top { font-weight: 900; color: var(--green-deep); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.phone-top img { border-radius: 6px; }
.alert { background: #dcf5e8; border-radius: 16px; padding: 14px; }
.alert-head { font-size: .92rem; margin-bottom: 6px; }
.alert p { margin: 0 0 6px; font-size: .85rem; color: var(--ink-soft); }
.alert ul { list-style: none; padding: 0; margin: 0 0 10px; }
.alert li { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 0; }
.box { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--green); display: inline-block; }
.alert-actions { display: flex; gap: 8px; }
.pill { font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.pill.yes { background: var(--green); color: #fff; }
.pill.no { background: #fff; color: var(--ink-soft); border: 1px solid var(--border); }
.budget { margin-top: 14px; background: #fff6cc; border-radius: 16px; padding: 14px; }
.budget-row { display: flex; justify-content: space-between; font-size: .85rem; }
.budget-row.muted { color: var(--ink-soft); margin-top: 10px; }
.bar { height: 9px; background: #fff; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.bar.alt span { background: var(--coral); }
.float { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: .85rem; font-weight: 700; box-shadow: 0 12px 30px -12px rgba(29, 42, 35, .3); border: 1px solid var(--border); white-space: nowrap; }
.float-a { left: 0; top: 0; color: var(--green-dark); }
.float-b { right: 0; bottom: 0; color: var(--violet); }

/* Sections */
.section { padding: 84px 0; }
.kicker { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #fff; background: var(--coral); padding: 5px 12px; border-radius: 999px; }
.kicker.light { background: var(--sun); color: var(--ink); }
.grid { display: grid; gap: 22px; margin-top: 32px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }

/* Problems: peach blending into mint, with white cards */
.problems { background: linear-gradient(180deg, #ffecdc 0%, #f2f5e6 55%, #e8f6ee 100%); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 6px solid; box-shadow: 0 18px 40px -26px rgba(29, 42, 35, .4); }
.card p { color: var(--ink-soft); margin: 0; }
.card strong { color: var(--ink); }
.card .icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; margin-bottom: 14px; }
.c-sun { border-top-color: var(--sun-dark); } .c-sun .icon { background: #fff1c2; }
.c-green { border-top-color: var(--green-bright); } .c-green .icon { background: #d6f5e6; }
.c-sky { border-top-color: var(--sky); } .c-sky .icon { background: #dbecff; }
.c-violet { border-top-color: var(--violet); } .c-violet .icon { background: #ebe4ff; }

/* Features: mint blending into lavender */
.features { background: linear-gradient(180deg, #e8f6ee 0%, #eef0f6 55%, #f1ecfa 100%); }
.feature { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 16px 34px -26px rgba(29, 42, 35, .45); transition: transform .12s ease, box-shadow .12s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(29, 42, 35, .5); }
.feature p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.ficon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.35rem; margin-bottom: 12px; }
.f-green { background: #d6f5e6; } .f-violet { background: #ebe4ff; } .f-coral { background: #ffe1d6; }
.f-sky { background: #dbecff; } .f-sun { background: #fff1c2; }
.tag { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--coral); border-radius: 999px; padding: 3px 9px; vertical-align: middle; margin-left: 4px; }

/* Privacy: lavender blending back into mint */
.privacy { background: linear-gradient(180deg, #f1ecfa 0%, #ecf2f0 55%, #e6f4ec 100%); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.ticks li { padding: 16px 0 16px 42px; position: relative; border-top: 1px solid rgba(19, 138, 91, .18); font-size: 1.05rem; }
.ticks li::before { content: ""; position: absolute; left: 8px; top: 22px; width: 16px; height: 9px; border-left: 4px solid var(--green); border-bottom: 4px solid var(--green); transform: rotate(-45deg); }

/* Call to action: mint blending back into butter */
.cta { background: linear-gradient(180deg, #e6f4ec 0%, #fbf1df 50%, #fff6dc 100%); }
.cta p { color: var(--ink-soft); font-size: 1.08rem; }
.cta-mark { border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(14, 59, 43, .6); margin-bottom: 18px; }
.returning.dark { margin-top: 18px; color: var(--ink-soft); }
.returning.dark a { color: var(--green-deep); border-bottom-color: rgba(14, 59, 43, .4); }

/* Footer */
.footer { background: var(--green-deep); color: #b9d6c8; padding: 32px 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer a { color: #fff; }
.brand-footer .brand-name { font-size: 1.4rem; color: #fff; }
.brand-footer .brand-name .x { color: var(--sun); }
.copy { margin-left: auto; }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
}
/* Phone */
@media (max-width: 640px) {
  .topnav a:not(.btn) { display: none; }
  .topbar-inner { min-height: 66px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.5rem; }
  .hero { padding: 40px 0 56px; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .phone { width: 280px; }
  .copy { margin-left: 0; }
}
