/* ==========================================================================
   Dioclei — Accounting firm landing page
   Scoped to .acc-landing. Does not affect the rest of Twenty Nineteen.
   ========================================================================== */

.acc-landing {
  --white: #ffffff;
  --mist: #f4f6fa;
  --mist-deep: #e8ecf4;
  --ink: #0f1521;
  --ink-2: #2b3444;
  --slate: #5c6779;
  --indigo: #4338ca;
  --indigo-lift: #5b50e0;
  --indigo-soft: #eeecfd;
  --indigo-deep: #1e1a5e;
  --edge: #dfe4ee;
  --edge-dark: rgba(255, 255, 255, 0.14);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 18px 40px -20px rgba(15, 21, 33, .22);
  --shadow-lg: 0 34px 70px -28px rgba(15, 21, 33, .34);

  --wrap: 1200px;
  --gutter: 26px;

  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.acc-landing img { max-width: 100%; height: auto; display: block; }
.acc-landing p { margin: 0; }

.acc-landing h1,
.acc-landing h2,
.acc-landing h3,
.acc-landing h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--ink);
}

.acc-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.acc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.acc-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
}

/* ---------- Buttons ---------- */
.acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.acc-btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(67, 56, 202, .8);
}
.acc-btn--primary:hover { background: var(--indigo-lift); color: #fff; }
.acc-btn--soft { background: var(--mist); color: var(--ink); border-color: var(--edge); }
.acc-btn--soft:hover { background: var(--mist-deep); color: var(--ink); }
.acc-btn--white { background: #fff; color: var(--indigo-deep); }
.acc-btn--white:hover { background: var(--mist); color: var(--indigo-deep); }
.acc-btn--outline-light { border-color: var(--edge-dark); color: #fff; }
.acc-btn--outline-light:hover { border-color: #fff; color: #fff; }
.acc-btn--sm { padding: 11px 19px; font-size: 14px; }

/* ---------- Announcement bar ---------- */
.acc-bar {
  background: var(--indigo-deep);
  color: rgba(255,255,255,.9);
  font-size: 13.5px;
  text-align: center;
  padding: 11px 20px;
}
.acc-bar strong { color: #fff; font-weight: 600; }
.acc-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.acc-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 50;
}
.acc-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  height: 76px;
}
.acc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.acc-logo__mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--indigo) 0%, var(--indigo-lift) 100%);
  display: grid; place-items: center; color: #fff;
}
.acc-logo__text {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.acc-mainnav { display: flex; justify-content: center; gap: 30px; }
.acc-mainnav a {
  font-size: 15px; font-weight: 500; color: var(--slate);
  text-decoration: none; transition: color .15s ease;
}
.acc-mainnav a:hover { color: var(--ink); }
.acc-header__cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero (centered) ---------- */
.acc-hero {
  position: relative;
  text-align: center;
  padding: 92px 0 0;
  background:
    radial-gradient(ellipse 60% 52% at 50% 0%, var(--indigo-soft) 0%, transparent 70%),
    var(--white);
  overflow: hidden;
}
.acc-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  max-width: 15ch;
  margin: 26px auto 0;
}
.acc-hero h1 span { color: var(--indigo); }
.acc-hero__lede {
  font-size: 19.5px;
  color: var(--slate);
  max-width: 60ch;
  margin: 26px auto 0;
}
.acc-hero__actions {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin-top: 34px;
}
.acc-hero__micro {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--slate);
}

/* Metric panel bridging hero + next section */
.acc-panel {
  position: relative;
  margin-top: 62px;
  background: var(--ink);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}
.acc-metric__value {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.acc-metric__label {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.62);
}
.acc-metric + .acc-metric { border-left: 1px solid var(--edge-dark); padding-left: 30px; }

/* ---------- Client strip ---------- */
.acc-strip {
  background: var(--mist);
  border-bottom: 1px solid var(--edge);
  padding: 34px 0;
}
.acc-strip__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 22px;
}
.acc-strip__items {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 12px; list-style: none; margin: 0; padding: 0;
}
.acc-strip__items li {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

/* ---------- Section shell ---------- */
.acc-section { padding: 104px 0; }
.acc-section--mist { background: var(--mist); }
.acc-section--ink { background: var(--ink); color: rgba(255,255,255,.72); }
.acc-section--ink h2, .acc-section--ink h3 { color: #fff; }

.acc-head { max-width: 760px; margin-bottom: 62px; }
.acc-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.acc-head h2 {
  font-size: clamp(2.05rem, 3.9vw, 3.1rem);
  margin: 20px 0 18px;
}
.acc-head p { font-size: 18.5px; color: var(--slate); }
.acc-section--ink .acc-head p { color: rgba(255,255,255,.66); }

/* ---------- Services: alternating rows ---------- */
.acc-rows { display: grid; gap: 26px; }
.acc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 46px;
}
.acc-row:nth-child(even) .acc-row__body { order: 2; }
.acc-row__num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--indigo);
  margin-bottom: 14px;
}
.acc-row h3 { font-size: 27px; margin-bottom: 14px; }
.acc-row p { color: var(--slate); font-size: 16.5px; }
.acc-row__list {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; gap: 11px;
}
.acc-row__list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-2);
}
.acc-row__list svg { flex: none; margin-top: 4px; color: var(--indigo); }

.acc-row__visual {
  background: linear-gradient(150deg, var(--indigo-soft) 0%, var(--mist) 100%);
  border-radius: var(--r-md);
  padding: 32px;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 240px;
}
.acc-line {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  box-shadow: 0 4px 12px -8px rgba(15,21,33,.3);
}
.acc-line span:last-child { font-weight: 600; color: var(--indigo); font-variant-numeric: tabular-nums; }
.acc-line--muted { opacity: .6; }

/* ---------- Industries ---------- */
.acc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.acc-tile {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.acc-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.acc-tile__icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--indigo-soft); color: var(--indigo);
  display: grid; place-items: center; margin-bottom: 18px;
}
.acc-tile h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.02em; }
.acc-tile p { font-size: 14.5px; color: var(--slate); line-height: 1.5; }

/* ---------- Pricing ---------- */
.acc-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.acc-plan {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.acc-plan--featured {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.acc-plan__tag {
  position: absolute; top: -13px; left: 32px;
  background: var(--indigo); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.acc-plan h3 { font-size: 20px; margin-bottom: 6px; }
.acc-plan__for { font-size: 14.5px; color: var(--slate); }
.acc-plan__price {
  margin: 24px 0 4px;
  font-family: var(--display);
  font-size: 44px; font-weight: 700; letter-spacing: -0.045em;
  color: var(--ink); line-height: 1;
}
.acc-plan__price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.acc-plan__note { font-size: 13.5px; color: var(--slate); margin-bottom: 26px; }
.acc-plan ul {
  list-style: none; margin: 0 0 30px; padding: 26px 0 0;
  border-top: 1px solid var(--edge);
  display: grid; gap: 12px; flex: 1;
}
.acc-plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.acc-plan li svg { flex: none; margin-top: 4px; color: var(--indigo); }
.acc-plan .acc-btn { width: 100%; }

/* ---------- Team / assurance band ---------- */
.acc-assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.acc-assure__item { border-top: 2px solid var(--indigo); padding-top: 24px; }
.acc-assure h3 { font-size: 21px; margin-bottom: 10px; }
.acc-assure p { color: rgba(255,255,255,.66); font-size: 15.5px; }

/* ---------- FAQ (two columns, no accordion) ---------- */
.acc-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.acc-faq__q { font-size: 19px; margin-bottom: 10px; }
.acc-faq__a { color: var(--slate); font-size: 16px; }

/* ---------- CTA split ---------- */
.acc-cta { padding: 0 0 104px; }
.acc-cta__box {
  background: linear-gradient(135deg, var(--indigo-deep) 0%, var(--indigo) 100%);
  border-radius: var(--r-lg);
  padding: 62px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 54px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.acc-cta__box::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  right: -120px; bottom: -200px;
  pointer-events: none;
}
.acc-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.acc-cta p { color: rgba(255,255,255,.78); font-size: 17.5px; max-width: 46ch; }
.acc-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.acc-contact {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md);
  padding: 30px;
  display: grid;
  gap: 20px;
}
.acc-contact__row { display: flex; gap: 14px; align-items: flex-start; }
.acc-contact__row svg { flex: none; margin-top: 3px; color: rgba(255,255,255,.7); }
.acc-contact__row span {
  display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 3px;
}
.acc-contact__row a, .acc-contact__row strong { color: #fff; font-size: 15.5px; font-weight: 600; text-decoration: none; }
.acc-contact__row a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.acc-footer {
  background: var(--mist);
  border-top: 1px solid var(--edge);
  padding: 58px 0 34px;
  font-size: 15px;
  color: var(--slate);
}
.acc-footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--edge);
}
.acc-footer h4 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px; font-weight: 600;
}
.acc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-footer a { color: var(--slate); text-decoration: none; }
.acc-footer a:hover { color: var(--indigo); }
.acc-footer__blurb { max-width: 34ch; margin-top: 16px; font-size: 14.5px; }
.acc-footer__base {
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 13.5px;
}
.acc-footer__legal {
  margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: #7b8598; max-width: 96ch;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .acc-panel { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .acc-metric + .acc-metric { border-left: 0; padding-left: 0; }
  .acc-row { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
  .acc-row:nth-child(even) .acc-row__body { order: 0; }
  .acc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .acc-plans { grid-template-columns: 1fr; }
  .acc-assure { grid-template-columns: 1fr; gap: 30px; }
  .acc-cta__box { grid-template-columns: 1fr; padding: 44px 34px; gap: 36px; }
  .acc-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .acc-mainnav { display: none; }
  .acc-header__inner { grid-template-columns: auto 1fr; height: 66px; }
  .acc-header__cta .acc-btn--soft { display: none; }
  .acc-section { padding: 72px 0; }
  .acc-hero { padding-top: 62px; }
  .acc-panel { grid-template-columns: 1fr; padding: 32px 26px; margin-top: 46px; }
  .acc-faq { grid-template-columns: 1fr; gap: 30px; }
  .acc-grid-4 { grid-template-columns: 1fr; }
  .acc-footer__cols { grid-template-columns: 1fr; }
  .acc-hero__actions .acc-btn, .acc-cta__actions .acc-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-landing * { transition: none !important; animation: none !important; }
}
