/* InvoiceBee site stylesheet. */
:root {
  --yellow: #fdc50c;
  --ink: #1f1f1f;
  --text: #3a3a3a;
  --muted: #5f6368;
  --slate: #54595f;
  --slate-dark: #3f4348;
  --green: #61ce70;
  --line: #e6e7ea;
  --tint: #f9f9fb;
  --plan: #f7f8f8;
  --footer: #232428;
  --radius: 10px;
  --max: 1160px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section__head h2 { color: var(--ink); }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 12px; }

.btn { display: inline-block; padding: 9px 24px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--ink); border-radius: 0; transition: background 0.15s, color 0.15s; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header / footer */
.topbar { height: 24px; background: var(--yellow); }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.97); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-header__logo img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-weight: 500; }
.site-nav__links { display: flex; }
.site-nav a { text-decoration: none; }
.site-nav__links a, .site-nav__cta { padding: 20px 20px 17px; border-bottom: 3px solid transparent; }
.site-nav__links a:first-child, .site-nav__cta { color: var(--yellow); border-bottom-color: var(--yellow); }
.site-nav__links a:hover { color: var(--yellow); }
.lang-menu { position: relative; margin-right: 16px; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 8px 4px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; border: 5px solid transparent; border-top-color: currentColor; margin: 5px 0 0 6px; }
.lang-menu ul { position: absolute; top: 100%; left: 0; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.08); min-width: 150px; }
.lang-menu li a { display: flex; align-items: center; gap: 6px; padding: 6px 14px; }
.lang-menu li a:hover { background: var(--tint); }
.site-footer { background: var(--footer); color: #fff; padding: 28px 0; font-size: 0.95rem; text-align: center; }
.site-footer a { color: #fff; }
.site-footer__links { margin: 0 0 8px; }
.site-footer__text { margin: 0; font-size: 0.75rem; opacity: 0.8; }
@media (max-width: 760px) {
  .site-header .container { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .site-header__logo img { height: 34px; }
  .site-nav { width: 100%; margin-left: 0; justify-content: space-between; font-size: 0.9rem; }
  .site-nav__links a, .site-nav__cta { padding: 12px 8px 9px; }
  .site-header { position: static; }
}

/* Hero */
.hero { padding: 64px 0 24px; }
.hero > .container:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.hero__photos { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; }
.hero__photos img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.hero__photos img:nth-child(2) { aspect-ratio: 7 / 10; }
.hero__eyebrow { display: flex; align-items: center; gap: 4px; font-size: 1.6rem; font-weight: 500; margin-bottom: 20px; }
.hero__eyebrow img { width: 50px; height: 50px; }
.hero h1 { margin-bottom: 0.8em; }
.hero__body { font-size: 1.1rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li::before { content: "✓ "; font-weight: 700; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 110px; padding-top: 64px; padding-bottom: 24px; }
.badges img { width: 173px; }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero > .container:first-child { grid-template-columns: 1fr; }
  .hero__eyebrow { font-size: 1.2rem; }
  .badges { gap: 24px 40px; }
  .badges img { width: 130px; }
}

/* Features (centred, with icons) */
.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { text-align: center; padding: 8px 12px; }
.feature__icon { width: 80px; height: 80px; margin: 0 auto 12px; }
.feature p { margin: 0 0 1.1em; }

/* Download */
.download__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.download__image { width: 100%; max-width: 480px; justify-self: center; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.download__intro h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; }
.platform__name { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 1.1rem; margin-bottom: 18px; }
.platform__name img { width: 35px; height: 35px; }
@media (max-width: 860px) { .download__intro { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; } }

/* Pricing */
.section--pricing + .section--pricing { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--plan); text-align: center; }
.plan__head { position: relative; overflow: hidden; background: var(--slate); color: #fff; padding: 20px 16px; }
.plan__head h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.plan__head p { margin: 0; font-size: 0.85rem; }
.plan__ribbon { position: absolute; top: 36px; right: -48px; width: 190px; letter-spacing: 0.02em; transform: rotate(45deg); background: var(--green); color: #fff; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 0; }
.plan__body { padding: 32px 24px 24px; }
.plan__price { display: flex; justify-content: center; align-items: flex-start; color: var(--slate); line-height: 1; }
.plan__currency { font-size: 1.25rem; margin-top: 6px; }
.plan__whole { font-size: 4rem; font-weight: 600; }
.plan__cents { font-size: 1.25rem; margin-top: 6px; }
.plan__period { color: var(--slate); font-size: 1.05rem; margin: 6px 0 0; }
.plan__features { list-style: none; padding: 0; margin: 28px 0 24px; }
.plan__features li { margin: 2px 0; }
.btn--plan { background: var(--slate); border-color: var(--slate); color: #fff; font-weight: 500; padding: 8px 28px; border-radius: 3px; font-size: 1.05rem; }
.btn--plan:hover { background: var(--slate-dark); border-color: var(--slate-dark); }
.plan__devices { margin: 16px auto 0; height: 26px; width: auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* Testimonial with image */
.spotlight { padding-bottom: 0; overflow: hidden; }
.spotlight .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spotlight__quote { margin: 0; text-align: center; padding-bottom: 72px; }
.spotlight__photo { width: 166px; height: 166px; border-radius: 50%; object-fit: cover; margin: 0 auto 24px; }
.spotlight__quote h3 { font-size: 2rem; margin-bottom: 0.2em; }
.spotlight__role { font-size: 0.95rem; }
.spotlight__quote blockquote { margin: 0 auto; max-width: 460px; font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.spotlight__image { width: 100%; max-width: 520px; justify-self: end; }
@media (max-width: 860px) { .spotlight .container { grid-template-columns: 1fr; } .spotlight__quote { padding-bottom: 0; } .spotlight__image { justify-self: center; } }

/* Generic sections kept from the template */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px; }
.logos img { height: 36px; width: auto; opacity: 0.75; filter: grayscale(1); }
.split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; }
.split ul { padding: 0; list-style: none; margin: 0; }
.split li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.split li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
@media (max-width: 860px) { .split .container { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: step; }
.step { counter-increment: step; }
.step__media { border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); }
.step h3::before { content: counter(step) ". "; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.15s; }
a.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { padding: 24px; }
.card__body p { color: var(--muted); margin: 0; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.testimonial img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.testimonial blockquote { margin: 0; padding: 24px 24px 8px; font-weight: 600; color: var(--ink); }
.testimonial p { padding: 0 24px 24px; color: var(--muted); margin: 0; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.cta { background: var(--yellow); border-radius: var(--radius); padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: var(--ink); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px; } }
