/* ==========================================================================
   PageFill website styles
   Colours, fonts and spacing are set once here, in :root.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #00adef;          /* PageFill blue (from the SALE look). Decoration only. */
  --blue-dark: #0077b6;     /* Buttons and links: readable with white text */
  --blue-deep: #005a8a;     /* Button hover */
  --yellow: #fff200;        /* PageFill yellow (from the SALE look). Accents only. */
  --tint: #e6f5fc;          /* Light blue band behind the hero and footer */

  /* Neutrals */
  --bg: #f7f8f6;
  --surface: #ffffff;
  --neutral: #f4f4f1;
  --ink: #1a1a1a;
  --ink-2: #3a3a38;
  --quiet: #5c5c57;
  --line: #e2e2de;
  --dark: #161b1e;          /* Dark cards */

  /* Type */
  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 40, .06), 0 12px 32px rgba(20, 30, 40, .08);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.018em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--white { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; font-size: 1.1rem; color: var(--quiet); }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 12px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-dark); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--small { min-height: 42px; padding: 10px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 246, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.45rem/1 var(--font-head); letter-spacing: -0.03em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span b { color: var(--blue-dark); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--tint); padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-copy { text-align: center; max-width: 900px; margin-inline: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.06);
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
}
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0,173,239,.18); }
.hero h1 { margin-top: 26px; }
.hero h1 .accent { color: var(--blue-dark); display: block; }
.hero-lead { margin-top: 26px; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-2); max-width: 640px; margin-inline: auto; }
.hero-lead strong { display: block; color: var(--blue-dark); font-family: var(--font-head); font-size: 1.15em; margin-bottom: 6px; }
.hero .btn-row { justify-content: center; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--quiet); }

/* Window frame around the video and screenshots */
.frame {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f1f3f1; border-bottom: 1px solid var(--line); position: relative; }
.frame-bar i { width: 12px; height: 12px; border-radius: 50%; background: #d4d7d4; }
.frame-bar span { position: absolute; left: 50%; transform: translateX(-50%); background: var(--surface); border-radius: 999px; padding: 3px 14px; font-size: .82rem; color: var(--quiet); white-space: nowrap; }
.frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #3a3a3a; }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.05); border-radius: var(--radius); padding: 24px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.08); font: 700 .95rem/1 var(--font-head); color: var(--blue-dark); }
.step h3 { margin-top: 16px; }
.step p { margin-top: 8px; color: var(--quiet); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.card-media {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img.contain { object-fit: contain; padding: 18px; }
.card h3 { margin-top: 20px; }
.card p { margin-top: 8px; color: var(--quiet); }
.tag { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--neutral); color: var(--ink-2); }
.tag--pro { background: #dff1fb; color: var(--blue-deep); }
.chip { position: absolute; left: 14px; bottom: 14px; background: rgba(22,27,30,.86); color: #fff; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Small built-in illustrations used in cards */
.mini { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; background: var(--neutral); }
.mini-panel { width: 100%; max-width: 330px; background: var(--dark); color: #e9eef0; border-radius: 14px; padding: 18px; font-size: .9rem; box-shadow: var(--shadow); }
.mini-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mini-panel .row:last-child { border-bottom: 0; }
.mini-panel .muted { color: #9aa6ab; }
.flag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.flag--ok { background: #1f4d36; color: #9ff0c4; }
.flag--warn { background: #5a1f3c; color: #ffb3d6; }
.flag--note { background: var(--yellow); color: #1a1a1a; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 330px; }
.swatches span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: 700 .62rem/1.1 var(--font-head); text-align: center; padding: 4px; color: #fff; }

/* ---------- Real files ---------- */
.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.file-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.file-visual { background: var(--dark); color: #e9eef0; padding: 22px; font-size: .9rem; min-height: 250px; }
.file-visual .title { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; margin-bottom: 14px; }
.file-visual .title svg { width: 18px; height: 18px; flex: none; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; background: rgba(255,255,255,.05); margin-bottom: 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; overflow-wrap: anywhere; }
.file-list em { font-style: normal; color: #7fd3f5; white-space: nowrap; }
.report { background: #2b2f31; border-radius: 10px; padding: 14px 16px; font-size: .86rem; line-height: 1.55; }
.report p + p { margin-top: 8px; }
.report .warn { color: #ffb3d6; }
.file-text { padding: 22px; }
.file-text .label { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-dark); }
.file-text h3 { margin-top: 8px; }
.file-text p { margin-top: 8px; color: var(--quiet); }
@media (max-width: 800px) { .files { grid-template-columns: 1fr; } }

/* ---------- Demo video ---------- */
.demo video { width: 100%; aspect-ratio: 1696 / 1080; background: #3a3a3a; }

/* ---------- Looks gallery ---------- */
.looks { display: flex; gap: 16px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.looks::-webkit-scrollbar { height: 8px; }
.looks::-webkit-scrollbar-thumb { background: #cfd3cf; border-radius: 8px; }
.ticket {
  flex: 0 0 210px; scroll-snap-align: start;
  aspect-ratio: 210 / 297; border-radius: 6px; padding: 10px;
  background: var(--c, #29a8e0); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.ticket-banner { font: 800 1.35rem/1 var(--font-head); color: var(--t, #fff200); text-align: center; padding: 10px 2px 12px; letter-spacing: -0.01em; text-transform: uppercase; }
.ticket-body { flex: 1; background: #fff; border-radius: 2px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ticket-body b { font: 700 .95rem/1.2 var(--font-head); color: #1a1a1a; }
.ticket-body small { font-size: .7rem; color: #555; line-height: 1.3; }
.ticket-price { margin-top: auto; font: 800 1.6rem/1 var(--font-head); color: #c4302b; }
.ticket-price sup { font-size: .55em; }
.looks-note { margin-top: 10px; font-size: .92rem; color: var(--quiet); }

/* ---------- Chinese and Arabic ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lang-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.lang-mark { display: inline-grid; place-items: center; min-width: 76px; height: 56px; padding: 0 14px; border-radius: 14px; background: var(--dark); color: var(--yellow); font-size: 1.6rem; font-weight: 700; }
.lang-mark--bi { gap: 4px; display: inline-flex; align-items: center; font-family: var(--font-head); font-size: 1.25rem; }
.lang-mark--bi span { color: #7fd3f5; font-weight: 400; }
.lang-mark--bi b { color: var(--yellow); }
.lang-card h3 { margin-top: 18px; }
.lang-card p { margin-top: 8px; color: var(--quiet); }
.type-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.type-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 10px 12px; border-radius: 10px; background: var(--neutral); font-size: .88rem; }
.type-list code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; color: var(--ink); }
.type-list span { color: var(--quiet); }
.pack-strip { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pack-strip b { color: var(--ink); }
.pack-fonts { margin-top: 6px; font-size: .92rem; color: var(--quiet); }
@media (max-width: 960px) { .lang-grid { grid-template-columns: 1fr; max-width: 620px; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--neutral); font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
td.no { color: var(--quiet); }
td.yes { font-weight: 700; color: var(--ink); }
td.yes::before { content: "\2713"; color: var(--blue-dark); margin-right: 8px; }
@media (max-width: 600px) {
  table { min-width: 0; font-size: .9rem; }
  th, td { padding: 12px 10px; }
  td.yes::before { margin-right: 4px; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan--pro { border: 2px solid var(--blue-dark); position: relative; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge { font-size: .76rem; font-weight: 700; background: var(--yellow); color: #1a1a1a; padding: 4px 10px; border-radius: 999px; }
.plan-desc { margin-top: 6px; color: var(--quiet); font-size: .96rem; }
.price { margin-top: 20px; font: 800 2.6rem/1 var(--font-head); color: var(--ink); letter-spacing: -0.03em; }
.price small { font: 500 1rem var(--font-body); color: var(--quiet); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; font-size: .98rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: #dff1fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230077b6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 22px; text-align: center; font-size: .92rem; color: var(--quiet); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Standard vs Pro chart */
.compare-head { margin: clamp(48px, 7vw, 72px) 0 18px; text-align: center; }
.compare-head p { margin-top: 8px; color: var(--quiet); }
.compare { max-width: 900px; margin-inline: auto; }
.compare table { min-width: 0; }
.compare th, .compare td { padding: 14px 20px; vertical-align: top; }
.compare thead th:nth-child(n+2), .compare td:nth-child(n+2) { width: 27%; text-align: center; }
.compare thead th:nth-child(3) { background: #fff6a8; color: var(--ink); }
.compare td:nth-child(3) { background: #fffdea; }
.compare tr.group th { background: var(--neutral); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); padding: 10px 20px; }
.compare td.tick span[aria-hidden] { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dff1fb; color: var(--blue-deep); font-weight: 700; font-size: .85rem; }
.compare td.dash { color: #b3b6b2; }
.compare td b { color: var(--ink); }
@media (max-width: 600px) {
  .compare th, .compare td { padding: 11px 8px; font-size: .86rem; }
  .compare tr.group th { padding: 9px 8px; }
  .compare thead th:nth-child(n+2), .compare td:nth-child(n+2) { width: 30%; }
}

/* ---------- Try free ---------- */
.try { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.try p.lead { margin-top: 16px; font-size: 1.12rem; color: var(--quiet); }
.try .btn-row { margin-top: 26px; }
.try .small { margin-top: 14px; font-size: .92rem; color: var(--quiet); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.box ol { margin: 16px 0 18px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.box ol li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.box ol li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 8px; background: #dff1fb; color: var(--blue-deep); font: 700 .9rem/28px var(--font-head); text-align: center; }
@media (max-width: 800px) { .try { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font: 600 1.12rem/1.35 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font: 400 1.4rem/1 var(--font-body); color: var(--blue-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--quiet); max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tint); padding: clamp(48px, 7vw, 72px) 0 32px; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 36px; border-bottom: 1px solid rgba(0,0,0,.08); }
.footer-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 26px; }
.footer-base .logo { font-size: 1.2rem; }
.footer-base .logo svg { width: 28px; height: 28px; }
.footer-legal { font-size: .88rem; color: var(--quiet); flex: 1 1 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; width: 100%; justify-content: flex-end; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-links button { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.footer-links button:hover { color: var(--blue-dark); text-decoration: underline; }
@media (max-width: 700px) { .footer-links { justify-content: flex-start; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 460px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 18px;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: .95rem; }
.cookie .btn-row { margin-top: 14px; align-items: center; }
.cookie .btn { min-height: 44px; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--tint); padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); }
.page-head p { margin-top: 14px; font-size: 1.12rem; color: var(--ink-2); max-width: 720px; }
.page-head .updated { font-size: .92rem; color: var(--quiet); margin-top: 10px; }
.draft { margin-top: 20px; background: #fffbd6; border: 1px solid #e3cf5a; border-radius: 12px; padding: 12px 16px; font-size: .95rem; color: var(--ink); max-width: 760px; }

.search { margin-top: 26px; max-width: 560px; position: relative; }
.search input { width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: var(--surface); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--quiet); }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.guide p { color: var(--quiet); }
.guide a { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; }
.guide[hidden] { display: none; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }
.no-results { margin-top: 18px; color: var(--quiet); display: none; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-soon { aspect-ratio: 16 / 9; border-radius: 14px; background: var(--surface); border: 1px dashed #b9bdb8; display: grid; place-items: center; text-align: center; padding: 12px; font-size: .92rem; color: var(--quiet); }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
form .field { margin-bottom: 20px; }
form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
form label .opt { font-weight: 400; color: var(--quiet); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #c9ccc8; border-radius: 10px; background: var(--surface);
  font: inherit; color: var(--ink);
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(0, 119, 182, .35); outline-offset: 2px; }
input[type="file"] { font: inherit; }
.form-note { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fffbd6; border: 1px solid #e3cf5a; display: none; }
.form-note.is-visible { display: block; }
.side { display: grid; gap: 18px; }

/* Legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin-bottom: 6px; }
.prose .intro { font-size: 1.1rem; }
.todo { background: #fffbd6; padding: 0 4px; border-radius: 4px; }
.card-media img.left { object-position: left top; }

/* Logo image (coloured lettering, sits straight on the page) */
.logo img { display: block; height: 38px; width: auto; }
.footer-base .logo img { height: 32px; }

.video-soon b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--blue-dark); color: #fff; font-size: .8rem; }

/* Charcoal header with the white-lettered logo */
.site-header { background: #2b2d30; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #1c1d1f; }
.site-header .logo img { height: 34px; }
.site-header .nav a { color: #e8eaec; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { color: var(--yellow); }
.site-header .menu-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.site-header .menu-btn svg { stroke: #fff; }
@media (max-width: 900px) {
  .site-header .nav { background: #2b2d30; border-bottom: 1px solid #1c1d1f; }
  .site-header .nav a { border-bottom-color: rgba(255,255,255,.12); }
}

/* Product silhouettes on the look tickets */
.ticket-art { width: 62%; max-height: 90px; margin: auto; color: #e1e5e8; fill: currentColor; }

/* Pricing colour block (charcoal, matches the header) */
.section--charcoal { background: #2b2d30; }
.section--charcoal .section-head h2 { color: #fff; }
.section--charcoal .section-head p { color: #c9ccd0; }
.section--charcoal .plans-note { color: #c9ccd0; }
.section--charcoal .plans-note b { color: #fff; }
.section--charcoal .plans-note a { color: var(--yellow); }
.section--charcoal .plan { border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.section--charcoal .plan--pro { border: 3px solid var(--yellow); }

/* Compare table: Standard is pale blue, Pro is pale yellow */
.compare thead th:nth-child(2) { background: #dff1fb; color: var(--blue-deep); }
.compare td:nth-child(2) { background: #f5fbfe; }
.compare tr.group th { background: var(--neutral); }

/* Blog / tips pages */
.crumbs { font-size: .92rem; color: var(--quiet); margin: 0 0 12px; }
.crumbs a { color: var(--blue-dark); }
.prose .box { margin: 28px 0; }
.prose .box h2 { margin-top: 0; }
.prose .table-wrap { margin: 20px 0; }
.prose small { color: var(--quiet); }

/* Why not Data Merge: colour accent block on the PageFill column */
table.vs thead th:nth-child(3) { background: var(--blue-dark); color: #fff; }
table.vs td:nth-child(3) { background: #eaf6fd; border-left: 4px solid var(--blue); }
table.vs td.yes::before { color: var(--blue-deep); }

/* Pro ticks sit on yellow, Standard ticks on blue */
.compare td:nth-child(3).tick span[aria-hidden] { background: #fff200; color: #1a1a1a; }

/* One-line intro text on wide screens */
@media (min-width: 1000px) {
  #pricing .section-head { max-width: none; }
  #pricing .section-head p { white-space: nowrap; }
  .page-head p.one-line { max-width: none; white-space: nowrap; }
}

/* Open up the big headlines a little more */
.hero h1 { line-height: 1.15; letter-spacing: -0.012em; }
.footer-cta h2 { line-height: 1.2; letter-spacing: -0.008em; }

/* Scroll to top button */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--blue-dark); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-deep); }
.to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 600px) { .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; } }

/* Headline spacing: a little air between words and under the headline */
h1, h2, h3 { word-spacing: .08em; }
h1 { letter-spacing: -0.012em; }
h2 { letter-spacing: -0.01em; line-height: 1.2; }
.section-head p { margin-top: 20px; }
.hero h1, .footer-cta h2 { word-spacing: .1em; }

/* Demo video frame: match a 16:9 recording so nothing is cropped */
.demo video { aspect-ratio: 16 / 9; }

/* Make it your own band */
.own-brand { margin-top: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--yellow); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.own-brand h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 12px; }
.own-brand p { margin-top: 12px; color: var(--ink-2); }
.own-brand .btn { margin-top: 6px; }
.own-brand .mini-panel { margin-inline: auto; }
@media (max-width: 800px) { .own-brand { grid-template-columns: 1fr; } }
.own-brand { position: relative; }
.own-brand .mini { position: static; inset: auto; padding: 0; background: transparent; display: block; }
