
*, *::before, *::after { box-sizing: border-box; }
:root { --ink: #1A1418; --body: #473F43; --muted: #5C5357; --line: #E6DFE2; --crimson: #B8132F; --rose: #F0566F; --paper: #FBF8F9; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: var(--crimson); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); line-height: 1.2; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.menu a { font-size: 14px; color: var(--body); text-decoration: none; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.menu a:hover { color: var(--crimson); background: var(--paper); }
.menu a[aria-current=page] { color: var(--crimson); font-weight: 600; }
.menu a.go { background: var(--crimson); color: #fff; font-weight: 600; margin-left: 8px; padding: 9px 16px; }
.menu a.go:hover { background: #9E0F27; color: #fff; }
.dd { position: relative; }
.dd > button { font: inherit; font-size: 14px; color: var(--body); background: none; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.dd > button::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.dd > button:hover, .dd.open > button { color: var(--crimson); background: var(--paper); }
.dd > button.here { color: var(--crimson); font-weight: 600; }
.sub { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 12px 32px rgba(26,20,24,.12); z-index: 20; }
.sub a { display: block; padding: 10px 12px; }
.dd:hover .sub, .dd.open .sub { display: block; }
.burger { display: none; margin-left: auto; font: inherit; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
h1, h2, .serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; margin: 0 0 18px; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 0 0 20px; text-wrap: balance; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 14px; color: var(--body); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); margin: 0 0 14px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 16px; border: 1px solid var(--crimson); cursor: pointer; font-family: inherit; }
.btn.fill { background: var(--crimson); color: #fff; } .btn.fill:hover { background: #9E0F27; }
.btn.line { background: #fff; color: var(--crimson); } .btn.line:hover { background: #FDF3F5; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); } .btn.ghost:hover { background: rgba(255,255,255,.1); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(184,19,47,.4); outline-offset: 2px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* home hero */
.hero { background: var(--ink); color: #fff; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 32px 32px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { color: var(--rose); }
.hero h1 { color: #fff; font-size: clamp(46px, 7vw, 88px); }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero p { color: #D9D0D4; font-size: clamp(17px, 2vw, 20px); max-width: 520px; margin-bottom: 28px; }
.hero svg { width: 100%; height: auto; display: block; }
/* inner page header */
.phead { background: var(--paper); border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.phead .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.phead h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 0; }
.phead p { max-width: 560px; margin: 12px 0 0; font-size: 17px; }
.phead .glyph { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(40px, 7vw, 84px); line-height: 1; color: var(--crimson); white-space: nowrap; opacity: .9; }

section { padding: 56px 0; }
section.tint { background: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts div { padding: 22px 0; } .facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.cell { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 .cell:nth-child(3n) { border-right: 0; } .grid3 .cell:nth-last-child(-n+3) { border-bottom: 0; }
.cell p { margin: 0 0 8px; font-size: 15px; } .cell p:last-child { margin-bottom: 0; }
.cell .when { font-size: 13px; font-weight: 600; color: var(--crimson); letter-spacing: .04em; text-transform: uppercase; }
.cell .n { font-family: 'Instrument Serif', Georgia, serif; font-size: 56px; line-height: 1; color: var(--line); float: right; }
.cell h3.big { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 28px; margin: 6px 0 10px; }
.cell .sym { font-family: 'Instrument Serif', Georgia, serif; font-size: 38px; line-height: 1; color: var(--crimson); height: 48px; display: flex; align-items: center; }
a.cell { text-decoration: none; color: inherit; display: block; } a.cell:hover { background: var(--paper); }
a.cell .more { color: var(--crimson); font-weight: 600; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
ul.plain { margin: 0 0 14px; padding-left: 20px; color: var(--body); } ul.plain li { margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
.tbl { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; overflow-x: auto; }
.tbl tr:last-child td { border-bottom: 0; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.sample .tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sample .q { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; margin: 10px 0 18px; color: var(--ink); }
.sample ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sample li { border: 1px solid #CFC5C9; border-radius: 10px; padding: 11px 14px; font-size: 16px; display: flex; gap: 12px; align-items: center; font-variant-numeric: tabular-nums; }
.sample li b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #CFC5C9; display: grid; place-items: center; font-size: 12px; color: var(--muted); flex: none; }
.sample details { margin-top: 14px; font-size: 14px; color: var(--body); } .sample summary { cursor: pointer; color: var(--crimson); font-weight: 600; }
.stack { display: grid; gap: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; } .faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; } .faq details p { margin: 10px 0 0; }
.band { background: var(--ink); color: #fff; } .band h2 { color: #fff; } .band p { color: #D9D0D4; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
form { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; max-width: 680px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #CFC5C9; border-radius: 10px; background: #fff; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--body); font-weight: 400; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--crimson); }
form .btn { width: 100%; margin-top: 22px; } form .btn:disabled { opacity: .5; cursor: default; }
.msg { margin-top: 12px; font-size: 14px; min-height: 20px; color: var(--crimson); }
.ok { border: 1px solid var(--line); border-radius: 14px; padding: 28px; max-width: 680px; background: var(--paper); }
.ok .num { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; line-height: 1.1; margin: 6px 0 12px; }
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a { color: var(--body); text-decoration: none; } footer a:hover { color: var(--crimson); }
footer .sp { margin-left: auto; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 18px; flex-direction: column; align-items: stretch; }
  .menu.open { display: flex; } .menu a { padding: 12px 8px; font-size: 16px; } .menu a.go { margin: 8px 0 0; text-align: center; }
  .dd > button { width: 100%; text-align: left; padding: 14px 8px 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; background: none !important; cursor: default; }
  .dd > button::after { display: none; }
  .sub, .dd:hover .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 8px; min-width: 0; }
}
@media (max-width: 820px) {
  .hero .wrap, .two, .row { grid-template-columns: 1fr; } .hero svg { max-width: 420px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .grid3 { grid-template-columns: 1fr; } .grid3 .cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .grid3 .cell:last-child { border-bottom: 0 !important; }
  .phead .glyph { display: none; } .sample ol { grid-template-columns: 1fr; } footer .sp { margin-left: 0; }
}
