/* Anekam Sites — styles for the homepage, industry pages and 404 */
:root {
  --ink: #142033;
  --ink-2: #3D4A5E;
  --muted: #5B6678;
  --line: #D5DAE1;
  --stone: #F3F4F7;
  --chip: #EEF0F3;
  --blue: #2747D6;
  --blue-dk: #1A33A8;
  --gold: #FFB020;
  --navy-hi: #1E2C47;
  --navy-line: #2C3A52;
  --navy-text: #B7C1D3;
  --wrap: 1240px;
  --pad: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, blockquote { margin: 0; }
img, svg { display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dk); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button, input, select, textarea { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.te { font-family: 'Hind Guntur', sans-serif; font-weight: 600; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, color .15s;
}
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dk); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0B1424; color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--chip); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #F0A10E; color: var(--ink); }
.btn--ghost { border-color: var(--navy-line); color: #fff; }
.btn--ghost:hover { background: var(--navy-hi); color: #fff; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn svg { flex-shrink: 0; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
/* Lockup from the Anekam brand system: wordmark + product name in Outfit Light,
   sharing the wordmark's baseline. */
.logo { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; color: var(--ink); }
.logo img { display: block; height: 24px; width: auto; }
.logo b { font-family: Outfit, 'Schibsted Grotesk', sans-serif; font-weight: 300; font-size: 25px; letter-spacing: -0.01em; color: var(--blue); line-height: 1; }
.nav { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--blue); }

/* Section titles */
.h2 { font-size: clamp(34px, 4.2vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: 17px; color: var(--ink-2); }
.section { padding-top: 104px; padding-bottom: 104px; }
.section--tight-top { padding-top: 0; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.split-head .lead { max-width: 440px; }

/* Hero */
.hero { display: flex; gap: 40px 64px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { flex: 1 1 600px; max-width: 800px; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.0; font-weight: 700; letter-spacing: -0.04em; }
.hero__side { flex: 0 1 390px; display: flex; flex-direction: column; gap: 20px; }
.hero__side > p:first-child { font-size: 19px; color: var(--ink-2); }
.hero__note { font-size: 16px; color: var(--ink-2); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.langs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.langs > span:first-child { color: var(--muted); margin-right: 4px; }
.pill { padding: 5px 12px; border-radius: 999px; background: var(--chip); font-weight: 600; }

/* Samples */
.samples { padding-top: 32px; padding-bottom: 104px; }
.samples__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.samples__bar p { font-size: 16px; color: var(--muted); }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--chip); }
.toggle button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(20,32,51,.12); }
.samples__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.sample { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.sample:nth-child(even) { margin-top: 40px; }
.sample:hover { color: var(--ink); }
.sample:hover .frame { transform: translateY(-4px); }
.sample__label { display: flex; justify-content: space-between; gap: 8px; }
.sample__label b { font-weight: 600; }
.sample__label span { color: var(--muted); font-size: 16px; }
.frame { width: 100%; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 50px -32px rgba(20,32,51,.45); transition: transform .2s; }
@media (prefers-reduced-motion: reduce) { .frame { transition: none; } .sample:hover .frame { transform: none; } }
.frame__bar { height: 26px; background: var(--chip); display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: #C5CBD4; }
.frame__body { height: 330px; position: relative; display: flex; flex-direction: column; }
.samples[data-view="phone"] .frame { max-width: 250px; border: 8px solid var(--ink); border-radius: 34px; }
.samples[data-view="phone"] .frame__bar { display: none; }
.samples[data-view="phone"] .frame__body { height: 470px; }
.samples__note { margin-top: 36px; font-size: 16px; color: var(--muted); max-width: 820px; }

/* Mini previews of each demo */
.m-clinic { background: #FCFCFA; padding: 18px; gap: 14px; font-family: Outfit, sans-serif; color: #1D2B3A; }
.m-clinic small { font-size: 12px; font-weight: 600; }
.m-clinic strong { font-size: 26px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.m-clinic__card { margin-top: auto; background: #fff; border: 1.5px solid #1D2B3A; border-radius: 10px; box-shadow: 6px 6px 0 #F7DCD8; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.m-clinic__days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.m-clinic__days i { height: 24px; border-radius: 5px; border: 1px solid #DCE3EC; }
.m-clinic__days i.on { background: #1D2B3A; border-color: #1D2B3A; }
.m-clinic__btn { height: 26px; border-radius: 6px; background: #2F6BDB; }
.m-food { background: #C8102E; padding: 18px; gap: 8px; color: #fff; }
.m-food strong { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 62px; line-height: .86; }
.m-food .te { font-size: 15px; color: #F4B400; }
.m-food__sticker { position: absolute; right: 16px; top: 150px; width: 72px; height: 72px; border-radius: 50%; background: #F4B400; color: #3B2A00; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-10deg); line-height: 1.1; padding: 6px; }
.m-food__leaf { margin: auto -18px -18px; height: 92px; background: #1F6B3A; display: flex; align-items: center; justify-content: center; }
.m-food__leaf i { width: 66px; height: 66px; border-radius: 50%; background: #3E9B5F; border: 4px solid #2F8450; }
.m-salon { background: #fff; padding: 14px 16px; color: #4A0E2B; }
.m-salon strong { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 104px; line-height: .85; letter-spacing: -0.07em; margin-top: 18px; }
.m-salon__sw { margin-top: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.m-salon__sw i { height: 110px; border-radius: 30px 30px 4px 4px; }
.m-tuition { background: #FFFEF8; margin-left: 14px; padding: 18px 16px 16px 30px; border-left: 2px solid #E04848; gap: 10px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 21px, #D3E3F4 21px, #D3E3F4 22px); }
.m-tuition strong { font-family: 'Atkinson Hyperlegible', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.1; color: #1F3A93; }
.m-tuition em { font-family: Kalam, cursive; font-style: normal; color: #E04848; font-size: 16px; transform: rotate(-4deg); align-self: flex-start; }
.m-tuition__tt { margin-top: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1.5px solid #2D3340; }
.m-tuition__tt i { height: 26px; }

/* Industries */
.rows-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.ind { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ind:hover { color: var(--blue); }
.ind span { display: flex; flex-direction: column; gap: 2px; }
.ind b { font-size: 20px; font-weight: 600; }
.ind small { font-size: 15px; color: var(--muted); }
.callout { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 24px 28px; border-radius: 12px; border: 1.5px solid var(--ink); }
.callout div { max-width: 720px; display: flex; flex-direction: column; gap: 4px; }
.callout h3 { font-size: 21px; font-weight: 600; }
.callout p { font-size: 16px; color: var(--ink-2); }

/* Features */
.band { background: var(--stone); }
.side-list { display: flex; gap: 48px 80px; flex-wrap: wrap; }
.side-list > .h2, .side-list > .side-list__head { flex: 1 1 320px; }
.side-list__head { display: flex; flex-direction: column; gap: 14px; }
.side-list__head .lead { max-width: 340px; }
.side-list__body { flex: 2 1 620px; min-width: 0; }
.feat { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.feat h3 { font-size: 19px; font-weight: 600; }
.feat p { font-size: 16px; color: var(--ink-2); }

/* Process */
.timeline { position: relative; list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.timeline .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.timeline li:last-child .dot { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.timeline .day { font-weight: 700; color: var(--blue); font-size: 16px; margin-top: 8px; }
.timeline h3 { font-size: 22px; font-weight: 600; }
.timeline p { font-size: 16px; color: var(--ink-2); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review { padding: 28px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { font-size: 19px; color: var(--ink-2); }
.review figcaption { margin-top: auto; font-size: 15px; }
.review figcaption b { display: block; color: var(--ink); }
.review figcaption span { color: var(--muted); }
.stars { display: flex; gap: 3px; }

/* Pricing */
.pricing { background: var(--ink); color: #fff; }
.pricing .lead { color: var(--navy-text); }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; }
.ptable th, .ptable td { text-align: left; vertical-align: middle; }
.ptable thead th { padding: 22px 20px; vertical-align: top; border-top: 3px solid var(--navy-line); border-radius: 12px 12px 0 0; font-weight: 400; }
.ptable thead th:first-child { border-top: 0; }
.ptable thead h3 { font-size: 24px; font-weight: 700; }
.ptable .who { display: block; font-size: 15px; color: var(--navy-text); }
.ptable .price { display: block; font-size: 38px; font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; }
.ptable .care { display: block; font-size: 15px; color: var(--navy-text); }
.ptable tbody th { padding: 15px 16px 15px 0; border-top: 1px solid var(--navy-line); font-size: 16px; font-weight: 400; color: #D8DEE9; width: 34%; }
.ptable tbody td { padding: 15px 20px; border-top: 1px solid var(--navy-line); font-size: 16px; }
.ptable tfoot td { padding: 20px; border-radius: 0 0 12px 12px; }
.ptable .hi { background: var(--navy-hi); }
.ptable thead th.hi { border-top-color: var(--gold); }
.ptable .no { color: #8A95A8; }
.ptable .yes { color: var(--gold); font-weight: 700; font-size: 19px; }
.ptable tfoot .btn { width: 100%; padding: 0 12px; white-space: nowrap; font-size: 16px; }
.pricing__note { margin-top: 28px; color: var(--navy-text); font-size: 16px; max-width: 760px; }
.offer { margin-top: 28px; display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: 12px; background: var(--gold); color: var(--ink); }
.offer p { font-size: 19px; font-weight: 600; max-width: 760px; }

/* Add-ons */
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.addon span { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.addon b { font-size: 19px; font-weight: 600; }
.addon small { font-size: 15px; color: var(--muted); }
.addon strong { font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }

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

/* Contact */
.contact { background: var(--blue); color: #fff; }
.contact .wrap { display: flex; gap: 48px 80px; flex-wrap: wrap; align-items: flex-start; padding-top: 96px; padding-bottom: 96px; }
.contact__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.contact__text h2 { font-size: clamp(40px, 5vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.contact__text p { font-size: 19px; color: #DCE3FF; max-width: 440px; }
.contact__text .btn { align-self: flex-start; }
.contact__text a.mail { color: #fff; font-size: 17px; }
.form { flex: 1 1 420px; background: #fff; color: var(--ink); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid #C5CBD4; border-radius: 8px; padding: 10px 14px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(39,71,214,.2); }
.form .btn { min-height: 54px; border: 0; }
.form__hint { font-size: 14px; color: var(--muted); }
.form__error { font-size: 15px; color: #B42318; }

/* Footer */
.site-footer { background: var(--ink); color: var(--navy-text); font-size: 15px; }
.site-footer .wrap { display: flex; gap: 20px 40px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.site-footer .logo img { height: 21px; }
.site-footer .logo b { font-size: 22px; color: var(--gold); }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--navy-text); text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a[aria-current] { color: #fff; }
.site-footer nav a[aria-current] { font-weight: 600; }

/* Industry pages */
.crumbs { font-size: 15px; color: var(--muted); padding-top: 8px; }
.crumbs a { color: var(--muted); }
.ind-hero { display: flex; gap: 40px 64px; flex-wrap: wrap; align-items: flex-start; padding-top: 40px; padding-bottom: 80px; }
.ind-hero__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 22px; }
.ind-hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.ind-hero__text > p { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.ind-hero__aside { flex: 0 1 380px; width: 100%; }
.ind-hero__aside .sample { margin-top: 0; }
.newbox { border: 1.5px dashed #9AA5B8; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.newbox h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.newbox p { color: var(--ink-2); font-size: 17px; }
.plan-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan-strip div { padding: 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.plan-strip div:first-child { border-left: 0; }
.plan-strip div.hi { background: var(--stone); }
.plan-strip b { font-size: 20px; }
.plan-strip strong { font-size: 30px; letter-spacing: -0.02em; }
.plan-strip span { font-size: 15px; color: var(--muted); }

/* 404 */
.lost { padding-top: 120px; padding-bottom: 160px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.lost h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.lost p { font-size: 19px; color: var(--ink-2); max-width: 520px; }

/* Responsive */
@media (max-width: 1040px) {
  .samples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 17px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section--tight-top { padding-top: 0; }
  .nav { gap: 4px 18px; font-size: 15px; }
  .samples__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sample:nth-child(even) { margin-top: 0; }
  .samples[data-view="desktop"] .frame { max-width: 360px; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .plan-strip { grid-template-columns: minmax(0, 1fr); }
  .plan-strip div { border-left: 0; border-top: 1px solid var(--line); }
  .plan-strip div:first-child { border-top: 0; }
  .form { padding: 22px; }
  .contact .wrap { padding-top: 72px; padding-bottom: 72px; }
}
.samples[data-view="phone"] .m-salon strong { font-size: 84px; }
