/* Tryzee IT Services — tryzee.nz
   NZ small-business: trustworthy, clean, accessible contrast.
   Palette: deep teal navy + warm sand accents (not crypto/startup-bro). */

:root {
  --ink: #0f1c24;
  --ink-soft: #2a3d4a;
  --muted: #5a6f7c;
  --paper: #f7f5f1;
  --white: #ffffff;
  --teal: #0d5c63;
  --teal-dark: #08464b;
  --teal-light: #e6f2f3;
  --sand: #c4a574;
  --sand-soft: #f0e8da;
  --border: #d9e0e4;
  --success: #1a6b4a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 28, 36, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 28, 36, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --focus: 0 0 0 3px rgba(13, 92, 99, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover { color: var(--teal-dark); }
a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: -0.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--teal); }
.nav .btn { margin-left: 0.25rem; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--paper);
}
.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}
.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    linear-gradient(165deg, var(--teal-light) 0%, var(--paper) 55%, var(--sand-soft) 100%);
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 750;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-contact {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-contact a { font-weight: 500; }

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.6rem;
}
.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--teal);
}
.hero-card .price-band {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-card .price-band span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
}
.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-card li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
}
.hero-card li:first-child { border-top: none; }
.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* —— Sections —— */
section {
  padding: 3.5rem 0;
}
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.section-lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 38em;
  font-size: 1.05rem;
}

.bg-white { background: var(--white); }
.bg-teal-soft { background: var(--teal-light); }
.bg-sand { background: var(--sand-soft); }

/* —— Problem —— */
.problem-list {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
}
.problem-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.problem-list li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.problem-closer {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 36em;
}

/* —— Steps —— */
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.steps p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink-soft);
}

/* —— Included —— */
.included-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .included-grid { grid-template-columns: 1fr 1fr; }
}
.included-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.included-grid .tick {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.included-grid .highlight {
  background: var(--teal-light);
  border-color: #b8d4d7;
  font-weight: 600;
}

/* —— Pricing —— */
.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}
table.pricing {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}
table.pricing th,
table.pricing td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.pricing th {
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
table.pricing tr:last-child td { border-bottom: none; }
table.pricing td:first-child { font-weight: 600; color: var(--ink); }
table.pricing .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
}
.pricing-note {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
  max-width: 42em;
}

.offer-a-callout {
  background: var(--sand-soft);
  border: 1px solid #e0d0b4;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.offer-a-callout h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--ink);
}
.offer-a-callout p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}
.offer-a-callout p:last-child { margin-bottom: 0; }
.offer-a-callout .bundle {
  font-weight: 600;
  color: var(--ink);
}

/* —— Trust —— */
.trust-panel {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .trust-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.pitch-quote {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}
.badge strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--teal);
  font-size: 0.9rem;
}
.badge span {
  font-size: 0.925rem;
  color: var(--ink-soft);
}

/* —— Testimonials placeholders —— */
.quotes {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
}
.quotes li {
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.quotes blockquote {
  margin: 0 0 0.75rem;
  font-style: italic;
}
.quotes cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
}
.quotes-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}
details.faq {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow);
}
details.faq summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal);
  flex-shrink: 0;
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body {
  padding: 0 1.2rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}
details.faq .faq-body p { margin: 0; }
details.faq summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}

/* —— Book / CTA —— */
.book-section {
  padding: 3.75rem 0 4rem;
  background:
    linear-gradient(180deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--white);
}
.book-section .section-title { color: var(--white); }
.book-section .section-lead {
  color: rgba(255, 255, 255, 0.88);
}
.book-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .book-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.book-aside p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.book-aside .contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.book-aside .contact-row a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.book-aside .contact-row a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.book-aside .contact-row a:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.book-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-lg);
}
.book-form h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.book-form .form-hint {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 520px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--focus);
  background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-footer {
  margin-top: 0.5rem;
}
.form-alt {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}
.site-footer a:hover { color: var(--white); }
.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 2.5rem 0 2.25rem; }
  section { padding: 2.75rem 0; }
}


/* Booking form status + honeypot */
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-status { margin: 0.75rem 0 0; font-size: 0.95rem; }
.form-status.ok { color: #0d5c63; font-weight: 600; }
.form-status.err { color: #8b2e2e; font-weight: 600; }
