/* ==========================================================================
   TradeKit — shared styles for marketing pages
   Palette: black / white / orange (#ff9b05) — matches existing brand.
   Change the values below to re-tune the whole site in one place.
   ========================================================================== */

:root {
  /* --- Brand colour scheme (from existing site) --- */
  --black: #000000;
  --white: #ffffff;
  --green: #20c94d;
  --orange: #ff9b05;
  --orange-dark: #d98600;
  --orange-light: #ffe7c2;

  /* --- Supporting neutrals (new — for hierarchy only, not brand colours) --- */
  --grey-050: #f7f6f3;
  --grey-100: #efeee9;
  --grey-300: #d9d7d0;
  --grey-500: #8a8a86;
  --ink: #111111;
  --ink-soft: #3d3d3a;

  /* --- Type --- */
  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- Shape / shadow --- */
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(0,0,0,.05), 0 12px 28px -14px rgba(0,0,0,.28);
  --shadow-hover: 0 1px 2px rgba(0,0,0,.06), 0 20px 36px -16px rgba(0,0,0,.32);

  /* --- Layout --- */
  --container: 1160px;
  --header-h: 76px;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--black);
  padding: .75rem 1.25rem;
  font-weight: 700;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.ti
{
	font-size:1.5em;
}
.num
{
	font-family: var(--font-mono);
	font-size: .8rem;
	color: var(--orange);
	border: 2px solid var(--orange);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
/* -------------------------------- Layout --------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--grey-050); }
.section--black { background: var(--black); color: var(--white); }
.section--black h1, .section--black h2, .section--black h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section--black .eyebrow { color: var(--orange); }
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  display: inline-block;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.section--black .lede { color: rgba(255,255,255,.78); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
}
.reverse .grid-2-media { order: 2; }
@media (max-width: 900px) { .reverse .grid-2-media { order: 0; } }

/* -------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--black);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.logo img { width: 30px; height: 30px; border-radius: 6px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right .18s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 24px;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; }
  .header-actions .btn-ghost { display: none; }
}

/* --------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn-sm { padding: .6rem 1.2rem; font-size: .875rem; }
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: var(--black); transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: var(--black); border-color: var(--orange); }
.btn-accent:hover { background: var(--black); border-color: var(--black); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------------------------- Docket / stamp motif ------------------------- */
/* A recurring nod to job dockets & invoice pads: perforated top edge + a
   rotated ink-stamp badge using TradeKit's own real invoice-status vocabulary. */
.docket {
  position: relative;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.docket::before {
  /*
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 0;
  border-top: 2px dashed var(--grey-300);
  */
}
.docket::after {
  /*
  content: "";
  position: absolute;
  top: -8px; left: 24px;
  width: 16px; height: 16px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 50%;
  box-shadow: calc(100% - 40px) 0 0 0 var(--white), calc(100% - 40px) 0 0 1px var(--grey-300);
  */
}
.stamp {
  position: absolute;
  top: -14px; right: 24px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  padding: .3rem .7rem;
  background: var(--white);
  transform: rotate(-4deg);
}

/* -------------------------------- Feature cards ---------------------------- */
.tag-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: .35rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.check-list { display: flex; flex-direction: column; gap: .85rem; margin: 1.5rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.02rem; }
.check-list li svg { flex-shrink: 0; margin-top: 3px; }

.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--ink-soft); margin-bottom: 0; }
.feature-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}

/* --------------------------------- Media frame ----------------------------- */
.media-frame {
  background: var(--grey-050);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 20px;
}
.media-frame img { border-radius: var(--radius-sm); }

/* ---------------------------------- Pricing --------------------------------- */
.price-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
}
.price-figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .35rem;
  margin: 1rem 0;
}
.price-figure .currency { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-top: .6rem; }
.price-figure .amount { font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: 1; }
.price-figure .period { font-family: var(--font-mono); font-size: 1rem; color: var(--grey-500); margin-top: 1.2rem; }

/* ----------------------------------- FAQ ------------------------------------ */
details.faq-item {
  border-bottom: 1px solid var(--grey-300);
  padding: 1.4rem 0;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .2s ease;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body { color: var(--ink-soft); padding-top: .85rem; max-width: 68ch; }

/* ------------------------------- Help topic cards --------------------------- */
.help-topic {
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.help-topic summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}
.help-topic summary::-webkit-details-marker { display: none; }
.help-topic summary .num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.help-topic summary::after {
  content: "→";
  margin-left: auto;
  transition: transform .2s ease;
}
.help-topic[open] summary::after { transform: rotate(90deg); }
.help-topic .help-body { padding: 0 1.6rem 2rem 4.4rem; color: var(--ink-soft); }
.help-topic .help-body ol { list-style: decimal; padding-left: 1.2em; display: flex; flex-direction: column; gap: .6rem; }
.help-topic .help-body ol li::marker { font-family: var(--font-mono); color: var(--orange); font-weight: 700; }
.help-topic .help-body p { margin: 0 0 .8rem; }
.help-topic .help-shots { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2rem; }
.help-topic .help-shots .zoomable { width: 200px; }
.help-topic .help-shots .zoomable img { border: 1px solid var(--grey-300); }
/* Screenshots interleaved inline with the step they illustrate */
.help-topic .help-body ol li { display: block; }
.help-topic .step-shots { display: flex; gap: 12px; flex-wrap: wrap; margin: .75rem 0 .25rem; }
.help-topic .step-shots .zoomable { width: 220px; max-width: 100%; }
.help-topic .step-shots .zoomable img { border: 1px solid var(--grey-300); }
.help-topic .tip {
  background: var(--grey-050);
  border-left: 3px solid var(--orange);
  padding: .8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
}

.help-search {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-pill);
  padding: .4rem .4rem .4rem 1.4rem;
  max-width: 560px;
}
.help-search input { flex: 1; border: none; outline: none; font-size: 1rem; background: transparent; }
.help-search button {
  background: var(--black); color: var(--white); border: none;
  border-radius: var(--radius-pill); padding: .7rem 1.3rem; font-weight: 700;
}
.help-empty { display: none; color: var(--grey-500); padding: 2rem 0; text-align: center; }

/* ----------------------------------- Forms ----------------------------------- */
.form-card { max-width: 560px; }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .45rem;
}
.field .hint { font-size: .8rem; color: var(--grey-500); margin-top: .35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,155,5,.18);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c92a2a; }
.field .error-msg { display: none; color: #c92a2a; font-size: .82rem; margin-top: .35rem; }
.field.has-error .error-msg { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form-success.is-visible { display: block; }
.form-success .stamp-big {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green);
  border: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: .6rem 1.4rem;
  transform: rotate(-4deg);
  margin-bottom: 1.2rem;
}

.trust-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.trust-badge {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  background: var(--grey-050);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem;
}

/* --------------------------------- Breadcrumb -------------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--grey-500);
  display: flex;
  gap: .5rem;
  align-items: center;
  padding: 1.1rem 0;
}
.breadcrumb a:hover { color: var(--orange); }

/* ----------------------------------- CTA band -------------------------------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(255,255,255,.78); margin: 0 auto 1.5rem; }
.cta-band .cta-row { justify-content: center; }

/* ----------------------------------- Footer ----------------------------------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); padding: 64px 0 0; margin-top: 96px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo { color: var(--white); margin-bottom: .8rem; }
.footer-brand p { max-width: 280px; font-size: .92rem; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  margin-bottom: 1rem;
}
.footer-col a { display: block; padding: .35rem 0; font-size: .92rem; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 24px 0; font-size: .82rem; color: rgba(255,255,255,.5);
}

/* ------------------------------ Zoomable screenshots ---------------------------- */
/* Wraps a real product screenshot in a big, easy-to-hit tap target. The corner
   badge makes it obvious the image is interactive so a scroll/tap on mobile
   doesn't feel like an accidental "gotcha" — the whole photo is clickable,
   the badge is just the visual cue. */
.zoomable {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
}
.zoomable img { width: 100%; display: block; border-radius: var(--radius-sm); }
.zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  pointer-events: none;
}
.zoomable:hover .zoom-badge,
.zoomable:focus-visible .zoom-badge {
  background: var(--orange);
  color: var(--black);
  transform: scale(1.08);
}

/* ----------------------------------- Lightbox ------------------------------------ */
/* Shared fullscreen viewer. With one image in its group it's a simple zoom;
   with several (e.g. a Help topic's screenshots) it becomes a swipeable reel. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox-figure {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  touch-action: pan-y;
}
.lightbox-figure img {
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #111;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.lightbox-caption {
  color: rgba(255,255,255,.72);
  font-family: var(--font-mono);
  font-size: .8rem;
  text-align: center;
  max-width: 64ch;
  margin: 1rem 0 0;
  padding: 0 1rem;
}
.lightbox-counter {
  color: rgba(255,255,255,.78);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .05em;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: .35rem .9rem;
  margin-top: .85rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-figure img { max-height: 62vh; }
}

/* ------------------------------------ Utilities -------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.max-w-content { max-width: 720px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
