/* SY Merchant — marketing site.
   Palette sampled from the logo: navy #17253A, blue #285BB8. */

:root {
  --navy: #17253a;
  --navy-700: #22334d;
  --navy-500: #3c4f6d;
  --blue: #285bb8;
  --blue-600: #1f4c9e;
  --blue-100: #e8eefb;
  --ink: #16202e;
  --body: #4a5768;
  --muted: #6b7889;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --shadow-lg: 0 24px 60px -20px rgb(23 37 58 / 0.28);
  --shadow-md: 0 10px 30px -12px rgb(23 37 58 / 0.2);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.018em; }
h3 { font-size: 1.14rem; letter-spacing: -0.008em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
/* height:auto is load-bearing: every <img> carries width/height attributes for
   layout stability, and without it those attributes win over the fluid width
   and the image renders at its intrinsic height. */
img { max-width: 100%; height: auto; display: block; }

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

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .9em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.6em; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .16s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -6px rgb(40 91 184 / .6); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-100); }
.btn-outline-light { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 2rem; height: 74px; }
/* The supplied logo is a stacked lockup (mark over wordmark) — too tall for a
   74px bar without shrinking the wordmark to nothing. Header and footer use
   the mark beside live text instead, which stays crisp at any size. */
.nav__logo { display: flex; align-items: center; gap: .6rem; min-height: 44px; }
.nav__logo img { height: 30px; width: auto; }
.wordmark {
  font-weight: 800; font-size: 1.06rem; letter-spacing: .13em; color: var(--navy);
  white-space: nowrap;
}
.wordmark b { color: var(--blue); font-weight: 800; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__links a { color: var(--body); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__cta { margin-left: 1.5rem; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
/* Below ~560px the bar is only logo + CTA, and the nowrap wordmark plus a
   full-size button overran the viewport — the button sat on top of the
   wordmark. Tighten the gap and the button rather than dropping the brand. */
@media (max-width: 560px) {
  .nav { gap: .6rem; }
  .wordmark { font-size: .92rem; letter-spacing: .09em; }
  .nav__logo img { height: 26px; }
  .nav__cta { margin-left: auto; padding: .7em 1.05em; font-size: .93rem; }
}
@media (max-width: 340px) { .wordmark { display: none; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 15% -10%, rgb(40 91 184 / .10), transparent 60%),
    radial-gradient(900px 460px at 92% 8%, rgb(23 37 58 / .07), transparent 62%),
    var(--bg);
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
  overflow: hidden;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 3.5rem; } }
.hero p.lede { font-size: 1.19rem; color: var(--body); max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__note { margin-top: 1.2rem; font-size: .92rem; color: var(--muted); }

/* Browser-style frame around a screenshot. The image is cropped to a fixed
   aspect so a tall capture can't stretch the section it sits in. */
.frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff;
}
.frame__bar {
  display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem;
  background: #f2f5f9; border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae4; display: block; }
.frame img { display: block; width: 100%; height: auto; }

.hero__strip {
  margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line);
  padding: 1.5rem 0; background: var(--bg-soft);
}
.hero__strip .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: center; }
.hero__strip span { font-size: .92rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.hero__strip svg { color: var(--blue); flex: none; }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 40em; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.09rem; margin-bottom: 0; }
.alt { background: var(--bg-soft); }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: .18s ease;
}
.card:hover { border-color: #cdd7e5; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; font-size: .96rem; }
.card__icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue-100);
  color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem;
}

/* ---------- alternating feature rows ---------- */
.row { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .row { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .row + .row { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
  .row--flip .row__text { order: 2; }
}
.row + .row { margin-top: 3.5rem; }
.row__shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .65rem; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285bb8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.68rem no-repeat;
}

/* ---------- themes showcase ---------- */
.themes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.theme-card { text-align: center; }
.theme-card img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.theme-card figcaption { margin-top: .9rem; font-size: .93rem; color: var(--muted); }
.theme-card strong { color: var(--ink); display: block; font-size: 1rem; }
.swatches { display: flex; gap: .45rem; justify-content: center; margin-top: .55rem; }
.swatches i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .12); display: block; }

/* ---------- settings list ---------- */
.settings-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.setting { border-left: 3px solid var(--blue-100); padding: .1rem 0 .1rem 1.1rem; }
.setting h4 { font-size: 1rem; margin-bottom: .25em; color: var(--ink); }
.setting p { font-size: .93rem; margin: 0; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing {
  background: var(--navy); color: #cfd8e6; border-radius: 20px; padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.pricing h2 { color: #fff; }
.pricing p { max-width: 34em; margin-left: auto; margin-right: auto; color: #b9c4d4; }
.pricing__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pricing__included {
  display: grid; gap: .7rem 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 2.5rem auto 0; max-width: 760px; text-align: left;
}
.pricing__included li { list-style: none; padding-left: 1.7rem; position: relative; font-size: .95rem; color: #cfd8e6; }
.pricing__included li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f9bee' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 1.15rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.03rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 44px; /* touch target — the text alone was 27px */
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .9rem 0 0; font-size: .98rem; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #93a1b5; padding: 3.5rem 0 2.5rem; font-size: .93rem; }
.footer__logo { width: 190px; height: auto; margin-bottom: 1.2rem; }
.site-footer a { color: #cfd8e6; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .88rem;
}
/* The email and phone here are the last chance to make contact — give them a
   thumb-sized target rather than a 17px line of text. */
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .1rem; }
/* Footer links are the smallest text on the page; give each a real touch
   target rather than an 18px line to hit. */
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
