/* t.com.fj — TitanX. Plain CSS, no framework. Colours checked for WCAG AA contrast. */
:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f1f5f9;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --brand-tint: #eff6ff;
  --error: #b91c1c;
  --ok: #166534;
  --focus: #f59e0b;
  --radius: 12px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: .5rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .65rem 1.25rem; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid var(--brand); background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.logo { display: inline-flex; padding: .25rem 0; margin-right: auto; }
.logo img { width: 150px; height: auto; }
.menu-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; }
.site-nav a { display: inline-block; padding: .6rem .6rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.site-nav a:hover { background: var(--soft); color: var(--brand-dark); }
.site-nav a.btn { color: #fff; padding: .55rem 1.1rem; margin-left: .25rem; }
.site-nav a.btn:hover { background: var(--brand-dark); }

@media (max-width: 860px) {
  .site-nav { width: 100%; padding-bottom: .5rem; }
  .site-nav ul { gap: 0; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
    padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 8px;
    background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
  }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a { display: block; padding: .8rem .5rem; }
  .js .site-nav a.btn { margin: .5rem 0 0; display: flex; }
}

/* Sections */
section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }

.hero { padding: 4.5rem 0 4rem; background: linear-gradient(180deg, var(--brand-tint), #fff); }
.hero h1 { max-width: 22ch; }
.hero .lead { margin-bottom: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .98rem; }
.hero-points li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: .4rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.card li + li { margin-top: .25rem; }

.product .url { font-size: .95rem; font-weight: 600; }
.product p { margin-bottom: .75rem; }
.note { color: var(--muted); font-size: .98rem; max-width: 46rem; }

.two-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.25rem 3.25rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.steps h4 { font-size: 1.1rem; margin: 0 0 .2rem; line-height: 1.3; }
.steps p { color: var(--muted); margin: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style-position: outside; }
.faq summary h3 { display: inline; font-size: 1.05rem; margin: 0; }
.faq details p { color: var(--muted); }

/* Contact */
.contact-info dl { margin: 0 0 1.5rem; display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.contact-info dt { font-weight: 600; }
.contact-info dd { margin: 0; color: var(--muted); }
.hours { margin: 0; padding-left: 1.2rem; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .req { color: var(--error); }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #64748b; border-radius: 8px; padding: .65rem .75rem; min-height: 44px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--error); background: #fef2f2; }
.field .error { color: var(--error); font-size: .95rem; margin: .35rem 0 0; }
.field .error:empty { display: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .95rem; color: var(--muted); }
.status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 8px; font-weight: 500; }
.status:empty { display: none; }
.status.is-error { background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.status.is-ok { background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }

/* Prose (privacy page) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: .3rem; }
.page-head { padding: 3.5rem 0 1.5rem; background: linear-gradient(180deg, var(--brand-tint), #fff); }
.page-body { padding: 1rem 0 4rem; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 3rem 0 2rem; font-size: .98rem; }
.site-footer a { color: #bfdbfe; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--focus); }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .75rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .4rem; }
.footer-brand { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid #334155; margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-bottom p { margin: 0; }

@media (max-width: 480px) {
  section { padding: 3.25rem 0; }
  .wrap { padding: 0 1rem; }
  .card, .form { padding: 1.15rem; }
  .actions .btn { width: 100%; }
  .contact-info dl { grid-template-columns: 1fr; gap: 0 1rem; }
  .contact-info dd { margin-bottom: .5rem; }
}
