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

:root {
  color-scheme: light;
  --ink: #123c4b;
  --muted: #597783;
  --blue: #4bb1d4;
  --blue-deep: #1385ad;
  --blue-pale: #eaf6fa;
  --yellow: #ffd13f;
  --mint: #e5f5ed;
  --white: #fff;
  --page: #f8fbfc;
  --font: 'Montserrat', 'Arial', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.topbar,
.footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { min-height: 92px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand__logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand__name { color: #536b75; font-size: 13px; line-height: 1.45; }

.invite-label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.invite-label span { width: 7px; height: 7px; border-radius: 50%; background: #70c8a0; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1240px, calc(100% - 64px));
  min-height: 550px;
  margin: 8px auto 0;
  padding: clamp(42px, 6vw, 82px) clamp(38px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  border-radius: 64px;
  background: var(--blue);
  color: var(--white);
}

.hero__copy { position: relative; z-index: 2; max-width: 530px; }

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: break-word; }

.hero h1 {
  max-width: 550px;
  margin: 0;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.hero__description {
  max-width: 465px;
  margin: 23px 0 30px;
  color: rgba(255, 255, 255, .94);
  font-size: 16px;
  line-height: 1.65;
}

.button {
  min-height: 58px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 16px/1.2 var(--font);
  text-decoration: none;
  box-shadow: 0 9px 0 rgba(18, 60, 75, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 rgba(18, 60, 75, .08); }
.button:active { transform: translateY(1px); box-shadow: 0 5px 0 rgba(18, 60, 75, .08); }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #145a74; outline-offset: 4px; }
.button span { font-size: 18px; }

.hero__note { margin: 22px 0 0; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 600; }

.hero__visual { position: relative; min-width: 0; padding: 14px 8px 23px; }

.hero__photo-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.13;
  border-radius: 44% 42% 39% 34% / 34% 36% 42% 40%;
  background: #b9e3ee;
  transform: rotate(2deg);
  box-shadow: 0 20px 45px rgba(11, 83, 108, .12);
}

.hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.hero__tag {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 11px;
  min-width: 164px;
  padding: 17px 20px 17px 64px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(19, 74, 96, .12);
  transform: rotate(-3deg);
}

.hero__tag span {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 16px;
}

.hero__bubble { position: absolute; z-index: 0; display: block; border: 2px solid rgba(255,255,255,.38); border-radius: 50%; }
.hero__bubble--one { width: 22px; height: 22px; top: -8px; left: 2px; }
.hero__bubble--two { width: 13px; height: 13px; top: 25px; right: 0; }
.hero__wave { position: absolute; left: -19px; bottom: 15px; color: rgba(255,255,255,.35); font-size: 92px; line-height: .4; transform: rotate(-14deg); }
.hero__decor { position: absolute; z-index: -1; color: rgba(255,255,255,.14); font-size: 150px; line-height: 1; }
.hero__decor--left { left: -31px; bottom: -34px; transform: rotate(-21deg); }
.hero__decor--right { top: -72px; right: 28%; font-size: 112px; transform: rotate(14deg); }

.intro {
  width: min(1080px, calc(100% - 64px));
  margin: 104px auto 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 50px;
}

.eyebrow--blue { margin-bottom: 12px; color: var(--blue-deep); }
.intro h2, .request h2 { margin: 0; font-size: clamp(32px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.16; }
.intro__text { max-width: 56ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.details {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-card { min-height: 215px; padding: 25px 27px; border-radius: 26px; }
.detail-card--blue { background: var(--blue-pale); }
.detail-card--yellow { background: #fff3c8; }
.detail-card--mint { background: var(--mint); }
.detail-card__icon { width: 45px; height: 45px; display: grid; place-content: center; margin-bottom: 24px; border-radius: 16px; background: #fff; color: var(--blue-deep); font-size: 24px; font-weight: 700; }
.detail-card:first-child .detail-card__icon { font-size: 11px; }
.detail-card--yellow .detail-card__icon { color: #986b00; font-size: 13px; }
.detail-card h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.detail-card p { max-width: 32ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.request {
  position: relative;
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto 88px;
  padding: clamp(34px, 5vw, 62px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 7vw, 86px);
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(33, 98, 120, .07);
}

.request__copy { position: relative; padding-bottom: 80px; }
.request__copy > p:last-of-type { max-width: 36ch; margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.request__stamp { position: absolute; left: 0; bottom: -4px; display: flex; align-items: center; gap: 8px; color: #597783; font-size: 11px; font-weight: 700; line-height: 1.05; }
.request__stamp img { width: 37px; height: 37px; }

.request-form { display: grid; gap: 17px; align-content: center; }
.field { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.field input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid #d9e7eb; border-radius: 14px; background: #fbfdfe; color: var(--ink); font: 500 16px var(--font); }
.field input::placeholder { color: #597783; font-weight: 400; }
.field input:focus-visible { border-color: var(--blue-deep); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.consent input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue-deep); }
.consent a { text-decoration-color: #aac3cb; text-underline-offset: 2px; }
.button--submit { width: 100%; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff3c8; color: #765600; font-size: 14px; line-height: 1.5; }

.footer { min-height: 100px; border-top: 1px solid #e4eef1; color: #597783; font-size: 13px; }
.brand--footer .brand__logo { width: 39px; height: 39px; }
.brand--footer .brand__name { font-size: 12px; }

@media (max-width: 900px) {
  .hero { min-height: 470px; grid-template-columns: 1fr .9fr; gap: 18px; padding-inline: 44px; border-radius: 48px; }
  .hero h1 { font-size: clamp(36px, 5.6vw, 50px); }
  .hero__description { font-size: 14px; }
  .hero__tag { right: -20px; min-width: 145px; }
  .intro { margin-top: 78px; }
  .details { gap: 12px; }
  .detail-card { padding: 21px; }
}

@media (max-width: 650px) {
  .topbar, .footer { width: calc(100% - 36px); }
  .topbar { min-height: 76px; }
  .brand { gap: 9px; }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 11px; }
  .invite-label { max-width: 160px; justify-content: flex-end; font-size: 11px; line-height: 1.35; text-align: right; }
  .invite-label span { flex: 0 0 auto; }
  .hero { width: calc(100% - 24px); min-height: 0; padding: 36px 25px 29px; grid-template-columns: 1fr; gap: 8px; border-radius: 34px; }
  .eyebrow { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { max-width: 440px; font-size: clamp(35px, 10vw, 46px); }
  .hero__description { max-width: 430px; margin: 16px 0 21px; font-size: 15px; line-height: 1.6; }
  .button { min-height: 52px; padding-inline: 21px; font-size: 14px; }
  .hero__note { margin-top: 15px; font-size: 12px; }
  .hero__visual { width: 88%; margin: 10px auto 3px; padding: 7px 4px 18px; }
  .hero__photo-wrap { aspect-ratio: 1.2; border-radius: 43% 42% 38% 36% / 34% 36% 42% 42%; }
  .hero__tag { right: -22px; bottom: 4px; min-width: 152px; padding: 13px 12px 13px 51px; font-size: 11px; border-radius: 17px; }
  .hero__tag span { left: 10px; width: 32px; height: 32px; font-size: 13px; }
  .hero__decor { font-size: 105px; }
  .hero__decor--left { left: -20px; bottom: -22px; }
  .hero__decor--right { top: 38%; right: -6px; font-size: 74px; }
  .intro { width: calc(100% - 42px); margin: 64px auto 23px; grid-template-columns: 1fr; gap: 13px; }
  .intro h2, .request h2 { font-size: 31px; }
  .intro__text { font-size: 15px; }
  .details { width: calc(100% - 42px); margin-bottom: 70px; grid-template-columns: 1fr; gap: 10px; }
  .detail-card { min-height: 0; padding: 18px 19px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; border-radius: 20px; }
  .detail-card__icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; border-radius: 14px; }
  .detail-card h3 { margin: 0 0 4px; font-size: 16px; }
  .detail-card p { font-size: 13px; }
  .request { width: calc(100% - 24px); margin-bottom: 56px; padding: 29px 23px; grid-template-columns: 1fr; gap: 15px; border-radius: 27px; }
  .request__copy { padding: 0 0 47px; }
  .request__copy > p:last-of-type { margin-top: 11px; font-size: 15px; }
  .request__stamp { bottom: 0; }
  .request-form { gap: 14px; }
  .field { font-size: 13px; }
  .field input { min-height: 50px; font-size: 16px; }
  .consent { font-size: 12px; }
  .footer { min-height: 83px; }
  .footer > span { max-width: 130px; font-size: 11px; text-align: right; }
  .brand--footer .brand__name { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
