/* Offshore accounting multi-page site styles (lighter theme + tighter hero, mobile nav right, compact spacing) */

:root {
  --bg: #f3f4f6;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --accent: #0f9f9b;
  --accent-soft: rgba(15, 159, 155, 0.12);
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e5f3ff 0, #f9fafb 45%, #f3f4f6 100%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & nav */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0.96), rgba(249, 250, 251, 0.9), transparent);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.25rem;
  gap: 1.3rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* no wordmark text next to logo */
.logo-text {
  display: none;
}

/* Hamburger toggle (top-right on mobile/desktop) */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.15rem;
  margin-left: 0.35rem;
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* Desktop nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.12rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f9f9b, #22c55e);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile dropdown nav */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem 1.5rem 0.6rem;
  background: rgba(249, 250, 251, 0.98);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.mobile-nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

.mobile-nav a + a {
  margin-top: 0.05rem;
}

.mobile-nav.open {
  display: flex;
}

/* hide nav CTA buttons site-wide */
.nav-cta {
  display: none;
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #0f9f9b, #3b82f6, #22c55e);
  color: #f9fafb;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: #111827;
  background: #ffffff;
}

/* Layout */

main {
  flex: 1;
  padding-bottom: 3.1rem;
}

section {
  padding: 2.4rem 0;
}

/* Hero */

.hero {
  padding-top: 1.9rem;
  padding-bottom: 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 2vw + 1.1rem, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #0f9f9b, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Shared section styles */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.26rem;
  font-weight: 550;
  color: #111827;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Cards / panels */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  border-radius: 16px;
  padding: 1.1rem 1rem;
  background: linear-gradient(145deg, #ffffff, #f9fafb);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  font-size: 0.93rem;
  margin-bottom: 0.25rem;
  color: #111827;
}

.card p {
  font-size: 0.84rem;
  color: var(--muted);
}

.card-list {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
}

/* Larger bullets specifically on home "Why work with us" */
#why .card-list {
  font-size: 0.94rem;
  line-height: 1.65;
}

.card-list li {
  display: flex;
  gap: 0.32rem;
  align-items: flex-start;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f9f9b, #3b82f6);
  margin-top: 0.35rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.4rem;
  align-items: flex-start;
}

.panel {
  border-radius: 16px;
  padding: 1.15rem 1.05rem;
  background: linear-gradient(145deg, #ffffff, #f3f4ff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.86rem;
  color: var(--muted);
}

.panel h3 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: #111827;
}

.panel-strong {
  color: #111827;
}

.panel-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.panel-list li {
  display: flex;
  gap: 0.32rem;
  align-items: flex-start;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.price-card {
  border-radius: 16px;
  padding: 1.15rem 1.05rem;
  background: linear-gradient(145deg, #ffffff, #ecfeff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.price-role {
  font-size: 0.98rem;
  font-weight: 550;
  color: #111827;
}

.price-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.price-cta {
  margin-top: 0.5rem;
}

.comparison {
  margin-top: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.comparison strong {
  color: #111827;
}

/* FAQ */

.faq-list {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
}

details {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

details:last-child {
  border-bottom: none;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #111827;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-size: 0.9rem;
}

.faq-answer {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

form {
  display: grid;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.field {
  display: grid;
  gap: 0.2rem;
}

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

input,
textarea,
select {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.8rem;
  background: #ffffff;
  color: #111827;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

textarea {
  border-radius: 16px;
  min-height: 100px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
  background: #ffffff;
}

.contact-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.15rem 1.05rem;
  background: linear-gradient(145deg, #ffffff, #ecfeff);
  font-size: 0.86rem;
  color: var(--muted);
  box-shadow: var(--shadow-subtle);
}

.contact-card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.4rem;
  color: #111827;
}

.contact-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.3rem;
}

.contact-list span {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

/* Footer */

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.1rem 0;
  font-size: 0.78rem;
  color: var(--muted);
  background: #ffffff;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 1.7rem;
  }

  section {
    padding: 2.1rem 0;
  }

  .card-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  header {
    background: #ffffff;
  }

  .nav {
    padding-inline: 0;
  }
}
