:root {
  --teal: #009cb2;
  --teal-dark: #008aa0;
  --text: #55545a;
  --muted: #8a8a8f;
  --line: #e5e8eb;
  --soft: #eefbfd;
  --violet: #31248f;
  --pink: #cc58b9;
  --blue: #44c7e6;
  --shadow: 0 12px 24px rgba(0, 156, 178, 0.22);
  font-family: "Montserrat", "Aptos", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.topbar {
  min-height: 88px;
  padding: 14px 24px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f1f1;
}

.menu-button {
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 8px;
  align-content: center;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 4px;
  width: 38px;
  border-radius: 8px;
  background: var(--teal);
}

.identity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.identity p,
.identity strong {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #7a7a80;
  font-weight: 500;
}

.identity strong {
  font-weight: 600;
}

.avatar {
  display: block;
  object-fit: cover;
  background: #e8edf0;
}

.avatar.small {
  width: 58px;
  height: 72px;
}

.avatar.large {
  width: 164px;
  height: 216px;
  margin: 48px auto 44px;
}

.chevron {
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(45deg) translateY(-4px);
}

.tabs {
  height: 150px;
  background: #fafafa;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-decoration: none;
  color: #77787d;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.tab.active {
  color: var(--teal);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--teal);
}

.tab-icon {
  width: 52px;
  height: 52px;
  display: block;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.person-icon,
.help-icon {
  border-radius: 50%;
  position: relative;
}

.person-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: absolute;
  top: 9px;
  left: 15px;
}

.person-icon::after {
  content: "";
  width: 22px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  position: absolute;
  top: 24px;
  left: 9px;
}

.laptop-icon {
  border-radius: 2px;
  border-width: 3px 3px 7px;
  position: relative;
}

.laptop-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  position: absolute;
  top: 9px;
  left: 11px;
}

.laptop-icon::after {
  content: "";
  width: 58px;
  height: 5px;
  border: 3px solid currentColor;
  border-top: 0;
  position: absolute;
  left: -9px;
  bottom: -13px;
}

.help-icon::before {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.laptop-tab-icon {
  width: 58px;
}

main {
  max-width: 540px;
  margin: 0 auto;
  background: white;
}

.panel {
  display: none;
}

.panel.active-panel {
  display: block;
}

.profile-card {
  position: relative;
  padding: 1px 24px 56px;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.info-item {
  min-height: 142px;
  padding: 12px 6px 26px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.info-item h2,
.address h2 {
  margin: 16px 0 0;
  color: #73737a;
  font-size: 20px;
  line-height: 1.45;
}

.info-item p {
  margin: 6px 0 0;
  font-size: 18px;
}

.round-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--teal);
  position: relative;
}

.round-icon::before {
  font-size: 26px;
  font-weight: 400;
}

.round-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.id-icon::before {
  content: "▣";
}

.cake-icon::before {
  content: "♙";
}

.mail-icon::before {
  content: "✉";
}

.phone-icon::before {
  content: "☎";
}

.pin-icon::before {
  content: "⌖";
}

.address {
  padding: 44px 0 6px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.floating-button {
  position: absolute;
  right: 40px;
  bottom: -34px;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 58px;
  line-height: 1;
  font-weight: 300;
  box-shadow: var(--shadow);
}

.message-section,
.question-section {
  padding: 70px 24px 56px;
  text-align: center;
}

.message-section h2,
.question-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #3f3f45;
}

.message-section p,
.question-section p {
  margin: 0 auto 34px;
  max-width: 430px;
  color: #77777c;
  font-size: 20px;
  line-height: 1.45;
}

.primary-button {
  display: inline-grid;
  min-width: 240px;
  min-height: 58px;
  place-items: center;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--teal);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 800;
}

.action-list {
  padding: 34px 24px 42px;
  display: grid;
  gap: 54px;
}

.action-card {
  text-align: center;
}

.real-illustration {
  display: block;
  width: min(224px, 70vw);
  height: 154px;
  object-fit: contain;
  margin: 0 auto;
}

.action-card h2 {
  margin: 18px 0 18px;
  font-size: 22px;
  color: #55545a;
}

.illustration {
  width: 210px;
  height: 150px;
  margin: 0 auto;
  position: relative;
}

.illustration::before,
.illustration::after {
  content: "";
  position: absolute;
}

.desk::before,
.security::before {
  width: 150px;
  height: 12px;
  background: #6a58d3;
  left: 30px;
  bottom: 46px;
  border-radius: 10px;
  box-shadow: 0 36px 0 -4px #d98acb;
}

.desk::after,
.security::after {
  width: 48px;
  height: 82px;
  background: linear-gradient(var(--blue) 0 42%, var(--violet) 42%);
  border-radius: 28px 28px 8px 8px;
  left: 104px;
  top: 24px;
  transform: skewX(-10deg);
}

.chart::before,
.data::before {
  width: 150px;
  height: 95px;
  background:
    linear-gradient(var(--teal), var(--teal)) top / 100% 12px no-repeat,
    linear-gradient(90deg, #d8f4f7 20%, transparent 20% 28%, #d8f4f7 28% 50%, transparent 50% 58%, #d8f4f7 58%) center / 120px 48px no-repeat,
    white;
  border: 4px solid #d8f4f7;
  left: 28px;
  top: 22px;
  box-shadow: 20px 20px 0 rgba(49, 36, 143, 0.1);
}

.chart::after,
.data::after {
  width: 42px;
  height: 78px;
  background: var(--pink);
  border-radius: 24px 24px 6px 6px;
  right: 26px;
  bottom: 16px;
}

.phone::before {
  width: 70px;
  height: 116px;
  border-radius: 10px;
  background:
    linear-gradient(#6959d4 0 18px, transparent 18px),
    linear-gradient(white, white);
  border: 4px solid #d9edf2;
  left: 70px;
  top: 12px;
}

.phone::after {
  width: 48px;
  height: 74px;
  border-radius: 24px 24px 6px 6px;
  background: var(--teal);
  left: 20px;
  bottom: 18px;
  box-shadow: 128px 12px 0 -4px var(--violet);
}

.download::before {
  width: 150px;
  height: 96px;
  background:
    linear-gradient(var(--teal), var(--teal)) top / 100% 18px no-repeat,
    linear-gradient(90deg, #d8f4f7 44%, transparent 44%) center / 112px 48px no-repeat,
    white;
  left: 34px;
  top: 18px;
  border: 4px solid #d8f4f7;
}

.download::after {
  width: 52px;
  height: 82px;
  border-radius: 26px 26px 8px 8px;
  background: var(--blue);
  left: 24px;
  top: 58px;
  box-shadow: inset 0 44px 0 var(--violet);
}

.faq-hero {
  padding: 48px 24px 16px;
  text-align: center;
}

.help-illustration {
  display: block;
  width: min(340px, 88vw);
  height: auto;
  margin: 0 auto;
}

.faq-hero h1,
.question-section h2 {
  margin: 0 0 46px;
  color: var(--teal);
  font-size: 36px;
  line-height: 1.2;
}

.faq {
  width: 260px;
  height: 210px;
}

.faq::before {
  width: 180px;
  height: 120px;
  border-radius: 55% 45% 45% 55%;
  background: #e7f7fb;
  top: 22px;
  left: 42px;
}

.faq::after {
  width: 62px;
  height: 118px;
  border-radius: 32px 32px 8px 8px;
  background: linear-gradient(var(--pink) 0 50%, var(--violet) 50%);
  left: 46px;
  top: 70px;
  box-shadow: 116px 2px 0 -4px var(--violet), 132px 42px 0 -14px #45c8e6;
}

.faq-list {
  padding: 0 24px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  list-style: none;
  cursor: pointer;
  color: #55545a;
  font-size: 18px;
  line-height: 1.45;
  position: relative;
  padding-left: 32px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  left: 4px;
  top: 5px;
  transform: rotate(45deg);
}

details[open] summary::before {
  transform: rotate(225deg);
  top: 11px;
}

details p {
  margin: 12px 0 0 32px;
  font-weight: 600;
  color: #77777c;
  line-height: 1.5;
}

footer {
  max-width: 540px;
  margin: 0 auto;
  padding: 26px 24px 34px;
  background: var(--teal);
  display: grid;
  gap: 28px;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}

@media (min-width: 760px) {
  body {
    background: #ecf1f3;
  }

  .topbar,
  .tabs,
  main,
  footer {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .topbar {
    margin-top: 24px;
  }
}

@media (max-width: 410px) {
  .identity {
    min-width: 190px;
  }

  .identity p,
  .identity strong {
    font-size: 14px;
  }

  .avatar.small {
    width: 52px;
    height: 64px;
  }

  .info-item h2,
  .address h2,
  .message-section p,
  .question-section p {
    font-size: 17px;
  }

  .faq-hero h1,
  .question-section h2 {
    font-size: 32px;
  }
}

/* My Info polish */
.profile-card {
  padding: 1px 24px 74px;
}

.avatar.large {
  width: 176px;
  height: 226px;
  margin: 48px auto 76px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #dfe6e9;
  row-gap: 0;
}

.info-item {
  min-height: 188px;
  padding: 0 4px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.info-item:nth-child(1),
.info-item:nth-child(2) {
  border-bottom: 1px solid #dfe6e9;
}

.info-item:nth-child(3),
.info-item:nth-child(4) {
  padding-top: 56px;
}

.round-icon {
  width: 76px;
  height: 76px;
  background: #eefafd;
}

.round-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

.info-item h2,
.info-item p,
.address h2 {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #6f6f75;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.info-item h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.info-item p {
  margin-top: 0;
  font-size: 22px;
  line-height: 1.25;
}

.info-item:nth-child(3) h2,
.info-item:nth-child(4) h2 {
  font-size: clamp(16px, 4.4vw, 21px);
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.address {
  padding: 62px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.address h2 {
  max-width: 480px;
  margin-top: 34px;
  font-size: 24px;
  line-height: 1.55;
}

.floating-button {
  right: 44px;
  bottom: -38px;
  width: 76px;
  height: 76px;
  font-size: 62px;
}

@media (max-width: 410px) {
  .profile-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .avatar.large {
    width: 160px;
    height: 206px;
    margin-bottom: 64px;
  }

  .info-item {
    min-height: 174px;
  }

  .round-icon {
    width: 68px;
    height: 68px;
  }

  .round-icon svg {
    width: 32px;
    height: 32px;
  }

  .info-item h2 {
    font-size: 20px;
  }

  .info-item:nth-child(3) h2,
  .info-item:nth-child(4) h2 {
    font-size: clamp(12px, 3.55vw, 15px);
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
  }

  .info-item p {
    font-size: 19px;
  }

  .address h2 {
    font-size: 19px;
    line-height: 1.45;
  }
}

/* Final mobile fix: keep email and phone from breaking apart */
@media (max-width: 540px) {
  #my-info .info-grid {
    column-gap: 10px;
  }

  #my-info .info-item {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  #my-info .info-item:nth-child(3) h2,
  #my-info .info-item:nth-child(4) h2 {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 13px !important;
    line-height: 1.25;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-align: center;
  }
}

/* Privacy and security detail screens */
.detail-panel { background: #f7f7f7; padding-top: 28px; }
.back-button { display: inline-flex; align-items: center; min-height: 58px; margin: 0 20px 24px; background: #e8f8fb; color: var(--teal); text-decoration: none; font-size: 18px; font-weight: 800; }
.back-button span { display: grid; place-items: center; align-self: stretch; min-width: 62px; margin-right: 18px; background: #def3f7; font-size: 32px; font-weight: 400; }
.detail-hero { padding: 0 22px 48px; text-align: center; }
.detail-hero img { display: block; width: min(280px, 72vw); height: 230px; object-fit: contain; margin: 0 auto 16px; }
.detail-hero h1 { margin: 0 0 12px; color: var(--teal); font-size: clamp(31px, 7.5vw, 40px); line-height: 1.15; }
.detail-hero p { max-width: 480px; margin: 0 auto 24px; color: #77777c; font-size: 18px; line-height: 1.5; font-weight: 600; }
.detail-hero a, .detail-card strong, .contact-card label, .contact-card p strong { color: var(--teal); }
.compact-hero { padding-bottom: 20px; }
.compact-hero img { height: 210px; }
.detail-card { margin: 0 0 14px; padding: 42px 28px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.025); }
.detail-card h2 { margin: 0 0 30px; color: #44444a; font-size: 20px; }
.password-form { display: grid; }
.password-form label, .contact-card label { display: grid; gap: 8px; color: var(--teal); font-size: 16px; }
.password-form input, .contact-card input { width: 100%; min-height: 62px; padding: 0 16px; border: 2px solid #56aeb9; background: #fff; color: #55545a; font: inherit; font-size: 17px; font-weight: 600; }
.password-form .primary-button { border: 0; margin: 30px auto 22px; cursor: pointer; }
.text-button { border: 0; background: transparent; color: var(--teal); font: inherit; font-size: 18px; cursor: pointer; }
.filter-button { display: block; margin: -8px 0 0 auto; border: 0; background: transparent; color: var(--teal); font: inherit; font-size: 18px; }
.activity-list { background: #fff; }
.activity-list article { padding: 24px; border-bottom: 6px solid #f7f7f7; color: #7b7b80; font-size: 16px; line-height: 1.5; }
.activity-list article > div { display: flex; gap: 0; }
.activity-list article > div > * { padding: 0 16px; border-right: 1px solid #e3e3e3; }
.activity-list article > div > *:first-child { padding-left: 0; }
.activity-list article p { margin: 24px 0; }
.pager { display: grid; grid-template-columns: repeat(5, 48px) 1fr 48px; min-height: 68px; padding: 8px; background: #fff; align-items: stretch; }
.pager button { border: 1px solid #e4e8e9; background: #fff; color: var(--teal); font: inherit; }
.pager .current { font-size: 18px; }
.pager > span { display: grid; place-items: center; padding: 0 8px; text-align: center; font-size: 15px; }
.toggle-card { display: flex; align-items: center; justify-content: space-between; }
.toggle-card p { margin: 0; font-weight: 600; }
.switch { width: 52px; height: 28px; padding: 3px; border: 0; border-radius: 20px; background: #eee; cursor: pointer; }
.switch span { display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.switch.on { background: var(--teal); }
.switch.on span { margin-left: auto; }
.preferences-card { padding-top: 0; text-align: center; }
.preferences-card h2 { margin-bottom: 10px; }
.preferences-card > p { color: #77777c; font-weight: 600; line-height: 1.45; }
.preference { position: relative; width: 100%; min-height: 126px; margin: 18px 0 10px; border: 1px solid #ddd; background: #fff; color: #77777c; font: inherit; padding: 20px; display: grid; gap: 16px; }
.preference.selected { border: 3px solid var(--teal); color: var(--teal); }
.preference b { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 27px; }
.notice { display: flex; gap: 18px; margin-top: 36px !important; text-align: left; color: var(--teal) !important; }
.notice span { color: #77777c; }
.contact-card, .communication-card { text-align: center; }
.contact-card h2 { margin-bottom: 12px; }
.contact-card > p { margin: 0 0 48px; color: #88888d; line-height: 1.55; }
.contact-card label { text-align: left; }
.contact-card small { display: block; margin: 18px 0 24px; color: #8a8a8f; font-size: 15px; line-height: 1.5; }
.contact-card .primary-button { border: 0; margin: 0 auto; }
.phone-input { display: flex; }
.phone-input b { display: flex; align-items: center; flex: 0 0 110px; padding: 0 8px; border: 2px solid #56aeb9; border-right: 0; background: #fff; color: #666; }
.communication-card > p { color: #88888d; font-weight: 600; }
.communication-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; }
.communication-card > div button { min-height: 154px; border: 1px solid #ddd; background: #fff; color: #aaa; font: inherit; font-size: 38px; display: grid; place-items: center; }
.communication-card > div span { display: block; font-size: 15px; }
.communication-card > strong { display: block; margin: 24px auto 12px; max-width: 300px; color: #555 !important; }
.communication-card small { display: block; color: #88888d; font-size: 14px; line-height: 1.5; }
.access-table { background: #fff; }
.table-head { display: grid; grid-template-columns: 1fr 1fr; padding: 20px 46px; color: #77777c; }
.access-table article { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 66px; border-bottom: 6px solid #f7f7f7; position: relative; line-height: 1.45; overflow-wrap: anywhere; }
.access-table article > span { position: absolute; left: 22px; top: 62px; color: var(--teal); font-size: 24px; }
.access-table article a { grid-column: 1 / -1; color: var(--teal); }
.geo-section { padding: 70px 0 0; text-align: center; }
.geo-section h2 { margin: 0 0 12px; color: var(--teal); font-size: 31px; }
.geo-section p { margin: 0 auto 34px; padding: 0 30px; color: #88888d; line-height: 1.5; }
.geo-section > div { display: grid; grid-template-columns: 1fr 1fr; padding: 20px 50px; background: #fff; color: #77777c; }
.geo-section article { min-height: 86px; padding: 28px 70px; background: #fff; text-align: left; }
.download-card { padding-top: 48px; padding-bottom: 52px; text-align: center; }
.download-card p { max-width: 440px; margin: 0 auto 28px; color: #44444a; font-size: 21px; line-height: 1.45; }
.download-card .primary-button { border: 0; font-size: 20px; }

@media (max-width: 410px) {
  .detail-panel { padding-top: 22px; }
  .back-button { margin-left: 14px; }
  .detail-hero { padding-left: 14px; padding-right: 14px; }
  .detail-hero img { height: 190px; }
  .detail-hero p { font-size: 16px; }
  .detail-card { padding-left: 18px; padding-right: 18px; }
  .pager { grid-template-columns: repeat(5, 38px) 1fr 38px; }
  .access-table article { padding-left: 52px; padding-right: 30px; }
}

/* Left navigation drawer */
.side-menu-shade {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(255, 255, 255, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.side-menu-shade.open {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: min(80vw, 430px);
  min-height: 100vh;
  overflow-y: auto;
  background: var(--teal);
  color: white;
  transform: translateX(-102%);
  transition: transform 200ms ease;
  box-shadow: 10px 0 24px rgba(0, 0, 0, 0.08);
}

.side-menu.open { transform: translateX(0); }
.side-menu-open { overflow: hidden; }

.side-menu button,
.side-menu a {
  color: white;
  font: inherit;
  font-weight: 700;
}

.side-menu-language {
  height: 126px;
  padding: 34px 42px 18px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
}

.side-menu-language button {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: inherit;
  cursor: pointer;
}

.side-menu-home,
.side-menu-heading,
.side-menu-link,
.side-menu-contact {
  width: 100%;
  min-height: 76px;
  padding: 0 40px;
  border: 0;
  border-bottom: 1px solid rgba(0, 115, 135, 0.45);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  text-decoration: none;
  font-size: 19px;
  cursor: pointer;
}

.side-menu-heading {
  justify-content: space-between;
  font-weight: 800;
  cursor: pointer;
}

.side-menu-link { padding-left: 48px; }

.side-menu-link svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-menu-arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.privacy-menu-toggle[aria-expanded="true"] .side-menu-arrow {
  transform: rotate(225deg) translate(-2px, -2px);
}

.manage-menu-toggle[aria-expanded="true"] .side-menu-arrow {
  transform: rotate(225deg) translate(-2px, -2px);
}

.manage-menu-section {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  transition: max-height 240ms ease;
}

.manage-menu-section.open {
  max-height: 900px;
}

.side-menu-submenu {
  max-height: 0;
  overflow: hidden;
  background: transparent;
  transition: max-height 220ms ease;
}

.side-menu-submenu.open {
  max-height: 470px;
}

.side-menu-submenu button {
  width: 100%;
  min-height: 62px;
  border: 0;
  padding: 0 28px 0 102px;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.side-menu-submenu button:hover,
.side-menu-submenu button:focus-visible {
  background: rgba(0, 105, 125, 0.2);
}

.side-menu-contact {
  border-bottom: 0;
  min-height: 84px;
}

@media (max-width: 410px) {
  .side-menu { width: 80vw; }
  .side-menu-language { height: 116px; padding-right: 34px; }
  .side-menu-home, .side-menu-heading, .side-menu-link, .side-menu-contact {
    min-height: 70px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 17px;
  }
  .side-menu-link { padding-left: 36px; gap: 18px; }
  .side-menu-submenu button {
    min-height: 58px;
    padding-left: 78px;
    padding-right: 20px;
    font-size: 16px;
  }
}

/* Expandable personal details */
.extra-info {
  display: none;
  padding: 92px 24px 78px;
  background: #fff;
  text-align: center;
}

.extra-info.open {
  display: grid;
  gap: 42px;
}

.extra-info p {
  margin: 0;
  color: #929295;
  font-size: clamp(24px, 5.2vw, 31px);
  line-height: 1.25;
  font-weight: 500;
}

.extra-info strong {
  color: var(--teal);
  font-weight: 800;
}

/* Standalone legal pages */
.legal-page main {
  min-height: 475px;
  padding: 68px 22px 90px;
  background: #f7f7f7;
}

.legal-page .topbar {
  max-width: 540px;
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 48px;
  color: var(--teal);
  font-size: clamp(42px, 10vw, 58px);
  line-height: 1.08;
}

.legal-content h2 {
  margin: 34px 0 12px;
  color: #3f3f45;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: #45454a;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.legal-content a {
  color: var(--teal);
}

.legal-page footer {
  margin-top: 0;
}

@media (max-width: 410px) {
  .extra-info {
    padding-left: 14px;
    padding-right: 14px;
  }

  .extra-info p {
    font-size: 21px;
  }

  .legal-page main {
    padding: 58px 20px 76px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 17px;
  }
}

/* Login page */
.login-page { min-height: 100vh; margin: 0; background: #f5f6f7; color: #414146; }
.login-header { min-height: 176px; padding: 28px 34px 18px; background: #fff; display: flex; align-items: flex-end; justify-content: flex-end; border-bottom: 1px solid #f0f0f0; }
.login-brand { color: #66666b; font-family: Arial, sans-serif; font-size: 57px; font-weight: 300; letter-spacing: -4px; line-height: 1; }
.login-brand span { color: #d7403f; }
.login-shell { width: min(100%, 560px); margin: 0 auto; padding: 44px 39px 52px; background: #fff; border-radius: 0 0 5px 5px; }
.login-title-row { min-height: 74px; margin-bottom: 27px; border-bottom: 1px solid #777; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.login-shell h1 { margin: 0; color: var(--teal); font-size: 38px; line-height: 1.15; font-weight: 700; }
.login-language { margin: 6px 0 0; display: flex; align-items: center; gap: 9px; font-size: 23px; line-height: 1; }
.login-language span { color: #737378; font-weight: 700; }
.login-language b { width: 1px; height: 28px; background: #55545a; }
.login-language strong { color: var(--teal); }
.login-shell h2 { margin: 0 0 22px; font-size: 25px; line-height: 1.3; }
.login-shell sup { font-size: .65em; }
.login-form { display: grid; gap: 18px; }
.login-field { display: grid; gap: 9px; }
.login-field label { color: #414146; font-size: 20px; font-weight: 800; }
.login-field label a { color: var(--teal); font-weight: 500; text-decoration: none; }
.login-field input { width: 100%; min-height: 58px; border: 1px solid var(--teal); border-radius: 2px; padding: 0 15px; color: #44444a; background: #fff; font: inherit; font-size: 19px; font-weight: 600; outline: none; }
.login-field input::placeholder { color: #5d5d62; opacity: 1; }
.login-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 156, 178, 0.12); }
.login-submit { min-height: 60px; margin-top: 7px; border: 0; border-radius: 2px; background: var(--teal); color: #fff; box-shadow: var(--shadow); font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; }
.login-submit:hover, .login-submit:focus-visible { background: var(--teal-dark); }
.login-error { min-height: 0; margin: 0; color: #bd2f3b; font-size: 15px; font-weight: 700; text-align: center; }
.login-error:empty { display: none; }
.login-account-note { margin: 44px 0 28px; font-size: 17px; line-height: 1.45; }
.login-help { padding-top: 20px; border-top: 1px solid #777; display: grid; gap: 12px; }
.login-help a { color: var(--teal); font-size: 17px; font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
  .login-header { min-height: 176px; padding: 26px 16px 20px; }
  .login-brand { font-size: 52px; }
  .login-shell { padding: 43px 34px 48px; }
}

@media (max-width: 390px) {
  .login-shell { padding-left: 24px; padding-right: 24px; }
  .login-shell h1 { font-size: 34px; }
  .login-language { font-size: 20px; }
  .login-field label { font-size: 18px; }
}

/* Account dropdown */
.account-toggle {
  width: 38px;
  height: 38px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.account-toggle[aria-expanded="true"] .chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.account-menu {
  display: none;
  position: absolute;
  z-index: 50;
  top: 88px;
  left: 50%;
  width: min(516px, calc(100% - 8px));
  transform: translateX(-50%);
  max-width: 516px;
  margin: 12px 0;
  padding: 22px 28px;
  border-radius: 7px;
  background: var(--teal);
  box-shadow: 0 7px 20px rgba(0, 156, 178, 0.22);
}

.account-menu.open {
  display: grid;
  gap: 8px;
}

.account-menu-item {
  min-height: 72px;
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  text-decoration: underline;
}

@media (max-width: 540px) {
  .account-menu {
    max-width: none;
    width: calc(100% - 8px);
    height: 88px;
    max-height: 88px;
    margin: 6px 0;
    padding: 8px 24px;
    border-radius: 5px;
  }

  .account-menu.open {
    gap: 4px;
  }

  .account-menu-item {
    min-height: 32px;
    padding: 0;
    font-size: 16px;
  }
}

@media (max-width: 410px) {
  .account-menu {
    margin: 6px 0;
    padding: 8px 24px;
  }
}

@media (min-width: 760px) {
  .account-menu {
    top: 112px;
  }
}

@media (max-width: 540px) {
  .extra-info {
    padding: 62px 14px 64px;
  }

  .extra-info.open {
    gap: 18px;
  }

  .extra-info p {
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -0.15px;
  }

  .extra-info strong {
    font-weight: 800;
  }

  .extra-info span {
    font-weight: 500;
  }
}
