/* DMFIRST — enterprise-inspired editorial theme. All original site copy and links preserved. */
:root{
  color-scheme:light;
  --brand:#9f252b;
  --brand-deep:#751d25;
  --brand-dark:#391417;
  --brand-accent:#eb5949;
  --ink:#192130;
  --body:#4b5669;
  --paper:#ffffff;
  --cloud:#f9fafc;
  --cream:#fff8ed;
  --line:#e8e9ef;
  --soft-shadow:0 15px 45px rgba(22,29,41,.06);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #f0a85b;outline-offset:4px}
button,input{font:inherit}
img{max-width:100%;height:auto}
.site{min-height:100vh;background:var(--paper)}
main{width:100%}

/* Burgundy hero, crisp corporate navigation, restrained accent orange. */
.intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:80px auto auto auto;
  grid-template-areas:"brand actions" "logo logo" "mid mid" "copy copy";
  justify-items:center;
  align-content:start;
  padding:0 max(26px,calc((100vw - 1200px)/2)) 140px;
  min-height:660px;
  background:linear-gradient(180deg,#a02a30 0,#a02a30 80px,#391415 80px,#301215 100%);
  color:#fff;
  text-align:center;
  position:relative;
  isolation:isolate;
}
.intro::before{
  content:"";position:absolute;z-index:-1;
  inset:80px 0 0;
  background:radial-gradient(ellipse at 50% 28%,rgba(190,77,63,.14),transparent 62%);
  pointer-events:none;
}
.brand-name{
  grid-area:brand;justify-self:start;align-self:center;
  font-size:22px;line-height:1;font-weight:800;
  letter-spacing:.005em;margin:0;text-align:left;
}
.hero-logo{
  grid-area:logo;display:block;width:180px;height:180px;
  border-radius:24px;object-fit:cover;
  margin:62px auto 0;
  border:2px solid rgba(240,102,76,.85);
  box-shadow:0 24px 45px rgba(0,0,0,.22),0 0 0 6px rgba(255,255,255,.04);
  background:#09221f;
}
.top-actions{
  grid-area:actions;justify-self:end;align-self:center;
  display:flex;gap:12px;margin:0;
}
.primary-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:132px;height:44px;padding:0 23px;
  border-radius:999px;border:1px solid transparent;
  background:linear-gradient(115deg,#f4a33a,#e7554b);
  color:#fff;font-size:15px;font-weight:800;line-height:1.2;
  box-shadow:0 6px 19px rgba(21,4,8,.12);
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.primary-btn:hover,.banner-btn:hover{transform:translateY(-2px);box-shadow:0 12px 22px rgba(57,20,23,.15)}
.top-actions .primary-btn:first-child{
  background:#7e1b23;border-color:rgba(255,255,255,.10);box-shadow:none;
}
.top-actions .primary-btn:last-child{
  background:#fff;color:#9b2630;box-shadow:none;
}
.top-actions .primary-btn{min-width:102px;height:42px;font-size:14px}
.intro-copy{
  grid-area:copy;margin:42px auto 0;max-width:880px;
  font-size:20px;line-height:1.72;font-weight:500;
  color:rgba(255,249,248,.88);letter-spacing:-.012em;
}

/* Prominent secondary CTA, preserved brand image and page hierarchy. */
.join-banner{
  width:min(1130px,calc(100% - 48px));
  margin:-75px auto 100px;min-height:325px;
  padding:43px clamp(25px,5vw,68px);
  border-radius:26px;position:relative;z-index:1;
  background:linear-gradient(125deg,#621f27,#41181c 66%,#35191d);
  color:#fff;border:1px solid rgba(255,225,220,.20);
  display:flex;justify-content:space-between;align-items:center;gap:35px;
  box-shadow:0 22px 50px rgba(55,15,22,.17);
}
.banner-copy h2{
  margin:0;color:#fff;font-weight:800;
  font-size:clamp(29px,3.5vw,43px);line-height:1.15;letter-spacing:-.035em;
}
.banner-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:207px;height:54px;margin-top:28px;padding:0 30px;
  border:0;border-radius:999px;
  background:linear-gradient(110deg,#f4a63b,#ef5a49);
  color:#fff;font-size:15px;font-weight:800;
  transition:transform .18s ease,box-shadow .18s ease;
}
.banner-logo{
  display:block;flex:0 0 auto;width:230px;height:230px;
  border-radius:22px;object-fit:cover;
  border:1px solid rgba(248,159,125,.66);
  background:#09221f;
  box-shadow:0 20px 35px rgba(0,0,0,.19);
}

/* Clean white content, approachable cards and readable typography. */
.content-wrap{
  width:min(1110px,calc(100% - 48px));margin:0 auto;
  padding:0 0 5px;
}
.welcome{text-align:center;max-width:950px;margin:0 auto}
.welcome h2{
  margin:0;color:var(--ink);font-size:clamp(32px,4.2vw,51px);
  line-height:1.15;font-weight:800;letter-spacing:-.048em;
}
.welcome p{
  margin:26px auto 0;color:var(--body);
  font-size:18px;line-height:1.8;font-weight:500;max-width:910px;
}
.two-col{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;margin-top:67px;
}
.two-col > div{
  padding:38px 36px 40px;
  border:1px solid #f2e5d9;border-radius:24px;
  background:linear-gradient(140deg,var(--cream),#fffaf5 90%);
  min-width:0;
}
.two-col > div:nth-child(even){background:linear-gradient(140deg,#fff9f1,#fff7f6)}
.two-col h3,.today-card h2{
  margin:0;color:var(--ink);font-size:27px;
  font-weight:800;letter-spacing:-.033em;line-height:1.25;
}
.two-col h3::before{
  content:"";display:block;width:35px;height:4px;
  border-radius:999px;background:var(--brand-accent);margin-bottom:21px;
}
.two-col p{margin:20px 0 0;color:var(--body);font-size:17px;line-height:1.8;font-weight:500}
.today-card{
  margin:50px 0 110px;
  padding:48px 54px;
  border:1px solid #f1dbd5;border-radius:26px;
  background:linear-gradient(120deg,#fff8ed,#fff4ef);
  box-shadow:var(--soft-shadow);
}
.today-card h2{font-size:32px}
.today-card p{max-width:850px;margin:20px 0 28px;color:var(--body);font-size:18px;line-height:1.75;font-weight:500}
.today-btn{height:54px;min-width:224px;font-size:15px}

/* Dark footer contrasts with the white content, keeping disclosures visible. */
.lower-zone{
  background:linear-gradient(140deg,#38191e,#281318);
  color:#fff;padding:86px 0 26px;
}
.lower-wrap{
  width:min(1150px,calc(100% - 48px));margin:0 auto;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:70px;
}
.lower-wrap h2{margin:0 0 27px;font-size:clamp(25px,3vw,32px);line-height:1.22;letter-spacing:-.035em;font-weight:800}
.newsletter-form{display:grid;grid-template-columns:1fr 132px;gap:11px}
.newsletter-form input{
  width:100%;min-width:0;height:56px;border:1px solid rgba(255,255,255,.2);
  outline:none;border-radius:12px;padding:0 17px;
  background:#fff;color:var(--ink);font-size:15px;
}
.newsletter-form input::placeholder{color:#687285;opacity:1}
.newsletter-form input:focus-visible{outline:3px solid #f0a85b;outline-offset:2px}
.newsletter-form button{
  min-height:56px;border:0;border-radius:12px;
  background:#f0a045;color:#31171a;
  font-size:14px;font-weight:800;cursor:pointer;
  transition:background-color .2s ease;
}
.newsletter-form button:hover{background:#ffb85e}
.newsletter-form button:disabled{opacity:.7;cursor:default}
.small-note{margin:15px 0 0;color:rgba(255,255,255,.62);font-size:13px;line-height:1.65;font-weight:500}
.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.social-card{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:13px;text-align:center;
  min-height:135px;padding:18px;border-radius:16px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;font-size:15px;font-weight:700;
  transition:background .2s ease,transform .2s ease,border-color .2s ease;
}
.social-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.25)}
.social-icon{display:flex;color:var(--icon-color)}
.social-icon svg{width:30px;height:30px}
.footer-wrap{width:min(1150px,calc(100% - 48px));margin:75px auto 0;text-align:center}
.footer-line{width:100%;height:1px;background:rgba(255,255,255,.14)}
.footer-logo{
  width:96px;height:96px;display:block;object-fit:cover;
  border-radius:17px;border:1px solid rgba(240,171,126,.3);
  margin:35px auto 0;background:#09221f;
}
.footer-owner{margin:20px 0 0;font-size:15px;font-weight:800;color:#fff}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;margin:22px auto 0;max-width:900px}
.footer-links a{color:rgba(255,255,255,.77);font-size:13px;line-height:1.5;font-weight:600;transition:color .2s ease}
.footer-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer-disclosure{max-width:900px;margin:25px auto 0;font-size:12px;line-height:1.7;color:rgba(255,255,255,.65)}
.copyright{margin:15px 0 0;font-size:12px;font-weight:500;color:rgba(255,255,255,.52)}

@media (max-width:970px){
  .intro{padding-left:34px;padding-right:34px}
  .intro-copy{max-width:770px}
  .lower-wrap{gap:36px}
  .join-banner{padding:38px}
}
@media (max-width:720px){
  .intro{
    grid-template-rows:68px auto auto auto;
    min-height:0;padding:0 18px 105px;
    background:linear-gradient(180deg,#a02a30 0,#a02a30 68px,#391415 68px,#301215 100%);
  }
  .intro::before{inset:68px 0 0}
  .brand-name{font-size:18px;letter-spacing:-.02em}
  .top-actions{gap:7px}
  .top-actions .primary-btn{height:36px;min-width:0;padding:0 15px;font-size:12px}
  .hero-logo{width:160px;height:160px;border-radius:22px;margin-top:54px}
  .intro-copy{margin-top:36px;font-size:16px;line-height:1.72;max-width:560px}
  .desktop-break{display:none}
  .join-banner{
    width:calc(100% - 30px);margin:-38px auto 73px;
    padding:30px 26px;min-height:0;border-radius:22px;
    flex-direction:column;align-items:flex-start;gap:24px;
  }
  .banner-copy h2{font-size:clamp(26px,6vw,36px);line-height:1.2}
  .banner-btn{min-width:185px;height:50px;margin-top:23px;font-size:14px}
  .banner-logo{width:175px;height:175px;align-self:center;border-radius:20px}
  .content-wrap{width:calc(100% - 34px)}
  .welcome h2{font-size:clamp(29px,6.3vw,38px)}
  .welcome p{margin-top:18px;font-size:16px;line-height:1.75}
  .two-col{grid-template-columns:1fr;gap:18px;margin-top:42px}
  .two-col > div{padding:30px 25px;border-radius:19px}
  .two-col h3{font-size:24px}
  .two-col p{font-size:16px;margin-top:15px}
  .today-card{margin:35px 0 77px;padding:32px 25px;border-radius:21px}
  .today-card h2{font-size:28px}
  .today-card p{font-size:16px;margin:17px 0 25px}
  .today-btn{min-width:0;width:100%;height:52px;font-size:15px}
  .lower-zone{padding:68px 0 25px}
  .lower-wrap{width:calc(100% - 34px);grid-template-columns:1fr;gap:56px}
  .lower-wrap h2{font-size:28px;margin-bottom:23px}
  .newsletter-form{grid-template-columns:1fr 115px;gap:9px}
  .newsletter-form input,.newsletter-form button{height:54px;min-height:54px}
  .social-grid{gap:12px}
  .social-card{min-height:123px;padding:14px;font-size:13px}
  .footer-wrap{width:calc(100% - 34px);margin-top:63px}
  .footer-logo{width:90px;height:90px}
  .footer-links{gap:11px 17px}
}
@media (max-width:380px){
  .intro{padding-left:13px;padding-right:13px}
  .brand-name{font-size:16px}
  .top-actions .primary-btn{padding:0 11px;font-size:11px}
  .newsletter-form{grid-template-columns:1fr}
  .newsletter-form button{width:100%}
  .social-grid{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .primary-btn,.banner-btn,.social-card{transition:none}
}

/* Account buttons centered in the hero, alongside preserved header buttons. */
.middle-actions{
  grid-area:mid;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin:30px auto 0;
}
.middle-actions .primary-btn{
  min-width:158px;
  min-height:51px;
  padding:0 28px;
  font-size:15px;
}
.middle-actions .primary-btn:last-child{
  background:#fff;
  color:#93242d;
  box-shadow:0 6px 19px rgba(21,4,8,.10);
}
@media(max-width:720px){
  .middle-actions{gap:11px;margin-top:27px}
  .middle-actions .primary-btn{min-width:130px;min-height:47px;padding:0 18px;font-size:14px}
}
@media(max-width:380px){
  .middle-actions .primary-btn{min-width:120px;padding:0 14px}
}


/* Daily gift-code panel, matching the existing burgundy / cream visual system. */
.gift-code-section{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;
  gap:clamp(22px,4vw,60px);margin-top:56px;padding:clamp(29px,4vw,50px);
  border:1px solid #f0ddd9;border-radius:27px;
  background:linear-gradient(117deg,#fff9f1,#fff5ee);
  box-shadow:var(--soft-shadow);
}
.gift-eyebrow{display:inline-flex;align-items:center;color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.11em;line-height:1.4}
.gift-code-copy h2{margin:12px 0 17px;color:var(--ink);font-size:clamp(27px,3.2vw,39px);line-height:1.17;letter-spacing:-.036em;font-weight:800}
.gift-code-copy p{margin:0;color:var(--body);font-size:17px;line-height:1.74;font-weight:500}
.gift-code-copy .gift-terms{margin-top:17px;font-size:14px;color:#697181}
.gift-code-panel{padding:clamp(21px,3vw,32px);background:#fff;border:1px solid #f2e0d9;border-radius:22px;min-width:0}
.gift-status-label{display:flex;align-items:center;gap:10px;color:var(--brand);font-size:13px;letter-spacing:.02em;font-weight:800}
.gift-status-dot{width:9px;height:9px;border-radius:50%;background:#e89b54;box-shadow:0 0 0 4px #fff1e2}
.gift-availability{margin:17px 0 0;font-size:20px;line-height:1.43;color:var(--ink);font-weight:800;letter-spacing:-.022em}
.gift-code-result{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}
.gift-code-result[hidden]{display:none!important}
.gift-code-value{min-width:0;max-width:100%;padding:12px 16px;border-radius:12px;background:#f9f3eb;border:1px dashed #cb9d83;font-size:20px;font-weight:800;letter-spacing:.07em;overflow-wrap:anywhere}
.gift-copy-btn{border:0;border-radius:12px;background:var(--brand);color:white;padding:13px 17px;font-weight:800;font-size:13px;cursor:pointer}
.gift-copy-btn:hover{background:var(--brand-deep)}
.gift-code-date{margin:12px 0 0;font-size:12px;color:#6f7984;line-height:1.6}
.gift-code-disclaimer{margin:19px 0 0;padding-top:16px;border-top:1px solid #efe7e3;color:#748090;font-size:12px;line-height:1.65}
.membership-note{font-size:13px!important;margin:14px 0 0!important;color:#7a6870!important}
.lower-summary{color:rgba(255,255,255,.84);line-height:1.68;font-size:16px;max-width:470px;margin:0 0 23px}
.update-action-wrap{display:flex;flex-wrap:wrap}
.updates-btn{display:inline-flex;justify-content:center;align-items:center;background:#f0a045;color:#31171a;border-radius:12px;min-height:54px;padding:0 25px;font-size:14px;font-weight:800;transition:background .18s ease}
.updates-btn:hover{background:#ffb85e}
@media(max-width:720px){
 .gift-code-section{grid-template-columns:1fr;gap:23px;margin-top:37px;padding:28px 22px;border-radius:22px}
 .gift-code-copy h2{font-size:29px}
 .gift-code-copy p{font-size:15px}
 .gift-code-panel{padding:24px 20px}
 .gift-availability{font-size:19px}
 .lower-summary{font-size:15px}
}
