* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.hush-doc-page,
body.hush-form-page {
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #17131f;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(255, 255, 255, 0.96) 0,
      rgba(255, 255, 255, 0.86) 24%,
      transparent 48%
    ),
    radial-gradient(circle at 86% 16%, rgba(255, 93, 143, 0.15) 0, transparent 32%),
    radial-gradient(circle at 64% 86%, rgba(102, 85, 238, 0.12) 0, transparent 34%),
    linear-gradient(135deg, #fff 0%, #fff3ec 48%, #ffd9c9 100%);
}

body.hush-doc-page a,
body.hush-form-page a {
  color: inherit;
}

.hush-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hush-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.hush-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #17131f;
  text-decoration: none;
}

.hush-brand-mark {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #7868ff, #5c4ee8);
  box-shadow: 0 16px 34px rgba(102, 85, 238, 0.22);
  font-family: 'Trebuchet MS', 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.hush-brand-name {
  font-family: 'Trebuchet MS', 'Comic Sans MS', cursive;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.hush-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hush-nav a,
.hush-side-links a {
  border: 1px solid rgba(102, 85, 238, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #3b3430;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hush-nav a {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 650;
}

.hush-nav a:hover,
.hush-side-links a:hover {
  border-color: rgba(102, 85, 238, 0.38);
  color: #65e;
  transform: translateY(-1px);
}

.hush-doc-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.hush-doc-layout::before {
  position: absolute;
  top: 42px;
  inset-inline-start: 164px;
  z-index: 0;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(102, 85, 238, 0.12);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.hush-side-card,
.hush-paper,
.hush-form-card,
.hush-visual-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 80px rgba(69, 51, 76, 0.14);
  backdrop-filter: blur(18px);
}

.hush-side-card {
  display: none;
}

.hush-side-visual {
  position: relative;
  overflow: hidden;
  height: 220px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: #d7d2d1;
}

.hush-side-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hush-side-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.34) 100%);
  content: '';
}

.hush-side-heart {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  z-index: 1;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #ff5d8f;
  box-shadow: 0 12px 28px rgba(255, 93, 143, 0.34);
  font-size: 25px;
  font-weight: 900;
}

.hush-side-links {
  display: grid;
  gap: 9px;
}

.hush-side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 650;
}

.hush-side-links a::after {
  color: #ff5d8f;
  content: '♥';
}

.hush-paper {
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 54px);
}

.hush-paper::before {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 210px;
  height: 210px;
  border-radius: 0 30px 0 210px;
  background: linear-gradient(145deg, rgba(255, 93, 143, 0.14), rgba(102, 85, 238, 0.1));
  content: '';
  pointer-events: none;
}

.hush-paper > * {
  position: relative;
  z-index: 1;
}

.hush-paper h1 {
  margin: 0 0 24px;
  color: #17131f;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.hush-paper h2 {
  margin: 28px 0 12px;
  color: #21172c;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.hush-paper p,
.hush-paper li {
  color: #4f4658;
  font-size: 15px;
  line-height: 1.78;
}

.hush-paper p {
  margin: 0 0 14px;
}

.hush-paper ul {
  margin: 0 0 20px;
  padding-inline-start: 22px;
}

.hush-paper a {
  color: #65e;
  text-decoration: underline;
}

.hush-paper hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: rgba(102, 85, 238, 0.14);
}

.hush-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.hush-form-card {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 46px);
}

.hush-form-card h1 {
  margin: 0;
  color: #17131f;
  font-size: 28px;
  font-weight: 850;
}

.hush-form-card h2 {
  margin-top: 26px;
  color: #21172c;
  font-size: 22px;
  font-weight: 800;
}

.hush-app-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hush-form-card input {
  min-height: 46px;
  border-radius: 14px !important;
}

.hush-form-card button[type='submit'] {
  min-height: 48px;
  border-radius: 999px !important;
  background: #65e !important;
  font-weight: 750;
  box-shadow: 0 16px 32px rgba(102, 85, 238, 0.24);
}

.hush-form-card button[type='submit']:hover {
  background: #5849dd !important;
}

.hush-visual-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
}

.hush-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hush-visual-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.34) 100%);
  content: '';
}

.hush-actions {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 1;
  display: flex;
  gap: 12px;
}

.hush-action {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #65e;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  font-size: 26px;
  font-weight: 900;
}

.hush-action-like {
  color: #ff5d8f;
}

@media (width <= 900px) {
  .hush-shell {
    width: min(100% - 32px, 720px);
    padding-top: 24px;
  }

  .hush-topbar,
  .hush-form-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .hush-topbar {
    display: block;
  }

  .hush-nav {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .hush-doc-layout {
    grid-template-columns: 1fr;
  }

  .hush-side-card {
    position: relative;
    top: auto;
  }

  .hush-side-visual {
    height: 180px;
  }

  .hush-form-layout {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (width <= 560px) {
  .hush-brand-name {
    font-size: 42px;
  }

  .hush-nav a {
    padding: 8px 11px;
    font-size: 12px;
  }

  .hush-paper,
  .hush-form-card {
    border-radius: 24px;
    padding: 24px 18px;
  }

  .hush-paper h1 {
    font-size: 32px;
  }

  .hush-visual-card {
    min-height: 340px;
  }

  .hush-visual-card img {
    min-height: 340px;
  }
}
