/* getunatum.com: the UNATUM brand system on the web.
   Flat colour, Inter type, one yellow highlight per view, thin quiet isometric lines. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Inter-Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/InterDisplay-ExtraBold.ttf") format("truetype"); }

:root {
  --midnight: #0B2F6B;
  --midnight-deep: #072456;
  --signal: #2F80FF;
  --sky: #9DCCF5;
  --yellow: #FFC629;
  --paper: #F9FAFB;
  --slate100: #E5EAF2;
  --slate700: #334155;
  --white: #FFFFFF;
  --line: #D3DCE8;
  --rule-dark: #234a86;
  --display: "Inter Display", "Inter", Arial, sans-serif;
  --text: "Inter", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--slate700); font: 400 1.0625rem/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--signal); text-underline-offset: 0.15em; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--midnight); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h3 { font-family: var(--text); font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--midnight); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-head { background: var(--midnight); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.site-head .logo img { width: 168px; }
.site-head nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-head nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.site-head nav a:hover { color: var(--sky); }
@media (max-width: 479px) {
  .site-head nav { gap: 16px; }
  .site-head nav a { font-size: 0.92rem; }
  .site-head nav .wide-only { display: none; }  /* keeps the menu on one line on a phone */
}

/* hero */
.hero { background: var(--midnight); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 64px; align-items: center; }
.eyebrow { display: inline-block; background: var(--sky); color: var(--midnight); font-weight: 600; padding: 6px 14px; border-radius: 8px; margin-bottom: 18px; }
.hero h1 { color: var(--white); font-size: clamp(2.7rem, 8vw, 4.7rem); }
.hero h1 span { display: block; color: var(--yellow); }
.hero .lead { font-size: clamp(1.15rem, 2.4vw, 1.35rem); color: var(--white); margin: 22px 0 6px; }
.hero .line { color: var(--sky); margin-bottom: 28px; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 28px 0; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: url("img/pattern-lines.svg") center / auto repeat; }
.hero-art picture { position: relative; width: min(78%, 400px); }
.hero-art img { box-shadow: 18px 18px 0 var(--midnight-deep); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 14px 22px; border-radius: 10px; border: 2px solid transparent; line-height: 1.2; }
.btn small { display: block; font-weight: 400; font-size: 0.82rem; opacity: 0.85; margin-top: 3px; }
.btn-light { background: var(--white); color: var(--midnight); }
.btn-light:hover { background: var(--slate100); }
.btn-outline { color: var(--white); border-color: var(--sky); }
.btn-outline:hover { background: var(--midnight-deep); }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-dark:hover { background: var(--midnight-deep); }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 2.7rem); }
.section-head h2::after { content: ""; display: block; width: 88px; height: 8px; background: var(--yellow); margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 1.1rem; }
.band { background: var(--white); border-top: 1px solid var(--slate100); border-bottom: 1px solid var(--slate100); }

.grid { display: grid; gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.band .card { background: var(--paper); }
.card .shot { background: var(--white); border-bottom: 1px solid var(--line); padding: 14px; }
.card .body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: 8px; }
.tag { align-self: flex-start; display: inline-block; background: var(--slate100); color: var(--midnight); font-weight: 600; font-size: 0.85rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

.pair { display: grid; gap: 28px; }
.pair figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.pair figcaption { margin-top: 14px; }
.pair figcaption strong { display: block; color: var(--midnight); font-size: 1.15rem; margin-bottom: 4px; }

/* the promise */
.promise { background: var(--midnight); color: var(--white); }
.promise h2 { color: var(--white); }
.promise .section-head p { color: var(--sky); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li { border: 1px solid var(--rule-dark); border-radius: 12px; padding: 18px 20px; color: var(--white); }
.facts li strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--sky); line-height: 1.1; margin-bottom: 6px; }

/* sample and buying */
.sample { display: grid; gap: 28px; align-items: center; }
.sample-art { display: flex; justify-content: center; }
.sample-art picture { width: min(100%, 360px); }
.sample-art img { box-shadow: 14px 14px 0 var(--slate100); }
.sample ul, .buy ul { padding-left: 1.2em; margin: 0 0 22px; }
.sample li, .buy li { margin-bottom: 6px; }
.buy { display: grid; gap: 22px; }
.buy .card .body { flex: 1; display: flex; flex-direction: column; }
.buy .price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--midnight); margin: 4px 0 14px; }
.buy .actions { margin-top: auto; }
.note { font-size: 0.95rem; }

/* the series: every book side by side, each in its own colour */
.series { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--slate100); }
.series h2 { font-size: 1.45rem; margin-bottom: 18px; }
.series-grid { display: grid; gap: 16px; }
.series-card { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 14px; color: var(--slate700); text-decoration: none; }
a.series-card:hover { border-color: var(--midnight); }
.series-card img { box-shadow: 6px 6px 0 var(--slate100); }
.series-card .tag { margin-bottom: 6px; }
.series-card h3 { color: var(--midnight); margin-bottom: 4px; }
.series-card p { margin: 0; font-size: 0.98rem; }
.series-card .go, .series-card .here { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 0.95rem; }
.series-card .go { color: var(--midnight); text-decoration: underline; text-underline-offset: 0.15em; }
.series-card.is-here { border: 2px solid var(--midnight); }
.series-card .here { color: var(--slate700); }

/* what a later book adds */
.new-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.new-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.new-list strong { display: block; color: var(--midnight); font-size: 1.08rem; margin-bottom: 4px; }

/* each book's own colour on its series card, and Book 2's product colour, Progress Green as on its cover,
   inside its page; the header and footer keep the brand's navy */
.theme-1 { --midnight: #0B2F6B; --midnight-deep: #072456; --sky: #9DCCF5; --signal: #2F80FF; --rule-dark: #234a86; }
.theme-2 { --midnight: #1A6A1E; --midnight-deep: #11501A; --sky: #BFE5C2; --signal: #1A6A1E; --rule-dark: #3E8743; }
.theme-2 .hero-art::before { background-image: url("img/pattern-lines-2.svg"); }

/* questions */
.faq details { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--midnight); }
.faq details p { margin: 12px 0 0; }

/* footer */
.site-foot { background: var(--midnight); color: var(--sky); padding: 48px 0 40px; font-size: 0.95rem; }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot img { width: 140px; }
.site-foot a { color: var(--white); }
.site-foot p { margin: 0 0 6px; }

/* simple pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 24px; }
.page h2 { font-size: 1.5rem; margin: 32px 0 10px; }

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pair { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .buy { grid-template-columns: repeat(2, 1fr); }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .new-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-top: 56px; padding-bottom: 88px; }
  .sample { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .new-list { grid-template-columns: repeat(3, 1fr); }
  .site-foot .wrap { grid-template-columns: auto 1fr; align-items: start; column-gap: 48px; }
}
