:root { color-scheme: light; --navy: #15384d; --navy-dark: #0d2c40; --yellow: #f6c23e; --cream: #fbf7ef; --muted: #586974; --line: #dfded8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #0077af; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 10px 16px; background: var(--yellow); z-index: 5; }
.skip-link:focus { top: 16px; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; margin: auto; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { width: 320px; flex-shrink: 0; }
.brand img { width: 100%; }
.contact { text-align: right; display: grid; gap: 1px; }
.contact p { font-size: 13px; margin: 0 0 2px; color: var(--muted); }
.contact .phone { font-size: 24px; font-weight: 800; line-height: 1.4; text-decoration: none; }
.email { font-size: 15px; }
main { max-width: 1180px; padding: 0 30px 64px; margin: auto; }
.intro { text-align: center; padding: 45px 0 35px; }
.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--muted); }
h1 { font: 700 clamp(32px, 3.6vw, 46px)/1.17 Georgia, "Times New Roman", serif; letter-spacing: -.035em; margin: 0; }
h1 em { font-style: normal; }
.intro-text { color: var(--muted); margin: 16px 0 0; font-size: 15px; }
.site-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; scroll-margin-top: 20px; }
.site-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 25px #15384d08; }
.new-site { border: 2px solid var(--yellow); }
.card-heading { height: 188px; padding: 24px 28px 22px; }
.new-site .card-heading { background: var(--yellow); }
.old-site .card-heading { background: #eaf0f2; }
.edition { font-size: 12px; font-weight: 800; letter-spacing: .17em; margin: 0 0 7px; }
.card-heading h2 { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: clamp(28px, 3.3vw, 40px); font-weight: 900; letter-spacing: -.035em; line-height: 1.15; }
.card-heading .new-word { font-size: clamp(38px, 4.5vw, 57px); font-weight: 900; letter-spacing: -.045em; }
.site-word { font-size: 22px; letter-spacing: -.02em; }
.old-site h2 { padding-top: 17px; padding-bottom: 3px; }
.domain { font-size: 21px; font-weight: 700; margin: 10px 0 0; line-height: 1.2; }
.site-preview { display: block; margin: 20px 20px 0; text-decoration: none; border: 1px solid #d6dce0; border-radius: 9px; overflow: hidden; transition: box-shadow .18s; }
.site-preview:hover { box-shadow: 0 4px 18px #15384d22; }
.browser-bar { background: #f1f4f5; border-bottom: 1px solid #d6dce0; height: 31px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #607580; font-size: 11px; }
.browser-dots { color: #b9c6cd; letter-spacing: 2px; font-size: 9px; }
.preview-window { height: 315px; overflow: hidden; background: #fff; }
.preview-window img { width: 100%; height: auto; }
.preview-caption { border-top: 1px solid #d6dce0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; font-size: 12px; font-weight: 650; background: #f9fbfc; }
.preview-caption > span { font-size: 18px; }
.card-content { padding: 20px 24px 24px; }
.card-content > p { min-height: 51px; color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 7px; padding: 12px 20px; font-weight: 700; font-size: 14px; line-height: 1.45; text-decoration: none; transition: background .18s, transform .18s; }
.button > span { font-size: 21px; line-height: 1; margin-left: auto; }
.primary { background: var(--yellow); color: var(--navy-dark); border: 1px solid var(--yellow); }
.primary:hover { background: #ffd05a; }
.secondary { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.secondary:hover { background: #23516b; }
.catalogue-link { display: block; margin-top: 24px; text-decoration: none; background: #fff; }
.catalogue-link img { width: 100%; border-radius: 5px; border: 1px solid #eeeae2; }
.catalogue-link > span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 750; padding-top: 8px; }
.catalogue-link:hover > span { text-decoration: underline; }
.help-note { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; align-items: flex-start; gap: 14px; font-size: 14px; }
.help-mark { display: grid; place-items: center; flex-shrink: 0; background: #edf3f5; height: 36px; width: 36px; border-radius: 50%; font: 700 23px Georgia, serif; }
.help-note p { margin: 0 0 5px; color: var(--muted); }
.help-note a { font-weight: 700; }
.tbishibai { margin-top: 38px; display: grid; grid-template-columns: 1.12fr 1fr; background: var(--navy); color: white; border-radius: 16px; overflow: hidden; }
.tbi-image { display: flex; align-items: center; background: #f7efe2; }
.tbi-image img { width: 100%; }
.tbi-content { padding: 32px 34px; align-self: center; }
.novelty { display: inline-block; padding: 4px 10px; background: var(--yellow); color: var(--navy-dark); border-radius: 4px; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.tbi-content h2 { font: 700 clamp(30px, 3.3vw, 40px)/1.15 Georgia, serif; letter-spacing: -.03em; margin: 16px 0 12px; }
.tbi-content h2 em { color: var(--yellow); font-style: normal; }
.tbi-content > p { font-size: 14px; line-height: 1.6; color: #e3ebee; margin: 0 0 16px; }
.tbi-content .free { color: #fff; font-weight: 750; margin: 18px 0; }
.free > span { color: var(--yellow); margin-right: 5px; }
.tbi-content .button { justify-content: flex-start; }
.livrtok { display: grid; grid-template-columns: 1.12fr 1fr; margin-top: 38px; background: #fffaf5; border: 1px solid #e6d6c6; border-radius: 16px; overflow: hidden; color: #4d2a0b; }
.livrtok-preview { display: flex; align-items: center; background: #fbf7f2; }
.livrtok-preview img { width: 100%; }
.livrtok-content { align-self: center; padding: 32px 34px; }
.livrtok-label { display: inline-block; background: #eedccc; padding: 4px 11px; border-radius: 4px; color: #723800; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.livrtok-content h2 { font: 700 clamp(30px, 3.3vw, 40px)/1.15 Georgia, serif; letter-spacing: -.03em; margin: 17px 0 14px; }
.livrtok-content h2 em { font-style: normal; color: #884100; }
.livrtok-content > p { font-size: 14px; color: #6e5641; }
.livrtok-content .social-networks { font-size: 15px; color: #723800; font-weight: 750; }
.livrtok-content .livrtok-motto { font: 700 23px/1.35 Georgia, serif; color: #4d2a0b; margin: 24px 0; }
.livrtok-content .button { background: #884100; color: #fff; border: 1px solid #884100; justify-content: flex-start; }
.livrtok-content .button:hover { background: #a3530c; }
footer { background: var(--navy-dark); color: #fff; }
.footer-inner { max-width: 1180px; margin: auto; padding: 35px 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; font-size: 13px; }
.footer-inner strong { font-size: 15px; }
.footer-inner p { margin: 5px 0; color: #bdcdd6; }
.footer-contact { display: grid; gap: 6px; }
.legal { font-size: 11px; }
.legal p { margin-top: 0; }
@media (max-width: 1000px) {
  .card-heading { padding-left: 22px; padding-right: 22px; }
  .card-heading .new-word { font-size: 43px; }
  .site-word { font-size: 17px; }
  .site-preview { margin-left: 14px; margin-right: 14px; }
  .preview-window { height: 260px; }
  .card-content { padding-left: 20px; padding-right: 20px; }
  .preview-caption { font-size: 11px; }
  .tbi-content, .livrtok-content { padding: 28px; }
}
@media (max-width: 760px) {
  .header-inner { padding: 22px; flex-direction: column; gap: 18px; }
  .brand { width: min(310px, 85vw); }
  .contact { text-align: center; }
  .contact .phone { font-size: 23px; }
  main { padding: 0 18px 36px; max-width: 560px; }
  .intro { padding: 30px 0; }
  h1 { font-size: 32px; }
  .eyebrow { font-size: 9px; }
  .intro-text { font-size: 14px; }
  .site-choices { grid-template-columns: 1fr; gap: 25px; }
  .card-heading { height: auto; min-height: 178px; }
  .card-heading .new-word { font-size: clamp(40px, 10vw, 57px); }
  .site-word { font-size: 22px; }
  .old-site h2 { font-size: 37px; }
  .preview-window { height: 290px; }
  .card-content > p { min-height: 0; }
  .preview-caption { font-size: 12px; }
  .tbishibai, .livrtok { grid-template-columns: 1fr; margin-top: 28px; }
  .tbi-content, .livrtok-content { padding: 26px; }
  .tbi-content h2, .livrtok-content h2 { font-size: 36px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 30px 20px; }
}
@media (max-width: 370px) {
  main { padding-left: 12px; padding-right: 12px; }
  .card-heading { padding: 22px 18px; }
  .card-heading h2 { gap: 7px; }
  .card-heading .new-word { font-size: 37px; }
  .site-word { font-size: 18px; }
  .button { font-size: 12px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
