.phish-product {
  --phish-ink: #1b2417;
  --phish-muted: #53614b;
  color: var(--phish-ink);
}
.phish-product :is(h1, h2, h3) {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.phish-product h1 { max-width: 16ch; font-size: clamp(42px, 6vw, 80px); }
.phish-product h2 { font-size: clamp(30px, 4vw, 51px); }
.phish-product h3 { font-size: 21px; }
.phish-product p { margin: 14px 0 0; line-height: 1.65; }
.phish-product section[id],
.phish-product article[id],
.phish-product h2[id],
.phish-product .phish-editor,
.phish-product .phish-campaign { scroll-margin-top: 122px; }

.phish-hero {
  padding-block: clamp(46px, 7vw, 88px);
  background: radial-gradient(ellipse at 86% 20%, #233722, transparent 60%), #101b13;
  color: #f5f8f2;
}
.phish-product .phish-hero h1 { color: #f5f8f2; }
.phish-hero__inner,
.phish-format,
.phish-route__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}
.phish-hero p { max-width: 46ch; margin-bottom: 28px; color: #d1dccb; font-size: 18px; }
.phish-hero__formats { border-top: 1px solid #4b6449; }
.phish-hero__formats a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid #4b6449;
  color: #fff;
  text-decoration: none;
}
.phish-hero__formats a::after { grid-area: 1 / 2 / 3; color: #b9e37e; content: "↓"; }
.phish-hero__formats a:hover { color: #b9e37e; }
.phish-hero__formats strong { font-size: clamp(18px, 2vw, 24px); }
.phish-hero__formats span { grid-column: 1; color: #c0cdbb; font-size: 14px; }

.phish-section { padding-block: clamp(44px, 7vw, 92px); }
.phish-format p,
.phish-classic__intro p,
.phish-editor p { max-width: 68ch; color: var(--phish-muted); }
.phish-route .shell > a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.phish-steps { display: grid; gap: 12px; padding-left: 18px; border-left: 2px solid #80ae4f; }
.phish-steps > div { padding: 16px 20px; border-radius: 12px; background: #f3f6ef; }
.phish-steps p { margin-top: 3px; }

.phish-classic { background: #f5f7f3; }
.phish-classic__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 20px 52px;
  align-items: end;
}
.phish-classic__links { display: grid; gap: 8px; }
.phish-classic__links a {
  padding: 10px 0;
  border-bottom: 1px solid #b5c5ad;
  color: #284e24;
  font-weight: 700;
  text-decoration: none;
}
.phish-classic__links a:hover { text-decoration: underline; }
.phish-editor {
  margin-top: clamp(26px, 5vw, 58px);
  padding: clamp(18px, 4vw, 46px);
  border: 1px solid #d9e2d3;
  border-radius: 22px;
  background: #fff;
}
.phish-editor h3,
.phish-campaign h3 { font-size: clamp(25px, 3.2vw, 38px); }
.phish-editor__header { max-width: 76ch; }
.phish-editor .phish-figure { margin-top: 20px; }
.phish-editor .phish-figure a { border-radius: 10px; }
.phish-editor .phish-editor__note { max-width: 85ch; }
.phish-campaign { margin-top: clamp(36px, 6vw, 74px); }
.phish-campaign__settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 22px 0 0; }
.phish-campaign__settings > div { padding: 20px 0; border-top: 1px solid #c5d2bc; }
.phish-campaign__settings dt { color: #263b21; font-size: 20px; font-weight: 750; }
.phish-campaign__settings dd { max-width: 56ch; margin: 8px 0 0; color: var(--phish-muted); line-height: 1.6; }

.phish-route { background: #edf3e8; }
.phish-route__intro blockquote {
  margin: 0;
  padding: clamp(18px, 3vw, 32px);
  border-left: 3px solid #6a9d3d;
  border-radius: 0 12px 12px 0;
  background: #fff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}
.phish-branches,
.phish-results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.phish-branches { margin-block: 34px 20px; }
.phish-branches > div,
.phish-results article { padding-top: 16px; border-top: 1px solid #9cad91; }
.phish-route .phish-route__note {
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: clamp(16px, 2.5vw, 26px);
  border-left: 3px solid #6a9d3d;
  border-radius: 0 12px 12px 0;
  background: #f8fbf6;
}
.phish-route__note + .phish-figure { margin-top: 16px; }
.phish-figure { margin: 26px 0 0; }
.phish-figure a { display: block; overflow: hidden; border: 1px solid #cdd7c7; border-radius: 14px; background: #f5f6f9; }
.phish-figure a:focus-visible { outline: 3px solid #406d31; outline-offset: 4px; }
.phish-figure img { display: block; width: 100%; height: auto; }
.phish-figure figcaption { margin-top: 10px; color: #515e48; font-size: 14px; }
.phish-results { background: #f5f7f3; }
.phish-results h2 { font-size: clamp(24px, 2.6vw, 34px); }
.phish-results article p { color: var(--phish-muted); }

.dialog-example { scroll-margin-top: 80px; }
.dialog-example__report {
  color: #253047;
  border: 1px solid #e1e5ed;
  border-radius: 16px;
  background: #fff;
}
.dialog-example__toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 18px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid #e1e5ed;
}
.dialog-example__toolbar h3 { margin: 0; font-size: 20px; }
.dialog-example__toolbar span,
.dialog-example__message time,
.dialog-example__subject { color: #596579; font-size: 13px; }
.dialog-example__messages {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 28px);
  list-style: none;
}
.dialog-example__message {
  margin-right: 48px;
  padding: 16px 20px;
  border: 1px solid #e1e5ed;
  border-radius: 12px;
  background: #f7f8fa;
}
.dialog-example__message[data-direction="outbound"] {
  margin-inline: 48px 0;
  border-color: #e2d9f5;
  background: #f4f0fb;
}
.dialog-example__message header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.dialog-example__message p { margin: 8px 0 0; font-size: 15px; line-height: 1.65; }
.dialog-example__message .dialog-example__link { color: #53349b; font-weight: 700; }
.dialog-example__link span { color: #596579; font-size: 13px; font-weight: 500; }

@media (max-width: 600px) {
  .dialog-example__message,
  .dialog-example__message[data-direction="outbound"] { margin-inline: 0; padding: 14px; }
}

@media (max-width: 760px) {
  .phish-hero__inner,
  .phish-format,
  .phish-classic__intro,
  .phish-campaign__settings,
  .phish-route__intro,
  .phish-branches,
  .phish-results__grid { grid-template-columns: 1fr; }
}
