@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #f3f2ed;
  --ink: #1c2626;
  --muted: #4f5b58;
  --dark: #19282a;
  --accent: #ff4829;
  --line: #d6d7ce;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Instrument Sans", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; padding: 10px; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.55; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline: 3px solid #dd491b; outline-offset: 4px; }
.skip { position: fixed; left: 14px; top: -80px; z-index: 9; background: white; padding: 12px; }
.skip:focus { top: 14px; }

.site-header {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 6px;
  background: #202e30;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.045em;
  font-size: 19px;
}
.mark { position: relative; display: inline-block; width: 25px; height: 23px; }
.mark i { position: absolute; display: block; height: 8px; width: 17px; background: #fff; transform: skewY(-28deg); }
.mark i:first-child { top: 2px; left: 0; background: var(--accent); }
.mark i:nth-child(2) { top: 9px; left: 8px; }
.mark i:last-child { top: 16px; left: 0; }
.header-actions, .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 5px 6px 5px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: white;
  color: #212322;
  text-decoration: none;
  text-transform: uppercase;
  font: 500 .79rem/1.15 var(--mono);
  cursor: pointer;
}
.button:hover, .button:focus-visible { background: #dedfd7; }
.button:disabled { cursor: progress; opacity: .72; }
.button.orange { background: var(--accent); color: #141b19; }
.button.orange:hover { background: #ff795f; }
.button.glass { background: #d6e1dd24; color: white; border-color: #ffffff4d; }
.button.glass:hover { background: #e6efeb42; }
.arrow { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 4px; background: #1b2423; color: white; font: 1rem var(--sans); }
.orange .arrow, .glass .arrow { background: white; color: #192220; }
.menu { position: relative; }
.menu summary { display: grid; place-items: center; list-style: none; cursor: pointer; width: 50px; height: 48px; background: #202e30; border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 18px; height: 10px; border-block: 2px solid white; }
.menu nav { position: absolute; right: 0; top: 55px; min-width: 210px; background: #202e30; color: white; padding: 8px; border-radius: 7px; box-shadow: 0 8px 30px #0003; }
.menu a { display: flex; justify-content: space-between; gap: 15px; padding: 11px 12px; text-decoration: none; border-radius: 4px; }
.menu a:hover, .menu a[aria-current="page"] { background: #394d4d; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: minmax(290px, 1fr) auto auto;
  gap: 38px;
  min-height: min(780px, calc(100svh - 20px));
  padding: clamp(105px, 19vh, 160px) clamp(22px, 3.6vw, 53px) 23px;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  background: linear-gradient(90deg, #0818194f, transparent 75%), linear-gradient(0deg, #030e10b8, transparent 55%), #14262a url("/assets/hero.jpg") 57% center / cover no-repeat;
}
.hero::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 9px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 9px, #ffffff44 9px 10px) bottom / auto 5px repeat-x,
              repeating-linear-gradient(90deg, transparent 0 49px, #ffffff80 49px 50px);
}
.hero h1, .intro h1 { font-size: clamp(3.25rem, 5.3vw, 5.15rem); font-weight: 600; line-height: .99; letter-spacing: -.074em; }
.hero h1 span { color: #e0e9e7c4; }
.hero-label { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; margin-top: 23px; border-radius: 4px; background: #ffffff24; font: .78rem var(--mono); }
.hero-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 615px) minmax(260px, 325px); justify-content: space-between; align-items: end; gap: 28px; }
.hero-description { max-width: 492px; font-size: clamp(1rem, 1.5vw, 1.2rem); color: #eff3f1; }
.hero-buttons { display: grid; justify-items: start; gap: 9px; margin-top: 22px; }
.hero-card { background: #fbfaf6; color: var(--ink); border-radius: 9px; overflow: hidden; }
.hero-card-top { display: flex; align-items: center; gap: 12px; padding: 16px; }
.hero-card-top strong { font-size: 1.07rem; font-weight: 650; }
.hero-card-top p { font: .73rem var(--mono); color: var(--muted); padding-top: 4px; }
.hero-card-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: #e9ede5; font-size: 1.7rem; }
.hero-card-detail { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 10px 16px; color: #36584d; font: .65rem var(--mono); }
.hero-card > a { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 6px 16px; background: #172221; color: white; text-transform: uppercase; font: .73rem var(--mono); text-decoration: none; }
.hero-card > a:hover { background: #344744; }
.hero-card .arrow { background: var(--accent); color: var(--ink); }
.hero-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid #ffffff42; padding: 16px 0 8px; }
.hero-index a { font: .75rem/1.4 var(--mono); color: #e1e7e4; text-transform: uppercase; text-decoration: none; }
.hero-index a:hover { text-decoration: underline; }

.section { max-width: 1420px; margin: 0 auto; padding: clamp(56px, 7.5vw, 110px) clamp(10px, 3.6vw, 53px); }
.section + .section { border-top: 1px solid var(--line); }
.kicker { font: 500 .76rem/1.4 var(--mono); text-transform: uppercase; color: #42524f; margin-bottom: 16px; }
.section h2, .footer-title { font-weight: 600; font-size: clamp(2.45rem, 4.1vw, 4rem); line-height: 1.04; letter-spacing: -.062em; max-width: 820px; }
.lead { color: var(--muted); font-size: clamp(1.03rem, 1.7vw, 1.24rem); max-width: 660px; margin-top: 14px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.service-card { overflow: hidden; display: grid; grid-template-rows: 150px auto; background: #fff; border-radius: 8px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.service-card:hover { box-shadow: 0 0 0 2px #48605a; }
.card-symbol { position: relative; display: grid; place-content: center; gap: 6px; overflow: hidden; background: #dae6de; }
.card-symbol i { display: block; width: 78px; height: 18px; border: 1px solid #1c3e35aa; transform: rotate(-24deg) skewX(-22deg); border-radius: 1px; }
.card-symbol i:nth-child(2) { margin-left: 12px; background: #1c3e3516; }
.card-symbol i:nth-child(3) { margin-left: 24px; }
.tone-2 .card-symbol { background: #ece4d7; }
.tone-2 .card-symbol i { border-radius: 16px; transform: none; }
.tone-3 .card-symbol { background: #eedad2; grid-auto-flow: column; align-items: end; }
.tone-3 .card-symbol i { transform: none; width: 23px; height: 42px; margin: 0; }
.tone-3 .card-symbol i:nth-child(2) { height: 61px; }
.tone-3 .card-symbol i:nth-child(3) { height: 82px; background: #b2442720; }
.tone-4 .card-symbol { background: #d7e0e1; }
.tone-4 .card-symbol i { height: 40px; width: 73px; position: absolute; inset: 51px auto auto calc(50% - 36px); transform: rotate(30deg); }
.tone-4 .card-symbol i:nth-child(2) { margin-left: 0; transform: rotate(90deg); }
.tone-4 .card-symbol i:last-child { margin-left: 0; transform: rotate(150deg); }
.card-text { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; gap: 10px; }
.card-text h3, .guide-card h3, .example h3 { font-size: 1.37rem; font-weight: 650; letter-spacing: -.04em; line-height: 1.12; }
.card-text p, .guide-card p, .example p { color: var(--muted); }
.card-text .arrow { align-self: end; margin-top: auto; }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; background: #e6eae0; border-radius: 8px; }
.approach .button { margin-top: 24px; }
.approach ol { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.approach li { position: relative; border-top: 1px solid #bac4b9; padding: 16px 0 16px 45px; counter-increment: steps; }
.approach li::before { content: "0" counter(steps); position: absolute; left: 0; top: 20px; font: .72rem var(--mono); }
.approach strong { font-size: 1.35rem; }
.approach li p { color: var(--muted); margin-top: 4px; }
.guide-list { margin-top: 26px; }
.guide-card { display: flex; align-items: center; justify-content: space-between; text-decoration: none; gap: 16px; border-top: 1px solid var(--line); padding: 20px 8px; }
.guide-card:last-child { border-bottom: 1px solid var(--line); }
.guide-card:hover { background: #e8ebe3; }
.guide-card p { margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 0 2px; }
.faq details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.faq summary { padding: 17px 0; cursor: pointer; font-weight: 650; }
.faq details p { margin-bottom: 18px; color: var(--muted); max-width: 65ch; }

.intro { padding: 128px clamp(20px, 5.3vw, 80px) 48px; border-radius: 8px; background: #1e3133; color: white; }
.intro .kicker, .intro .lead { color: #d5e2de; }
.intro h1 { max-width: 980px; }
.article { width: min(100%, 865px); margin: 0 auto; padding: clamp(40px, 7vw, 95px) 20px; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.06; letter-spacing: -.05em; margin-bottom: 12px; }
.article p { max-width: 69ch; margin-bottom: 27px; color: var(--muted); font-size: 1.1rem; }
.article a:not(.button) { text-underline-offset: .18em; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.example { display: grid; justify-items: start; align-content: start; gap: 14px; padding: 23px; border-radius: 8px; background: #e7eae0; }
.example .kicker { margin: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr); gap: clamp(26px, 5vw, 75px); }
.contact-layout .lead { margin-bottom: 14px; }
.contact-layout form { padding: clamp(16px, 3vw, 35px); border-radius: 8px; border: 1px solid var(--line); background: white; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; }
.fields :is(input, textarea, select) { display: block; width: 100%; min-height: 44px; padding: 9px 10px; font: 1rem var(--sans); color: var(--ink); background: #f8f8f5; border: 1px solid #d1d4cc; border-radius: 4px; }
.fields textarea { resize: vertical; }
form .button { margin-top: 22px; }
.form-status:not(:empty) { margin-top: 14px; font-size: .94rem; color: #314d42; }
.form-status[data-error] { color: #9e2415; }

.site-footer { border-radius: 8px; background: #1e3032; color: white; padding: clamp(24px, 5vw, 62px) clamp(22px, 4.2vw, 64px); }
.site-footer .kicker { color: #c1ceca; }
.footer-lead .button { margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; padding-top: 22px; margin-top: 34px; border-top: 1px solid #ffffff32; }
.footer-bottom .brand { padding: 0; background: none; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (min-width: 1680px) {
  .hero, .intro, .site-footer { max-width: 1660px; margin-inline: auto; }
  .site-header { left: calc((100% - 1648px) / 2); right: calc((100% - 1648px) / 2); }
}
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  body { padding: 6px; }
  .site-header { left: 11px; right: 11px; top: 11px; }
  .brand { gap: 8px; padding: 0 10px; font-size: 17px; min-height: 44px; }
  .header-cta { padding-left: 8px; gap: 6px; min-height: 44px; font-size: .67rem; }
  .header-cta .arrow { width: 27px; height: 27px; flex-basis: 27px; }
  .menu summary { width: 44px; height: 44px; }
  .hero { grid-template-rows: auto auto auto; gap: 25px; min-height: auto; padding: 116px 17px 17px; background-position: 62% center; }
  .hero h1, .intro h1 { font-size: clamp(2.65rem, 10vw, 3.7rem); }
  .hero h1 span { color: #eff5f3d9; }
  .wide-break { display: none; }
  .hero-label { margin-top: 17px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-description { max-width: 36ch; }
  .hero-card { max-width: 350px; }
  .hero-index { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .section { padding-inline: 14px; }
  .cards { gap: 9px; }
  .service-card { grid-template-rows: 95px auto; }
  .tone-4 .card-symbol i { top: 27px; }
  .card-text { padding: 13px; }
  .card-text h3 { font-size: 1.17rem; }
  .card-text p { font-size: .91rem; }
  .approach, .example-grid, .contact-layout { grid-template-columns: 1fr; }
  .approach { gap: 25px; }
  .fields { grid-template-columns: 1fr; }
  .intro { padding-top: 96px; }
}
