@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #202321;
  --muted: #626763;
  --paper: #fff;
  --sage: #b9c8b1;
  --copper: #b47750;
  --copper-text: #8a4f31;
  --line: #dbe0d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.6 Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
h1, h2, h3, h4, p { margin: 0; }
.shell { width: min(94%, 1440px); margin-inline: auto; }
.header { min-height: 96px; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); position: relative; }
.brand { display: block; width: 174px; flex: none; }
.brand img { display: block; width: 100%; height: auto; }
.header nav { display: flex; gap: clamp(14px, 1.7vw, 26px); margin-left: auto; align-items: center; font-size: 14px; font-weight: 600; }
.header nav > a { white-space: nowrap; }
.header-action { flex: none; }
.language-switcher { display: flex; align-items: center; gap: 2px; }
.language-switcher a { padding: 5px 6px; }
.language-switcher a[aria-current="page"] {
  background: #eff3ed;
  color: var(--copper-text);
}
.header nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 21px; border: 1px solid transparent; font-weight: 700; }
.outline { border-color: var(--copper); color: var(--copper-text); font-size: 14px; }
.outline:hover { background: #faf4ef; }
.primary { background: var(--sage); color: var(--ink); }
.primary:hover { background: #cbd7c4; }
.menu-toggle, .header .menu-action { display: none; }
.hero { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.12fr 1fr; }
.hero-copy { position: relative; z-index: 1; padding: clamp(36px, 6vw, 94px) clamp(28px, 5vw, 76px); }
.eyebrow { color: var(--copper-text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hero .eyebrow, .contact .eyebrow { color: #dc9c72; }
h1 { font-size: clamp(35px, 4.4vw, 69px); letter-spacing: -.05em; line-height: 1.08; font-weight: 800; }
.lead { color: #e1e6df; margin: 25px 0 32px; max-width: 39ch; font-size: clamp(16px, 1.6vw, 21px); }
.hero-visual {
  --photo-overlap: clamp(108px, 18vw, 270px);
  position: relative;
  min-width: 0;
  min-height: 420px;
  aspect-ratio: 4 / 5;
}
.image-label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  gap: 12px;
  padding: 25px clamp(14px, 3vw, 36px) 17px;
  color: var(--paper);
  text-shadow: 0 1px 5px #000, 0 1px 2px #000;
  font-size: 13px;
  font-weight: 700;
}
.image-label span:last-child { text-align: right; }
.hero h1 em { font-style: normal; }
.hero-photo {
  --fade-direction: to right;
  position: absolute;
  inset: 0 0 auto auto;
  display: block;
  width: calc(100% + var(--photo-overlap));
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  mask-image: linear-gradient(
    var(--fade-direction),
    transparent,
    rgb(0 0 0 / 6%) calc(var(--photo-overlap) * .15),
    rgb(0 0 0 / 22%) calc(var(--photo-overlap) * .3),
    rgb(0 0 0 / 50%) calc(var(--photo-overlap) * .5),
    rgb(0 0 0 / 78%) calc(var(--photo-overlap) * .7),
    rgb(0 0 0 / 94%) calc(var(--photo-overlap) * .85),
    #000 var(--photo-overlap)
  );
}
.practice { list-style: none; margin: 0; padding: 15px 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--sage); text-align: center; font-size: 13px; font-weight: 700; }
.practice li + li { border-left: 1px solid #7c8a76; }
.section { padding: clamp(38px, 6vw, 82px) clamp(18px, 3.8vw, 55px); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; }
.approach, .contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 8vw, 125px); }
.contact h2 + p { margin-top: 18px; max-width: 44ch; }
.contact { background: var(--ink); color: var(--paper); }
.contact h2 + p, .form-note { color: #dce3da; }
form { display: grid; gap: 10px; }
form label { font-size: 14px; font-weight: 700; }
form input:not([hidden]), form select, form textarea { width: 100%; display: block; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 10px; }
form textarea { resize: vertical; }
form .button { justify-self: start; margin-top: 6px; }
.form-note, #feedback { font-size: 13px; }
.footer { padding: 26px 0; color: var(--muted); font-size: 13px; }
.footer .brand { width: 120px; }
.footer-content { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-content > a:last-child { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.button-arrow {
  width: 12px;
  height: 12px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: scale(.65);
}
.button-arrow::before {
  content: "";
  display: block;
  width: 15px;
  border-top: 1px solid;
  transform-origin: left;
  transform: translate(-1px, 10px) rotate(-45deg);
}
.hero-actions .text-link { color: #e1e6df; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-size: 13px; color: #e1e6df; }
.text-link, .offer a, .source-note a { text-decoration: underline; text-underline-offset: 4px; }
.section h2 em { font-style: normal; color: var(--copper-text); }
.contact h2 em { color: #dc9c72; }
.section h2 + p, .section h3 + p { margin-top: 14px; }
.section-head { max-width: 68ch; margin-bottom: 30px; }
.section-head p:not(.eyebrow), .deliverables > div > p:not(.eyebrow), .company p, .principles p, .approach-title > p:not(.eyebrow), .steps p { color: var(--muted); }
.tag, .offer-index, .registration-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--copper-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
.offer {
  display: grid;
  grid-template-columns: 1fr 1.15fr .9fr;
  gap: clamp(18px, 3vw, 44px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.offer a, .deliverables .text-link { font-family: Manrope, Arial, "DejaVu Sans", sans-serif; display: inline-block; margin-top: 14px; color: var(--copper-text); font-size: 14px; font-weight: 800; }
.offer-title > p, .offer-result > p { color: var(--muted); }
.offer-note { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); }
.offer-result { background: #eff3ed; padding: 20px; }
.offer-result h4 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.offer.selected .offer-result { background: var(--ink); color: var(--paper); }
.offer.selected .offer-result p { color: #e1e6df; }
.offer.selected .offer-result .tag { color: #dc9c72; }
.offer-scope ul, .launch-scope ul { padding-left: 20px; margin: 0 0 14px; }
.offer-scope li + li, .launch-scope li + li { margin-top: 6px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
details p { padding-bottom: 12px; color: var(--muted); }
.deliverables, .company-intro, .faq {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(25px, 5vw, 72px);
}
.deliverables { background: #eff3ed; align-items: center; }
.proposal { background: var(--paper); border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px); }
.proposal-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-bottom: 15px; color: var(--copper-text); font-size: 11px; font-weight: 800; }
.proposal ol { list-style: none; padding: 0; }
.proposal li { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.proposal li span, .proposal > p { color: var(--muted); font-size: 14px; }
.business-types, .launch-scope ul { margin-top: 14px; }
.registration, .estonia-facts { margin-top: clamp(26px, 4vw, 55px); }
.registration-grid, .fact-grid, .steps { display: grid; gap: 18px; margin-top: 16px; }
.registration-grid { grid-template-columns: repeat(3, 1fr); }
.fact-grid { grid-template-columns: repeat(2, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }
.registration-grid article, .fact-grid article, .steps article { border-top: 1px solid var(--line); padding-top: 12px; }
.registration-grid p, .fact-grid p { margin-top: 6px; }
.source-note { margin-top: 24px; font-size: 13px; }
.principles article { display: flex; gap: 12px; padding: 0 0 17px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.principles article:last-child { margin-bottom: 0; }
.principles article > span, .steps article > span { color: var(--copper-text); font-weight: 800; }
.steps h3 { margin-top: 5px; }
.contact-location { margin-top: 24px; font-size: 14px; font-weight: 700; }
.contact-location span { color: #dce3da; font-weight: 400; }
.contact-details { margin-top: 24px; }
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-links a:hover { color: var(--sage); }
.contact-links svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: #dc9c72;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}


@media (max-width: 1100px) {
  .header { gap: 22px; }
  .header nav { gap: 15px; }
  .header-action { white-space: nowrap; }
}
@media (max-width: 1130px) {
  .header { min-height: 76px; gap: 14px; }
  .brand { width: 138px; }
  .header-action { display: none; }
  .menu-toggle { display: block; margin-left: auto; color: var(--ink); background: var(--paper); border: 0; font-size: 23px; padding: 8px 12px; }
  .header nav { display: none; position: absolute; top: 100%; right: 0; left: 0; z-index: 2; background: var(--paper); padding: 20px; border: 1px solid var(--line); }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header nav > a { padding: 10px 0; white-space: normal; }
  .language-switcher { gap: 8px; }
  .language-switcher a { padding: 10px; }
  .header .menu-action { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 10px 14px; }
}
@media (max-width: 700px) {
  .hero, .offer, .deliverables, .company-intro, .approach, .contact, .faq, .registration-grid { grid-template-columns: 1fr; }
  .hero-visual { --photo-overlap: 76px; min-height: 0; height: 250px; aspect-ratio: auto; }
  .hero-photo {
    --fade-direction: to bottom;
    top: calc(-1 * var(--photo-overlap));
    width: 100%;
    height: calc(100% + var(--photo-overlap));
  }
  .practice { grid-template-columns: repeat(2, 1fr); padding: 10px 0; font-size: 11px; row-gap: 8px; }
  .practice li { padding-inline: 4px; }
  .practice li:nth-child(odd) { border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .fact-grid, .steps { grid-template-columns: 1fr; }
}

#feedback:empty { display: none; }
#feedback[data-error] { color: #f3bd9c; }
#brief button:disabled { opacity: .7; cursor: wait; }
