/* Find My Time: home page styles. Its own look, separate from Athena IT Group.
   Colors, type and spacing live in the custom properties below; use them rather than new values. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #1b232b;
  --ink-soft: #44566a;
  --muted: #56687a;
  --ground: #f2f4f6;
  --surface: #ffffff;
  --line: #d9e0e7;
  --brand: #25668f;
  --brand-deep: #173f5f;
  --on-brand: #e1edf5;
  --action: #c24a1e;
  --action-dark: #a33c16;
  --accent: #1f5a80;
  --tint: #e4eef5;
  --signal: #c24a1e;
  --highlight: #ffb98f;

  --display: "Schibsted Grotesk", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", Verdana, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(18px, 5vw, 64px);
  --max: 1180px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--highlight); color: var(--ink); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); }
:target { scroll-margin-top: var(--s6); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 700 17px/1.2 var(--body); text-decoration: none; text-align: center; transition: background-color .2s, transform .2s; }
.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-dark); }
.btn--light { background: var(--surface); color: var(--brand); }
.btn--light:hover { background: var(--tint); }
.btn:active { transform: translateY(1px); }

/* Header */
.top { background: var(--brand); color: #fff; }
.top__inner { max-width: var(--max); margin: 0 auto; padding: var(--s4) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.wordmark { font: 800 24px/1 var(--display); letter-spacing: -.02em; color: #fff; text-decoration: none; }
.wordmark--ink { color: var(--ink); }
.nav { list-style: none; padding: 0; display: flex; align-items: center; gap: var(--s5); }
.nav a { color: var(--on-brand); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover { color: #fff; }
.nav .nav__contact { color: #fff; background: var(--action); padding: 9px 18px; border-radius: 999px; }
.nav .nav__contact:hover { color: #fff; background: var(--action-dark); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: 700 15px var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }

/* Hero: headline left, booking card right */
.hero { background: var(--brand); color: var(--on-brand); }
.hero__inner { max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter) var(--s9); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr); gap: var(--s8); align-items: center; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(42px, 6.2vw, 84px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--highlight); }
.hero__lead { margin-top: var(--s5); font-size: 20px; line-height: 1.55; max-width: 34em; }
.book { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.book__title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.book__note { color: var(--ink-soft); }
.book .btn { width: 100%; margin-top: var(--s2); }
.book__alt { font-weight: 700; text-align: center; }

/* Sections */
.section { padding: var(--s9) var(--gutter) 0; }
main > .section:last-child { padding-bottom: var(--s9); }
.letter { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s4); }
.letter > h2 { margin-top: var(--s8); }
.letter > h2:first-child { margin-top: 0; }
.letter > h2 + p, .letter > h2 + div, .letter > h2 + ol { margin-top: var(--s2); }

.chip { display: inline-block; font-size: 14px; font-weight: 700; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* Sample plan, overlapping the hero */
.section--plan { padding-top: 0; }
.plan { max-width: 900px; margin: calc(-1 * var(--s8)) auto 0; position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s6) var(--s6) var(--s5); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.plan__name { font-size: clamp(26px, 3vw, 32px); }
.plan__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: var(--s5) 0; }
.plan__stats > div { background: var(--ground); border-radius: var(--radius-sm); padding: var(--s4) var(--s5); }
.plan__stats dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan__stats dd { font: 800 clamp(26px, 3vw, 34px)/1.15 var(--display); letter-spacing: -.02em; margin-top: var(--s1); }
.plan__stats .is-found { background: var(--tint); }
.plan__stats .is-found dd { color: var(--accent); }
.plan__table-wrap { overflow-x: auto; }
.plan__table { width: 100%; border-collapse: collapse; font-size: 17px; }
.plan__table th, .plan__table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan__table thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.plan__table th.num, .plan__table td.num { text-align: right; }
.plan__table tbody th { font-weight: 700; }
.plan__table td.plan__change { color: var(--ink-soft); }
.plan__more th, .plan__more td { color: var(--muted); }
.plan__more th { font-weight: 400 !important; font-style: italic; }
.plan__table tfoot th, .plan__table tfoot td { background: var(--tint); font-weight: 700; border-bottom: 0; color: var(--ink); }
.plan__table tfoot td.plan__change { color: var(--ink); }
.plan__table tfoot td:last-child { color: var(--accent); }
.plan__table tfoot th { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.plan__table tfoot td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.plan__sub { display: none; }
.plan figcaption, .plan > figcaption { margin-top: var(--s4); font-size: 15px; color: var(--muted); }

/* Lists */
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.ticks--no li::before { width: 11px; height: 0; top: .8em; border-left: 0; border-bottom: 2.5px solid var(--muted); transform: none; }

/* The bar chart */
.bar { max-width: var(--max); margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: var(--s7) var(--s7) var(--s6); }
.bar__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.bar__chart { margin-top: var(--s4); }
.bar__inner { position: relative; padding-top: 68px; }
.bar__track { display: flex; height: 96px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ground); }
.bar__seg { flex: 0 0 var(--w); min-width: 0; background: var(--brand-deep); color: #fff; padding: 12px 12px 10px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset -2px 0 0 var(--surface); overflow: hidden; white-space: nowrap; }
.bar__seg b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.bar__seg small { font-size: 13px; color: var(--on-brand); }
.bar__seg--alt { background: var(--brand); }
.bar__line { position: absolute; left: var(--at); top: 52px; bottom: 14px; width: 4px; margin-left: -2px; background: var(--signal); border-radius: 2px; z-index: 1; }
.bar__line span { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -8px); background: var(--signal); color: #fff; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.bar__ticks { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-top: var(--s2); }
.bar__facts { display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); margin-top: var(--s6); color: var(--ink-soft); }
.bar__facts b { display: block; font: 800 22px/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }

/* Deal callout */
.callout { background: var(--tint); border-radius: var(--radius); padding: var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.callout h3 { font-size: 23px; font-weight: 800; color: var(--accent); }

/* Worth table */
.table-wrap { overflow-x: auto; }
.worth { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.worth th, .worth td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.worth th.num, .worth td.num { text-align: right; }
.worth thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.worth tr:last-child td { border-bottom: 0; }
.worth .is-key td { background: var(--tint); font-weight: 700; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-deep); color: #fff; font: 800 17px/36px var(--display); text-align: center; }
.steps p { color: var(--ink-soft); margin-top: var(--s1); }
.optional { font-weight: 400; color: var(--muted); }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.fit > div { background: var(--surface); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) 40px var(--s4) 0; position: relative; font: 600 20px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 var(--s4); color: var(--ink-soft); }

/* Two ways to start */
.choices { max-width: var(--max); margin: 0 auto; background: var(--brand-deep); color: var(--on-brand); border-radius: var(--radius); padding: var(--s7); }
.choices h2 { color: #fff; }
.choices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); margin-top: var(--s5); }
.choices__grid > div { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.choices h3 { color: #fff; font-size: 24px; }
.choices .btn { margin-top: auto; }

.ps { background: var(--surface); border-radius: var(--radius); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); }
.foot__inner { max-width: var(--max); margin: 0 auto; padding: var(--s7) var(--gutter); display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; font-size: 16px; color: var(--muted); }
.foot__inner > div { display: flex; flex-direction: column; gap: var(--s2); }
.foot__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: flex-start; }

/* Mobile sticky call button */
.sticky { display: none; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s7); }
  .book { max-width: 520px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; z-index: 10; flex-direction: column; align-items: flex-start; gap: var(--s4); background: var(--brand-deep); padding: var(--s5) var(--gutter); }
  .top { position: relative; }
  .top.is-open .nav { display: flex; }
  .hero__lead { font-size: 18px; }
  .book { padding: var(--s5); }
  .plan { padding: var(--s5) var(--s4) var(--s4); margin-top: calc(-1 * var(--s7)); }
  .plan__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
  .plan__stats > div { padding: var(--s3); }
  .plan__stats dt { font-size: 11px; }
  .plan__stats dd { font-size: 20px; }
  .plan__change { display: none; }
  .plan__sub { display: block; font-weight: 400; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 2px; }
  .plan__table { font-size: 15px; }
  .plan__table th, .plan__table td { padding: 11px 6px; }
  .plan__table thead th:nth-child(3), .plan__table td:nth-child(3) { display: none; }
  .bar { padding: var(--s5) var(--s4); }
  .bar__chart { overflow-x: auto; margin-inline: calc(-1 * var(--s4)); padding: 0 var(--s4) var(--s2); }
  .bar__inner { width: 760px; }
  .bar__facts { gap: var(--s4) var(--s5); }
  .fit, .choices__grid { grid-template-columns: 1fr; gap: var(--s5); }
  .choices { padding: var(--s6) var(--s5); }
  .section { padding-top: var(--s8); }
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .sticky .btn { width: 100%; }
  body { padding-bottom: 84px; }
}
.bar__seg--alt small { color: #fff; }

/* Example picker: one button per made-up business, shared by the table and the chart */
.plan__title { font-size: clamp(28px, 3.4vw, 40px); }
.picker { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 var(--s5); }
.picker button { font: 700 16px/1.2 var(--body); color: var(--brand-deep); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.picker button:hover { border-color: var(--brand); }
.picker button[aria-pressed="true"] { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.plan__head { padding: var(--s5) 0 0; border-top: 1px solid var(--line); border-bottom: 0; }
.plan__name { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.bar .picker { margin-bottom: 0; }
@media (max-width: 760px) {
  .picker button { font-size: 15px; padding: 9px 14px; }
}

/* QR in the booking card: desktop only, for people who'd rather carry on from their phone. Encodes ?src=site-qr. */
.book__qr { display: none; }
@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  .book__qr { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
  .book__qr img { width: 84px; height: 84px; flex: none; }
  .book__qr p { font-size: 15px; line-height: 1.45; color: var(--muted); }
}
