/* Photograph-led covers; deliberately isolated from theme and account screens. */
.mg-sofra.sf-identity {
  container-type: inline-size;
  container-name: sofra-cover;
  max-width: 1160px;
  width: 100%;
  padding: 0 0 clamp(34px, 5vw, 64px);
}
.mg-sofra.sf-identity .sf-cover-hero {
  min-height: 560px;
  border: 1px solid rgba(7, 26, 37, .14);
  border-radius: 10px 10px 34px 10px;
  background: var(--sg-surface-3, #071a25);
  box-shadow: var(--sg-depth-feature);
}
.mg-sofra.sf-identity .sf-cover-hero::after {
  background: linear-gradient(90deg, #071a25 0%, rgba(7, 26, 37, .97) 29%, rgba(7, 26, 37, .87) 48%, rgba(7, 26, 37, .3) 77%, rgba(7, 26, 37, .08) 100%);
}
.mg-sofra.sf-identity .sf-cover-hero .sf-hero-image {
  opacity: 1;
  object-fit: cover;
  object-position: 50% center;
}
.mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy {
  max-width: 790px;
  padding: clamp(38px, 5.6cqi, 68px) clamp(24px, 5cqi, 60px);
}
.mg-sofra.sf-identity .sf-cover-hero .sf-eyebrow {
  max-width: 52ch;
  margin: 0 0 22px;
  color: #c6e1d2;
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: .13em;
}
.mg-sofra.sf-identity .sf-cover-hero h1 {
  max-width: 16.5ch;
  margin: 0;
  color: #fffefb;
  font-size: clamp(38px, 6cqi, 70px);
  font-weight: 600;
  line-height: 1.055;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.mg-sofra.sf-identity .sf-cover-hero h1 span { color: #89d86d; }
.mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy > .sf-hero-lead {
  max-width: 39ch;
  margin: 24px 0 0;
  color: #edf4f2;
  font-size: clamp(17px, 1.7cqi, 20px);
  font-weight: 500;
  line-height: 1.65;
}
.mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy > .sf-cover-account-note {
  max-width: 49ch;
  margin: 15px 0 0;
  color: #cadbdc;
  font-size: 14px;
  line-height: 1.6;
}
.mg-sofra.sf-identity .sf-hero-copy .sf-motto { color: #eef6ec; }
.mg-sofra.sf-identity .sf-cover-hero .sf-actions { margin: 25px 0 0; gap: 10px 23px; }
.mg-sofra.sf-identity .sf-cover-hero .sf-button {
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid #6abd45;
  border-radius: 30px;
  background: #6abd45;
  color: #071a25;
  box-shadow: var(--sg-depth-interactive);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--sg-motion-fast) var(--sg-ease), background var(--sg-motion-fast);
}
.mg-sofra.sf-identity .sf-cover-hero .sf-button:hover {
  transform: translateY(-2px);
  background: #8cd56e;
  border-color: #8cd56e;
  color: #071a25;
}
.mg-sofra.sf-identity .sf-cover-hero .sf-button:active { transform: translateY(0); }
.mg-sofra.sf-identity .sf-cover-hero .sf-hero-link { color: #fffefb; text-underline-offset: 5px; }
.mg-sofra.sf-identity .sf-cover-hero :focus-visible { outline: 3px solid #e6f2db; outline-offset: 5px; }
.mg-sofra.sf-identity .sf-ed-body { max-width: 1100px; padding-inline: clamp(18px, 3.8cqi, 44px); }
.mg-sofra.sf-identity .sf-cover-thought { gap: 22px; padding: 32px 0; border-color: var(--sg-border, #d5e0e5); }
.mg-sofra.sf-identity .sf-cover-seed { flex: 0 0 58px; display: grid; place-items: center; width: 58px; height: 58px; }
.mg-sofra.sf-identity .sf-cover-seed svg { width: 52px; height: 52px; fill: none; stroke: #215342; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mg-sofra.sf-identity .sf-cover-thought p { margin: 0; color: #071a25; font-size: clamp(20px, 2.4cqi, 27px); line-height: 1.35; }
.mg-sofra.sf-identity .sf-cover-thought a { color: #215342; }
.mg-sofra.sf-identity .sf-ed-section { margin: clamp(40px, 5.6cqi, 66px) 0; }
.mg-sofra.sf-identity .sf-ed-section .sf-eyebrow,
.mg-sofra.sf-identity .sf-ed-feature .sf-eyebrow,
.mg-sofra.sf-identity .sf-gate-choices .sf-eyebrow,
.mg-sofra.sf-identity .sf-cover-shopping .sf-eyebrow { margin: 0 0 12px; color: #215342; }
.mg-sofra.sf-identity .sf-ed-section h2,
.mg-sofra.sf-identity .sf-ed-feature h2,
.mg-sofra.sf-identity .sf-gate-choices h2 { margin: 0; color: #071a25; font-size: clamp(28px, 3.7cqi, 43px); line-height: 1.14; }
.mg-sofra.sf-identity .sf-ed-copy { margin: 15px 0 0; max-width: 60ch; color: #52636b; }
.mg-sofra.sf-identity .sf-ed-steps { position: relative; margin: 28px 0 0; gap: 0 36px; padding: 0; list-style: none; }
.mg-sofra.sf-identity .sf-ed-steps > li { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 16px; padding: 24px 0; border: 0; border-bottom: 1px solid #d5e0e5; list-style: none; }
.mg-sofra.sf-identity .sf-ed-steps > li::marker { content: ''; }
.mg-sofra.sf-identity .sf-ed-steps > li::before { content: none; }
.mg-sofra.sf-identity .sf-cover-step-index { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #bfd1c7; border-radius: 50%; background: #eff5ec; color: #215342; font-size: 12px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.mg-sofra.sf-identity .sf-cover-step-copy { min-width: 0; }
.mg-sofra.sf-identity .sf-ed-steps h3 { display: flex; align-items: center; min-height: 58px; padding-right: 92px; margin: 0; color: #071a25; font-size: 19px; line-height: 1.35; }
.mg-sofra.sf-identity .sf-ed-steps p { margin: 9px 0 0; color: #52636b; font-size: 15px; line-height: 1.65; }
.mg-sofra.sf-identity .sf-cover-step-art { position: absolute; top: 20px; right: 0; display: block; width: 82px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.mg-sofra.sf-identity .sf-ed-note { padding: 22px 25px; background: #eaf3f9; border-color: #d9e5e9; border-radius: 4px 16px 16px 4px; box-shadow: var(--sg-depth-surface); }
.mg-sofra.sf-identity .sf-ed-note p { margin: 0; color: #304c58; line-height: 1.7; }
.mg-sofra.sf-identity .sf-ed-note a { color: #215342; }
.mg-sofra.sf-identity .sf-cover-shopping { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 36px; margin: 0 0 58px; padding: clamp(25px, 4cqi, 44px); border-radius: 24px 4px 24px 4px; background: #eff5e9; border: 1px solid #d8e5cf; }
.mg-sofra.sf-identity .sf-cover-shopping h2 { margin: 0; font-size: clamp(29px, 3.8cqi, 43px); line-height: 1.15; color: #071a25; }
.mg-sofra.sf-identity .sf-cover-shopping h2 span { color: #215342; }
.mg-sofra.sf-identity .sf-cover-shopping p:not(.sf-eyebrow) { max-width: 41ch; margin: 15px 0 0; color: #415b4d; font-size: 15px; line-height: 1.65; }
.mg-sofra.sf-identity .sf-cover-shopping > a { color: #215342; }
.mg-sofra.sf-identity .sf-ed-feature { padding: 0; border: 0; border-radius: 0; gap: 34px; }
.mg-sofra.sf-identity .sf-ed-cover { border-radius: 8px 24px 8px 8px; box-shadow: var(--sg-depth-interactive); }
.mg-sofra.sf-identity .sf-ed-feature .sf-ed-secondary { color: #215342; }
.mg-sofra.sf-identity .sf-ed-articles a { color: #215342; }
.mg-sofra.sf-identity .sf-ed-footer { margin: 45px 0 0; padding: clamp(26px, 4cqi, 44px); background: #071a25; border: 0; border-radius: 24px 4px 24px 4px; box-shadow: var(--sg-depth-feature); }
.mg-sofra.sf-identity .sf-ed-footer > p { color: #fffefb; font-size: clamp(25px, 3.2cqi, 36px); line-height: 1.3; letter-spacing: -.035em; }
.mg-sofra.sf-identity .sf-ed-footer .sf-ed-actions { margin: 24px 0 0; gap: 12px 24px; }
.mg-sofra.sf-identity .sf-ed-footer .sf-button { background: #6abd45; border-color: #6abd45; color: #071a25; }
.mg-sofra.sf-identity .sf-ed-footer .sf-button:hover { background: #8cd56e; border-color: #8cd56e; }
.mg-sofra.sf-identity .sf-ed-footer .sf-ed-secondary { color: #e0eedf; }
.mg-sofra.sf-identity .sf-ed-footer :focus-visible { outline-color: #e6f2db; }
.mg-sofra.sf-identity .sf-gate-choices { padding-top: 42px; }
.mg-sofra.sf-identity .sf-gate-choices ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 14px; margin: 25px 0 0; }
.mg-sofra.sf-identity .sf-gate-choices a { padding: 23px; min-height: 142px; border-color: #d7e1de; background: #fffefb; box-shadow: var(--sg-depth-surface); border-radius: 6px 20px 6px 6px; transition: transform var(--sg-motion-fast) var(--sg-ease), box-shadow var(--sg-motion-fast); }
.mg-sofra.sf-identity .sf-gate-choices a:hover,
.mg-sofra.sf-identity .sf-gate-choices a:focus-visible { transform: translateY(-2px); background: #f2f7ed; border-color: #a8c295; box-shadow: var(--sg-depth-interactive); }
.mg-sofra.sf-identity .sf-gate-choices strong { color: #071a25; }
.mg-sofra.sf-identity .sf-gate-choices a > span { color: #52636b; }
.mg-sofra.sf-identity .sf-gate-privacy { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #d5e0e5; color: #52636b; }
.mg-sofra.sf-identity .sf-gate-privacy a { color: #215342; display: inline-flex; align-items: center; min-height: 44px; }
@container sofra-cover (max-width: 780px) {
  .mg-sofra.sf-identity .sf-cover-hero { min-height: 0; }
  .mg-sofra.sf-identity .sf-cover-hero::after { background: linear-gradient(90deg, #071a25 0%, rgba(7, 26, 37, .96) 29%, rgba(7, 26, 37, .79) 63%, rgba(7, 26, 37, .35) 100%); }
  .mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy { padding: 38px 28px 44px; }
  .mg-sofra.sf-identity .sf-cover-hero h1 { font-size: clamp(36px, 7cqi, 54px); }
  .mg-sofra.sf-identity .sf-ed-steps { grid-template-columns: minmax(0, 1fr); }
  .mg-sofra.sf-identity .sf-ed-steps::before { content: ''; position: absolute; top: 42px; bottom: 42px; left: 17px; width: 1px; background: #c7d8ce; pointer-events: none; }
  .mg-sofra.sf-identity .sf-ed-steps > li { border-bottom: 0; }
  .mg-sofra.sf-identity .sf-ed-feature { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .mg-sofra.sf-identity .sf-gate-choices ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mg-sofra.sf-identity .sf-gate-choices a { min-height: 0; padding: 21px; gap: 7px; }
}
@container sofra-cover (max-width: 480px) {
  .mg-sofra.sf-identity .sf-cover-hero { border-radius: 5px 5px 24px 5px; }
  .mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy { padding: 30px 22px 106px; }
  .mg-sofra.sf-identity .sf-cover-hero .sf-hero-image { object-position: 53% center; }
  .mg-sofra.sf-identity .sf-cover-hero::after { background: linear-gradient(180deg, #071a25 0%, rgba(7, 26, 37, .98) 38%, rgba(7, 26, 37, .87) 52%, rgba(7, 26, 37, .66) 66%, rgba(7, 26, 37, .35) 82%, rgba(7, 26, 37, .08) 100%); }
  .mg-sofra.sf-identity .sf-cover-hero .sf-eyebrow { margin-bottom: 18px; font-size: 9px; }
  .mg-sofra.sf-identity .sf-cover-hero h1 { font-size: clamp(34px, 9.3cqi, 43px); }
  .mg-sofra.sf-identity .sf-cover-hero .sf-hero-copy > .sf-hero-lead { margin-top: 20px; font-size: 17px; line-height: 1.6; }
  .mg-sofra.sf-identity .sf-cover-hero .sf-actions { margin-top: 22px; gap: 5px 18px; }
  .mg-sofra.sf-identity .sf-cover-hero .sf-button { padding-inline: 21px; }
  .mg-sofra.sf-identity .sf-cover-thought { align-items: center; gap: 12px; padding: 25px 0; }
  .mg-sofra.sf-identity .sf-cover-seed { flex-basis: 45px; width: 45px; height: 45px; }
  .mg-sofra.sf-identity .sf-cover-seed svg { width: 43px; height: 43px; }
  .mg-sofra.sf-identity .sf-cover-thought p { font-size: 20px; }
  .mg-sofra.sf-identity .sf-cover-thought a { margin-left: 57px; }
  .mg-sofra.sf-identity .sf-ed-steps > li { padding-block: 18px; gap: 13px; }
  .mg-sofra.sf-identity .sf-ed-steps h3 { min-height: 44px; padding-right: 66px; font-size: 18px; }
  .mg-sofra.sf-identity .sf-ed-steps p { font-size: 14px; margin-top: 8px; }
  .mg-sofra.sf-identity .sf-cover-step-art { top: 16px; width: 60px; }
  .mg-sofra.sf-identity .sf-ed-note { padding: 20px; }
  .mg-sofra.sf-identity .sf-cover-shopping { padding: 25px; margin-bottom: 42px; }
  .mg-sofra.sf-identity .sf-gate-choices { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-sofra.sf-identity .sf-cover-hero .sf-button,
  .mg-sofra.sf-identity .sf-cover-hero .sf-button:hover,
  .mg-sofra.sf-identity .sf-cover-hero .sf-button:active,
  .mg-sofra.sf-identity .sf-gate-choices a,
  .mg-sofra.sf-identity .sf-gate-choices a:hover,
  .mg-sofra.sf-identity .sf-gate-choices a:focus-visible { transition: none; transform: none; }
}
