:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #1c1b1b;
  background: #ffffff;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  --ink: #1c1b1b;
  --muted: #626262;
  --yellow: #ffdd32;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(28px, 4.5vw, 64px) clamp(24px, 7.2vw, 104px) 28px;
  display: flex;
  flex-direction: column;
}

.header { position: relative; z-index: 1; }

.logo {
  display: block;
  width: min(430px, 100%);
  height: auto;
}

.main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 470px;
  padding-block: 72px 88px;
}

.message { position: relative; z-index: 1; max-width: 100%; }

.accent {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #ed5928, #ffdd32);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.message p {
  margin: 30px 0 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  max-width: 100%;
  min-height: 48px;
  padding-block: 5px 10px;
  border-bottom: 2px solid var(--yellow);
  color: var(--ink);
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email span { min-width: 0; }
.email svg { flex: 0 0 24px; }
.email:hover { border-bottom-color: #db5827; }
.email:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; border-radius: 1px; }

.drawing {
  position: absolute;
  right: 0;
  top: 50%;
  width: 280px;
  height: 330px;
  transform: translateY(-48%);
  pointer-events: none;
}

.drawing-frame {
  position: absolute;
  inset: 55px 30px;
  border: 1px solid #e9e8e4;
}

.drawing-square {
  position: absolute;
  top: 77px;
  left: 50px;
  width: 180px;
  height: 180px;
  transform: rotate(-15deg);
  border: 1px solid #f1bb56;
  background: linear-gradient(145deg, #fffdf4, #fff6dd);
}

.drawing-line { position: absolute; background: #eeede9; }
.drawing-line-one { left: 0; top: 55px; height: 1px; width: 100%; }
.drawing-line-two { left: 30px; top: 0; height: 100%; width: 1px; }
.drawing-point { position: absolute; left: 27px; top: 52px; width: 7px; height: 7px; background: #e0a843; }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  padding-top: 22px;
  border-top: 1px solid #e9e9e7;
  color: var(--muted);
}

.footer small { font-size: 12px; line-height: 1.8; }
.footer .company { display: block; letter-spacing: 0.06em; }
.footer address { margin-top: 3px; font-size: 12px; font-style: normal; line-height: 1.8; }
.tax-id { flex-shrink: 0; }

@media (max-width: 1100px) {
  .drawing { display: none; }
}

@media (max-width: 600px) {
  .page { padding: 30px 24px 22px; }
  .logo { width: min(340px, 100%); }
  .main { min-height: 390px; padding-block: 65px 76px; }
  .accent { width: 42px; margin-bottom: 25px; }
  h1 { font-size: clamp(38px, 9.9vw, 58px); letter-spacing: -0.05em; }
  .message p { margin-top: 25px; font-size: 16px; max-width: 270px; }
  .email { font-size: clamp(17px, 4.6vw, 22px); gap: 15px; }
  .email svg { width: 20px; flex-basis: 20px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 9px; }
  .footer small, .footer address { font-size: 11px; }
  .footer .company { letter-spacing: 0.045em; }
}

@media (max-width: 359px) {
  .page { padding-inline: 20px; }
  .email { gap: 10px; }
}

@media (max-height: 560px) and (min-width: 601px) {
  .main { min-height: auto; padding-block: 48px; }
  h1 { font-size: 58px; }
}
