/* MarvelSoft GST Billing site. One stylesheet, no build. Brand blue matches the app (#2f6fed / #1a48ad). */
:root {
  --blue: #2f6fed; --blue-d: #1a48ad; --blue-50: #eef5ff; --blue-100: #d9e8ff;
  --ink: #0f1b33; --ink-2: #3b4a66; --ink-3: #64728c; --line: #e3e8f1; --bg: #ffffff; --bg-2: #f6f8fc;
  --green: #0f8a5f; --green-50: #e7f7f0; --amber: #b25e00; --amber-50: #fff4e5; --red: #c62828;
  --r: 14px; --r-sm: 9px; --shadow: 0 1px 2px rgba(15,27,51,.06), 0 8px 28px rgba(15,27,51,.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 720; }
h3 { font-size: 1.18rem; font-weight: 680; }
p { margin: 0 0 1em; }
kbd { font: 600 .78em var(--mono); background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .08em .45em; color: var(--ink-2); white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1.2 var(--font); padding: .85em 1.35em; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { border-color: #c6d1e4; color: var(--ink); background: var(--bg-2); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn--sm { font-size: .92rem; padding: .55em 1em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { width: 1.15em; height: 1.15em; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.12rem; }
.brand small { font-size: .74rem; color: var(--ink-3); letter-spacing: .02em; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light small { color: #aab8d6; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; padding: .5em .8em; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--blue-d); background: var(--blue-50); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
}

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section__head p { color: var(--ink-2); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .7em; }

/* hero */
.hero { padding: clamp(44px, 7vw, 84px) 0 clamp(48px, 7vw, 80px); background: radial-gradient(1100px 480px at 85% -10%, #e3edff 0%, rgba(227,237,255,0) 65%), linear-gradient(#fbfcff, #fff); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--ink-2); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font-size: .95rem; }
.hero__ticks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .45em; }
.hero .shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero .shot { transform: none; } }

/* screenshot frame */
.shot { margin: 0; }
.shot__frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding-top: 28px; overflow: hidden; }
.shot__dots { position: absolute; top: 9px; left: 12px; display: flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe4ee; }
.shot__frame img { border-top: 1px solid var(--line); width: 100%; }
.shot figcaption { font-size: .92rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.shot__zoom { display: block; cursor: zoom-in; }

/* paper (printed invoice) */
.paper { background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); padding: 6px; }

/* grids and cards */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card--hover { transition: border-color .15s, box-shadow .15s, transform .15s; text-decoration: none; color: inherit; display: block; }
.card--hover:hover { border-color: #c8d6f2; box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-d); margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .97rem; }

/* feature rows (text + screenshot) */
.row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.row + .row { margin-top: clamp(56px, 8vw, 96px); }
.row--flip > :first-child { order: 2; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row--flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f8a5f'%3E%3Cpath d='M8.1 13.6 4.8 10.3l1.3-1.3 2 2 5.8-5.8 1.3 1.3z'/%3E%3C/svg%3E") center/15px no-repeat; }

/* stats band */
.band { background: linear-gradient(120deg, var(--blue-d), var(--blue)); color: #fff; border-radius: 20px; padding: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.band span { color: #d6e3ff; font-size: .95rem; }
@media (max-width: 760px) { .band { grid-template-columns: repeat(2, 1fr); padding: 24px; } .band strong { font-size: 1.3rem; } }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.price--main { border: 2px solid var(--blue); box-shadow: 0 12px 40px rgba(47,111,237,.16); }
.price__tag { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 99px; }
.price__tag--soon { background: var(--amber-50); color: var(--amber); border: 1px solid #f3d3a6; }
.price h3 { font-size: 1.35rem; margin-bottom: .2em; }
.price__for { color: var(--ink-3); font-size: .97rem; margin-bottom: 18px; }
.price__amt { font-size: 2.6rem; font-weight: 780; letter-spacing: -.02em; line-height: 1; }
.price__amt small { font-size: 1rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.price__gst { color: var(--ink-3); font-size: .93rem; margin: 8px 0 4px; }
.price__renew { font-size: .95rem; color: var(--ink-2); background: var(--bg-2); border-radius: 8px; padding: 8px 12px; margin: 14px 0 6px; }
.price .ticks { flex: 1; margin-bottom: 22px; }
.price--soon { opacity: .92; }

/* forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .86rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7em .85em; border: 1px solid #cdd6e6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-100); border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field--2 { grid-template-columns: 1fr; } }
.status { min-height: 1.5em; margin: 12px 0 0; font-size: .95rem; }
.status--err { color: var(--red); }
.status--ok { color: var(--green); }
.fineprint { font-size: .85rem; color: var(--ink-3); margin: 14px 0 0; }
.summary { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0; }
.summary div { display: flex; justify-content: space-between; padding: 10px 14px; font-size: .97rem; }
.summary div + div { border-top: 1px solid var(--line); }
.summary .total { background: var(--blue-50); font-weight: 750; font-size: 1.08rem; }
.note { border-radius: 12px; padding: 14px 16px; font-size: .96rem; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-2); }
.note--ok { background: var(--green-50); border-color: #bfe8d6; }
.note--warn { background: var(--amber-50); border-color: #f3d3a6; }

/* page hero (inner pages) */
.phero { padding: 52px 0 36px; background: linear-gradient(#f4f8ff, #fff); border-bottom: 1px solid var(--line); }
.phero p { color: var(--ink-2); font-size: 1.12rem; max-width: 46em; }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bfd3; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }

/* licence key display */
.keybox { font: 700 clamp(1.1rem, 3vw, 1.55rem) var(--mono); letter-spacing: .04em; background: var(--bg-2); border: 2px dashed #b8c8ea; border-radius: 12px; padding: 18px; text-align: center; word-break: break-all; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps > li strong { display: block; margin-bottom: 2px; }
.steps > li p { color: var(--ink-2); margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 640; padding: 16px 48px 16px 18px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--ink-2); }

/* tutorials */
.tut { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.tut__nav { position: sticky; top: 90px; font-size: .95rem; }
.tut__nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.tut__nav a:hover, .tut__nav a[aria-current] { background: var(--blue-50); color: var(--blue-d); }
.tut__body { max-width: 860px; min-width: 0; }
.tut__body h2 { margin-top: 1.6em; font-size: 1.5rem; }
.tut__body h2:first-child { margin-top: 0; }
.tut__body .shot { margin: 20px 0 28px; }
.tut__body ol, .tut__body ul { padding-left: 1.3em; }
.tut__body li { margin-bottom: .45em; }
.tut__pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .tut { grid-template-columns: 1fr; } .tut__nav { position: static; display: none; } }
.tutcard__num { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.tutcard img { border-radius: 10px; border: 1px solid var(--line); margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; object-position: top left; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-2); font-weight: 650; }
.table tr:last-child td { border-bottom: 0; }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* CTA band */
.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 .3em; }
.cta p { color: #b9c5dd; margin: 0; }
.cta .btn:not(.btn--primary) { background: transparent; color: #fff; border-color: #3d4b69; }
.cta .btn:not(.btn--primary):hover { background: #1c2a47; }

/* footer */
.foot { background: #0b1428; color: #c3cde2; margin-top: 0; padding: 56px 0 0; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot a:not(.brand) { display: block; color: #c3cde2; text-decoration: none; margin-bottom: 7px; }
.foot a:not(.brand):hover { color: #fff; }
.foot__about { margin-top: 14px; max-width: 30em; color: #96a3bf; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border-top: 1px solid #1d2943; margin-top: 40px; padding: 22px 0 30px; color: #7f8cab; font-size: .88rem; }
.foot__ms img { background: #fff; border-radius: 6px; padding: 4px 8px; height: 34px; width: auto; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,14,30,.86); display: grid; place-items: center; z-index: 100; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* Photos of people (assets/img/people). */
.card--photo { overflow: hidden; }
.card__photo { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.phero--photo .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.phero__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.cta--photo { flex-wrap: nowrap; }
.cta__photo { flex: 0 0 auto; width: 170px; height: 170px; object-fit: cover; border-radius: 18px; }
@media (max-width: 860px) {
  .phero--photo .wrap { grid-template-columns: 1fr; gap: 22px; }
  .phero__photo { aspect-ratio: 16 / 9; max-height: 190px; }
  .cta--photo { flex-wrap: wrap; }
  .cta__photo { width: 100%; height: 200px; }
}
