.amc-public-home {
  --ink: #123b2c;
  --muted: #486057;
  --gold: #c5a15a;
  --paper: #f8f7f3;
  --sage: #e8efe9;
  --line: #d7e1d9;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 Inter, "Segoe UI", system-ui, sans-serif;
}
.amc-public-home *, .amc-public-home *::before, .amc-public-home *::after { box-sizing: border-box; }
.amc-public-home .wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.amc-public-home h1, .amc-public-home h2, .amc-public-home h3, .amc-public-home p { margin: 0; }
.amc-public-home h1 { font-size: clamp(1.95rem, 3.85vw, 3.7rem); line-height: 1.05; letter-spacing: -.05em; }
.amc-public-home h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.035em; }
.amc-public-home h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.amc-public-home a { color: inherit; text-underline-offset: .24em; }
.amc-public-home a:focus-visible { outline: 3px solid #946913; outline-offset: 4px; }
.amc-public-home .site-header { background: var(--paper); border-bottom: 1px solid var(--gold); }
.amc-public-home .header-content, .amc-public-home .footer-content, .amc-public-home .brand, .amc-public-home .about-nav { display: flex; align-items: center; gap: 16px; }
.amc-public-home .header-content, .amc-public-home .footer-content { justify-content: space-between; padding-block: 14px; }
.amc-public-home .brand { gap: 12px; line-height: 1.25; }
.amc-public-home .brand img { border-radius: 5px; object-fit: contain; }
.amc-public-home .brand strong, .amc-public-home .site-footer strong { display: block; font-size: 1.2rem; }
.amc-public-home .brand span { display: block; color: var(--muted); font-size: .79rem; }
.amc-public-home .about-nav { font-size: .9rem; font-weight: 650; }
.amc-public-home .et_pb_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 8px 16px; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.amc-public-home .et_pb_button:hover { background: #215540; }
.amc-public-home .hero { background: radial-gradient(ellipse at 88% 10%, #dce9df, transparent 65%), linear-gradient(120deg, #f6f5ee, var(--sage)); border-bottom: 1px solid var(--line); }
.amc-public-home .hero-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(22px, 4vw, 58px); padding-block: clamp(28px, 3.6vw, 52px); }
.amc-public-home .eyebrow { margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; font-size: .76rem; }
.amc-public-home .intro { margin: 15px 0 22px; max-width: 48ch; color: var(--muted); }
.amc-public-home .membership { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.amc-public-home .portal-preview { margin: 0; overflow: hidden; background: #f7f4ea; border: 1px solid #b7cbbd; border-radius: 16px; box-shadow: 0 18px 36px #123b2c21; }
.amc-public-home .preview-bar, .amc-public-home .preview-brand { display: flex; align-items: center; gap: 8px; }
.amc-public-home .preview-bar { justify-content: space-between; padding: 8px 13px; border-bottom: 1px solid var(--gold); background: white; font-size: .75rem; }
.amc-public-home .preview-brand { font-weight: 750; }
.amc-public-home .preview-bar > span:last-child { color: var(--muted); }
.amc-public-home .preview-shell { display: grid; grid-template-columns: 44px minmax(0,1fr); }
.amc-public-home .preview-sidebar { display: grid; align-content: start; justify-items: center; gap: 17px; padding-top: 16px; color: #dce8df; background: var(--ink); }
.amc-public-home .preview-icon { position: relative; display: block; width: 17px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; }
.amc-public-home .preview-icon::after { content: ""; position: absolute; }
.amc-public-home .preview-icon.video::after { top: 2px; left: 5px; border-width: 3px 0 3px 5px; }
.amc-public-home .preview-icon.folder::after { width: 8px; height: 3px; top: -4px; left: -1px; border-width: 1px; }
.amc-public-home .preview-icon.letter { width: 13px; }
.amc-public-home .preview-icon.letter::after { inset: 3px 2px; border-width: 1px; }
.amc-public-home .home-icon { color: #f1cf79; margin-top: 3px; width: 13px; height: 10px; border-top: 0; }
.amc-public-home .home-icon::after { width: 10px; height: 10px; top: -5px; left: 0; border: solid currentColor; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
.amc-public-home .preview-body { padding: 12px; }
.amc-public-home .preview-welcome { display: grid; gap: 2px; padding: 12px 15px; border-radius: 8px; color: white; background: linear-gradient(110deg,#103a2b,#2d624c); }
.amc-public-home .preview-welcome strong { font-size: 1.08rem; }
.amc-public-home .preview-welcome span { font-size: .75rem; }
.amc-public-home .preview-heading { margin-block: 10px 7px; font-size: .95rem; font-weight: 750; letter-spacing: 0; }
.amc-public-home .preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.amc-public-home .preview-grid .preview-topic { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: .78rem; font-weight: 700; padding: 0 7px 5px; }
.amc-public-home .preview-grid img { display: block; width: calc(100% + 14px); height: auto; aspect-ratio: 2.5; object-fit: cover; margin: 0 -7px 4px; }
.amc-public-home .content { display: grid; gap: 22px; padding-block: 32px 36px; }
.amc-public-home .section-intro { margin-top: 8px; color: var(--muted); }
.amc-public-home .features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.amc-public-home .feature { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 5px 14px #123b2c09; }
.amc-public-home .feature p, .amc-public-home .recovery p { color: var(--muted); margin-top: 7px; }
.amc-public-home .icon { position: relative; width: 28px; height: 22px; border: 2px solid currentColor; border-radius: 4px; margin-bottom: 13px; }
.amc-public-home .icon-tile { display: grid; place-items: center; width: 44px; height: 42px; margin-bottom: 13px; border-radius: 11px; background: var(--sage); }
.amc-public-home .icon-tile .icon { margin: 0; }
.amc-public-home .icon::after { content: ""; position: absolute; }
.amc-public-home .video::after { top: 4px; left: 9px; border: 5px solid transparent; border-right: 0; border-left: 7px solid currentColor; }
.amc-public-home .folder::after { width: 12px; height: 5px; border: 2px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; top: -6px; left: -2px; }
.amc-public-home .letter { width: 20px; }
.amc-public-home .letter::after { inset: 5px 3px; border-block: 2px solid currentColor; }
.amc-public-home .recovery { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 16px 20px; border-radius: 11px; border-left: 3px solid var(--gold); background: #eeefe6; }
.amc-public-home .recovery h2 { font-size: 1.25rem; }
.amc-public-home .recovery p { margin: 5px 0; }
.amc-public-home .email { margin: 3px 0 0; }
.amc-public-home .email::after { width: 14px; height: 14px; top: -5px; left: 5px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.amc-public-home .recovery a { font-weight: 700; }
.amc-public-home .site-footer { background: var(--ink); color: white; }
.amc-public-home .footer-content { padding-block: 20px; }
.amc-public-home .site-footer span, .amc-public-home .site-footer p { font-size: .86rem; color: #dce8df; }
@media (max-width: 820px) {
  .amc-public-home .wrap { width: calc(100% - 40px); }
  .amc-public-home .feature { padding: 15px; }
}
@media (max-width: 620px) {
  .amc-public-home .wrap { width: calc(100% - 32px); }
  .amc-public-home .header-policy { display: none; }
  .amc-public-home .brand img { width: 36px; height: 36px; }
  .amc-public-home .brand strong { font-size: 1rem; }
  .amc-public-home .brand span { font-size: .69rem; }
  .amc-public-home .header-content { gap: 8px; }
  .amc-public-home .header-content .et_pb_button { padding-inline: 10px; white-space: nowrap; font-size: .78rem; }
  .amc-public-home .hero-grid, .amc-public-home .features { grid-template-columns: 1fr; }
  .amc-public-home .preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amc-public-home .preview-shell { grid-template-columns: 34px minmax(0,1fr); }
  .amc-public-home .recovery { grid-template-columns: 1fr; gap: 8px; }
  .amc-public-home .footer-content { align-items: flex-start; flex-direction: column; }
}

/* Public homepage V3 */
.amc-public-home {
  --ink: #0b241c;
  --emerald: #205740;
  --gold: #d5b36c;
  --paper: #f9f8f3;
  --sage: #e6eee5;
}
.amc-public-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: radial-gradient(ellipse at 83% 82%, #205740 0%, transparent 66%), #0b241c;
}
.amc-public-home .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74%;
  height: 175%;
  right: -19%;
  top: -27%;
  border: 1px solid #d5b36c80;
  border-radius: 50%;
  transform: rotate(-27deg);
  background: linear-gradient(145deg, transparent 62%, #d5b36c36);
}
.amc-public-home .hero-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); padding-block: clamp(32px,5vw,70px); }
.amc-public-home .hero .eyebrow, .amc-public-home .hero h1 span { color: #e8c784; }
.amc-public-home .hero .eyebrow p::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 9px; vertical-align: middle; background: var(--gold); }
.amc-public-home .intro, .amc-public-home .membership { color: #e0e9e1; }
.amc-public-home .hero .et_pb_button { color: var(--ink); background: #e8c784; }
.amc-public-home .hero .et_pb_button:hover { background: #f3d79f; }
.amc-public-home .hero a:focus-visible, .amc-public-home .site-footer a:focus-visible { outline-color: #f3d79f; }
.amc-public-home .portal-preview {
  color: var(--ink);
  border: 5px solid #183a2e;
  border-radius: 15px;
  box-shadow: 0 0 0 1px #ffffff45, 0 22px 36px #020e0ab0;
}
.amc-public-home .preview-bar { padding-block: 7px; }
.amc-public-home .preview-heading { font-size: 1rem; }
.amc-public-home .preview-grid .preview-topic { font-size: .84rem; }
.amc-public-home .content { padding-block: clamp(32px,5vw,58px); gap: 28px; }
.amc-public-home .content > section:first-child > .eyebrow { color: var(--emerald); }
.amc-public-home .features { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); grid-template-rows: 1fr 1fr; gap: 15px; margin-top: 22px; }
.amc-public-home .feature { padding: clamp(16px,2.4vw,27px); overflow: hidden; }
.amc-public-home .feature h3 { font-size: 1.32rem; }
.amc-public-home .feature-training { grid-row: span 2; background: var(--sage); }
.amc-public-home .feature-training .icon-tile { background: #f5faf4; }
.amc-public-home .feature-resources, .amc-public-home .feature-letter { padding-right: clamp(92px,13vw,166px); }
.amc-public-home .feature-letter { background: #f5ebd7; border-color: #e6d8ba; }
.amc-public-home .feature-letter .icon-tile { background: #fff7e8; }
.amc-public-home .player-art { position: relative; margin: 18px 0 0; aspect-ratio: 2.3; overflow: hidden; border: 6px solid #183a2e; border-radius: 10px; box-shadow: 0 9px 19px #0b241c23; background: #183a2e; }
.amc-public-home .player-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.amc-public-home .player-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, #0b241cee); }
.amc-public-home .player-play { position: absolute; z-index: 1; inset: 50% auto auto 50%; translate: -50% -50%; width: 46px; height: 46px; background: #f9f8f3; border-radius: 50%; box-shadow: 0 4px 15px #0b241c45; }
.amc-public-home .player-play::after { content: ""; position: absolute; left: 19px; top: 15px; border: solid transparent; border-width: 8px 0 8px 12px; border-left-color: var(--emerald); }
.amc-public-home .player-controls { position: absolute; z-index: 1; bottom: 8px; inset-inline: 9px; height: 2px; background: #ffffff8c; }
.amc-public-home .folders-art, .amc-public-home .letter-art { position: absolute; right: clamp(12px,2.7vw,38px); top: 50%; translate: 0 -50%; width: clamp(62px,9vw,126px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--sage); }
.amc-public-home .folders-art i { position: absolute; width: 62%; height: 43%; background: #bed7c4; border: 1px solid #a4c1ae; border-radius: 5px; rotate: -12deg; translate: -7% -11%; }
.amc-public-home .folders-art i:nth-child(2) { width: 46%; height: 52%; background: repeating-linear-gradient(#fff 0 6px, #e1ece2 6px 8px); rotate: 10deg; translate: 10% -13%; }
.amc-public-home .folders-art i:last-child { background: #2b634b; border-color: #205740; rotate: -5deg; translate: 2% 17%; }
.amc-public-home .letter-art { background: #efe1c0; }
.amc-public-home .letter-art > div { position: relative; width: 50%; height: 66%; border: 1px solid #e1d4b8; border-radius: 4px; rotate: -10deg; background: repeating-linear-gradient(#fffdf5 0 8px,#e5d9bd 8px 10px); box-shadow: 3px 5px 10px #795f3035; }
.amc-public-home .letter-art span { position: absolute; bottom: 13%; right: -22%; padding: 2px 5px; background: #205740; color: white; border-radius: 3px; font-size: .7rem; font-weight: 750; }
.amc-public-home .site-footer { border-top: 1px solid var(--gold); }
.amc-public-home .footer-brand { display: flex; align-items: center; gap: 13px; }
.amc-public-home .footer-brand img { border-radius: 4px; }
.amc-public-home .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .amc-public-home .hero-grid, .amc-public-home .features { grid-template-columns: 1fr; grid-template-rows: auto; }
  .amc-public-home .feature-training { grid-row: auto; }
  .amc-public-home .preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amc-public-home .hero-copy .et_pb_button { min-width: 160px; }
}


/* Native Divi wrappers for the V3 layout. */
body.amc-public-home #page-container { padding-top: 0 !important; }
.amc-public-home #main-content { background: var(--paper); }
.amc-public-home .et-l--post :is(.et_pb_section,.et_pb_row,.et_pb_column,.et_pb_module) {
  min-width: 0;
  margin: 0;
}
.amc-public-home .et-l--post .et_pb_section { padding: 0; background-color: transparent; }
.amc-public-home .et-l--post .et_pb_row.wrap {
  width: min(calc(100% - 64px),1120px);
  max-width: none;
  margin-inline: auto;
}
.amc-public-home .et-l--post .et_pb_column.about-column { width: 100%; float: none; }
.amc-public-home :is(.hero-grid,.header-content,.footer-content) > .about-column { display: contents; }
.amc-public-home .et_pb_row.wrap::after, .amc-public-home .about-column::after { display: none; }
.amc-public-home .et-l--post .et_pb_text { color: inherit; line-height: inherit; }
.amc-public-home .et-l--post :is(h1,h2,h3,p) { padding: 0; color: inherit; }
.amc-public-home .et-l--post :is(h1,h2,h3) { font-weight: 750; }
.amc-public-home .et-l--post a { text-decoration: underline; }
.amc-public-home .et-l--post .et_pb_button {
  border: 0;
  padding: 8px 16px !important;
  font-size: inherit;
  text-decoration: none;
}
.amc-public-home .et-l--post .et_pb_button::after { display: none; }
.amc-public-home .et-l--post .about-hero-login.et_pb_button::after {
  content: "→";
  display: inline;
  position: static;
  margin: 0;
  opacity: 1;
  font: inherit;
}
.amc-public-home .about-logo { flex: 0 0 48px; }
.amc-public-home .about-mini-logo { flex: 0 0 24px; }
.amc-public-home .et_pb_image .et_pb_image_wrap { display: block; }
.amc-public-home .about-logo img, .amc-public-home .about-mini-logo img { display: block; width: 100%; }
.amc-public-home .about-preview-label { color: var(--muted); }
.amc-public-home .preview-shell > .about-art,
.amc-public-home .preview-shell > .about-art .et_pb_text_inner { display: contents; }
.amc-public-home .preview-welcome span, .amc-public-home .footer-brand span { display: block; }
.amc-public-home .preview-heading h2 { font: inherit; letter-spacing: 0; }
.amc-public-home .preview-topic { display: block; }
.amc-public-home .preview-topic .et_pb_image img { max-width: none; }
.amc-public-home .et-l--post .about-content-section { padding-block: clamp(32px,5vw,58px); }
.amc-public-home .et-l--post :is(.about-features-row,.about-recovery-row) { padding: 0; }
.amc-public-home .about-features-row .eyebrow { color: var(--emerald); }
.amc-public-home .et-l--post .about-recovery-row { margin-top: 28px; }
.amc-public-home .player-art .et_pb_image, .amc-public-home .player-art .et_pb_image_wrap { height: 100%; }
.amc-public-home .feature > .about-art:has(:is(.folders-art,.letter-art)),
.amc-public-home .feature > .about-art:has(:is(.folders-art,.letter-art)) .et_pb_text_inner,
.amc-public-home .player-art > .about-art, .amc-public-home .player-art > .about-art .et_pb_text_inner { display: contents; }
@media (max-width: 820px) {
  .amc-public-home .et-l--post .et_pb_row.wrap { width: calc(100% - 40px); }
}
@media (max-width: 620px) {
  .amc-public-home .et-l--post .et_pb_row.wrap { width: calc(100% - 32px); }
  .amc-public-home .brand .about-logo { flex-basis: 36px; }
  .amc-public-home .brand img { width: 36px; height: 36px; }
  .amc-public-home .header-content .et_pb_button { padding-inline: 10px !important; }
}

/* Divi 5 defaults to vertically stacked groups and applies gutter spacing. */
body.amc-public-home .et-l--post .et_pb_module { margin: 0 !important; }
body.amc-public-home .et-l--post .hero { background-color: #0b241c; }
body.amc-public-home .et-l--post .site-footer { background-color: var(--ink); }
body.amc-public-home .et-l--post :is(.brand,.footer-brand,.about-nav,.preview-bar,.preview-brand) {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
body.amc-public-home .et-l--post :is(.preview-shell,.preview-grid,.features,.recovery) { display: grid; }
body.amc-public-home .et-l--post .preview-welcome { color: white; }
body.amc-public-home .et-l--post .hero .eyebrow { color: #e8c784; }
body.amc-public-home .et-l--post .eyebrow { margin-bottom: 12px !important; }
body.amc-public-home .et-l--post .intro { margin: 15px 0 22px !important; color: #e0e9e1; }
body.amc-public-home .et-l--post .membership { margin-top: 10px !important; color: #e0e9e1; }
body.amc-public-home .et-l--post .section-intro { margin-top: 8px !important; color: var(--muted); }
body.amc-public-home .et-l--post .features { margin-top: 22px !important; }
body.amc-public-home .et-l--post .feature p,
body.amc-public-home .et-l--post .recovery p { color: var(--muted); }
body.amc-public-home .et-l--post .preview-heading { margin-block: 10px 7px !important; }
body.amc-public-home .et-l--post .player-art { margin-top: 18px !important; }
body.amc-public-home .et-l--post .player-art .et_pb_image { width: 100%; }
body.amc-public-home .et-l--post .about-header-login.et_pb_button { color: white; }
body.amc-public-home .et-l--post a:focus-visible { outline: 3px solid #946913 !important; outline-offset: 4px; }
body.amc-public-home .et-l--post :is(.hero,.site-footer) a:focus-visible { outline-color: #f3d79f !important; }
body.amc-public-home .et-l--post :is(.about-column,.hero-copy,.portal-preview,.preview-shell,.preview-body,.preview-topic,.feature,.about-recovery-copy,.player-art) { gap: 0; }
body.amc-public-home .et-l--post .preview-grid { gap: 8px; }
body.amc-public-home .et-l--post .features { gap: 15px; }
body.amc-public-home .et-l--post .recovery { gap: 15px; }
body.amc-public-home .et-l--post .player-art .et_pb_image { position: absolute; inset: 0; }
body.amc-public-home .et-l--post .player-art .et_pb_image_wrap { width: 100%; }
body.amc-public-home .et-l--post .player-art .et_pb_image img { display: block; width: 100%; height: 100%; max-width: none; }
body.amc-public-home .et-l--post .about-content-section { gap: 0; }
body.amc-public-home .et-l--post .about-features-row .section-intro { margin-top: 8px !important; }
body.amc-public-home .et-l--post .et_pb_row.about-recovery-row { margin-top: 28px; }
@media (max-width: 620px) {
  body.amc-public-home .et-l--post .recovery { gap: 8px; }
}
